Skip to content

fix: use standard MCP config key "url" instead of "httpUrl"#15

Merged
John-Lin merged 1 commit intomasterfrom
fix/mcp-url-key
Apr 6, 2026
Merged

fix: use standard MCP config key "url" instead of "httpUrl"#15
John-Lin merged 1 commit intomasterfrom
fix/mcp-url-key

Conversation

@John-Lin
Copy link
Copy Markdown
Owner

@John-Lin John-Lin commented Apr 6, 2026

Summary

  • Replace non-standard httpUrl config key with url to align with MCP specification and Claude Desktop
  • Add tests for MCP server config parsing in from_dict

Test plan

  • All 107 existing tests pass
  • New tests cover url → StreamableHttp, command → Stdio, mixed configs

🤖 Generated with Claude Code

Align with the MCP specification (and Claude Desktop) which uses "url"
for streamable HTTP server configuration. The non-standard "httpUrl" key
caused servers configured with "url" to be incorrectly treated as stdio,
leading to startup failures.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@John-Lin John-Lin merged commit 9013595 into master Apr 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant