fix: auto-approve MCP server for Cursor CLI (#1028)

* fix: auto-approve MCP server for Cursor CLI

Cursor CLI requires interactive approval for enabling MCP server per directory. There is no direct cli flag to auto-approve in non-interactive mode.

* reslove symlinks
This commit is contained in:
Solomon
2025-10-17 15:46:54 +01:00
committed by GitHub
parent 749a826f2e
commit dfa8694d0d
4 changed files with 180 additions and 1 deletions

View File

@@ -46,3 +46,4 @@ agent-client-protocol = "0.4"
codex-protocol = { git = "https://github.com/openai/codex.git", package = "codex-protocol", rev = "488ec061bf4d36916b8f477c700ea4fde4162a7a" }
codex-app-server-protocol = { git = "https://github.com/openai/codex.git", package = "codex-app-server-protocol", rev = "488ec061bf4d36916b8f477c700ea4fde4162a7a" }
codex-mcp-types = { git = "https://github.com/openai/codex.git", package = "mcp-types", rev = "488ec061bf4d36916b8f477c700ea4fde4162a7a" }
sha2 = "0.10"