Skip to content

fix: fix mcp-config validation error#472

Open
KenKinCOM wants to merge 1 commit into
nashsu:mainfrom
KenKinCOM:fix/mcp-config-validation
Open

fix: fix mcp-config validation error#472
KenKinCOM wants to merge 1 commit into
nashsu:mainfrom
KenKinCOM:fix/mcp-config-validation

Conversation

@KenKinCOM

Copy link
Copy Markdown

Changed --mcp-config from {} to {"mcpServers":{}} to comply with newer Claude CLI versions that validate the mcpServers field presence.

This fixes the error: 'Invalid MCP configuration: mcpServers: Invalid input: expected record, received undefined'

Changed --mcp-config from {} to {"mcpServers":{}} to comply with newer Claude CLI versions that validate the mcpServers field presence.

This fixes the error: 'Invalid MCP configuration: mcpServers: Invalid input: expected record, received undefined'

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
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