MCP JSONRPC 32600 error code detailed explanation, including JSON format errors, request structure issues, and solutions.
JSON-RPC request format invalid.
cat config.json | jq
{
"mcpServers": {
"server-name": {
"command": "npx", // required
"args": [...] // required
}
}
}
It indicates an invalid JSON-RPC request format.
Common causes include JSON format errors, missing required fields, or wrong field types.
You can use the `jq` command (e.g., `cat config.json | jq`) or online JSON validators.
In `mcpServers` configuration, each server must include `command` and `args` fields.
It is recommended to use JSON validators and modify based on official examples.
人类专家验证
官方机器人验证