Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

Fix MCP server editor round-trip lossiness

8 months ago

c3adce9
Authored
mweinbach2/21/2026, 6:06:11 AM
Preserve transport metadata that is not currently editable (HTTP/SSE headers and stdio env) when updating an existing server.

Improve stdio argument serialization/parsing to support quoted and escaped values so existing argv entries round-trip correctly through Edit -> Save.

Add regression tests for argv round-tripping and metadata preservation in the desktop MCP draft helpers.

Co-authored-by: Codex <noreply@openai.com>

Parentc88f7fb

3 files changed
  • apps/desktop/src/ui/settings/pages/McpServersPage.tsx+10−165
  • apps/desktop/src/ui/settings/pages/mcpServerDraft.ts+252−0
  • apps/desktop/test/mcp-server-draft.test.ts+61−0