fix(setup): drop stale Qwen tcp endpoints and name rewritten entry keys

Qwen prefers a tcp websocket endpoint over command, so a command entry that
still has tcp stays remote. Setup now removes that key. The approval plan
names startup_timeout_sec and Copilot tools when setup replaces them.
This commit is contained in:
Cursor Agent
2026-10-12 21:35:28 -04:00
committed by xeropresence
parent 0cd9f47ff1
commit 53ba7e7b31
5 changed files with 111 additions and 33 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ Other fields you added to that entry, such as OMP's `timeout` or Codex's
`tool_timeout_sec`, are kept. Setup rewrites only the launch keys (`command`,
`args`, `type` or `transport`, and the environment map) and REA's
client-specific keys. It removes remote-server keys such as `url`, `headers`,
and `oauth_resource` that contradict the local command, and an entry-level
`oauth_resource`, and `tcp` that contradict the local command, and an entry-level
`enabled: false` or (outside Grok Build) `disabled: true`, so the registration
is active. An existing entry without a `command` is a remote server and is
replaced whole. A legacy OpenCode entry moved into the native `mcp.servers`