Serverdex error reference · read 21 November 2026

MCP error -32600: Invalid request: what it means and how to fix it

MCP error -32600: Invalid request

A standard JSON-RPC code: the message was valid JSON but not a valid JSON-RPC request — wrong envelope, missing `jsonrpc: "2.0"`, a notification where a request was expected, or an HTTP body the server could not parse as MCP.

Shown by: all clients · JSON-RPC code -32600

Causes, most likely first — and the fix for each

  1. 1The client is talking to an endpoint that is not an MCP server (a plain REST API, a web page) or to the wrong path (`/` instead of `/mcp`).

    Fix: Use the exact endpoint URL from the server's page; the Serverdex live check reports `not_mcp` for URLs that answer but do not speak MCP.

  2. 2A proxy or gateway rewrites or batches the JSON-RPC body.

    Fix: Connect directly, or configure the proxy to pass the body through unchanged.

Still failing?

Work through the twelve general causes in order in MCP server not working: the causes, in order, check the exact config file path and shape for your client in the client setup guides, or generate a known-good config with the config generator.

Sources (read 21 November 2026)

Other MCP errors: MCP error -32000: Connection closed · MCP error -32001: Request timed out · MCP error -32601: Method not found · MCP error -32602: Invalid params · MCP error -32603: Internal error · HTTP 406 Not Acceptable from an MCP server · spawn npx ENOENT · spawn uvx ENOENT (and uv, docker) · Server transport closed unexpectedly · Client closed (Cursor) · No tools, prompts, or resources (Cursor) · Unexpected token … is not valid JSON · SSE error: Invalid content type, expected text/event-stream · Could not attach to MCP server (Claude Desktop) · Failed to reconnect to an MCP server (Claude Code) · MCP server needs authentication (401 Unauthorized) · MCP OAuth loop (infinite sign-in tabs) · Tools limited to 40 total (Cursor) · executable file not found in $PATH (Antigravity) · MODULE_NOT_FOUND / No module named mcp.server.fastmcp.