MCP explained: it is JSON-RPC 2.0 over HTTP
The article explains MCP[1] as JSON-RPC 2.0[2] sent over HTTP, with a fixed convention for method names, payload shapes and headers. A remote MCP server exposes a single endpoint, usually POST /mcp, and the requested action goes inside the JSON body instead of in separate REST URLs. Each request has four fields: jsonrpc, id, method and params. The author says that for most practical use only two methods matter: tools/list, which returns the server's tools with their names, descriptions and JSON Schema input schemas, and tools/call, which runs a tool by name with arguments.
The article walks through an order-support server with the tools get_order, search_customers and create_refund, showing the request and response for each call. Remote servers run over Streamable HTTP[3]. According to the author, the full specification also covers resources, prompts, OAuth-based auth, error codes, SSE[4] streaming and newer extensions.
To show that there is no hidden layer, the author sketches a minimal MCP endpoint in about thirty lines of Python with FastAPI. For production, the author advises against writing this by hand and suggests an official SDK or framework helper, which handles header checks, JSON Schema validation, SSE framing and auth.
Read the original lukasniessen.medium.comDiscussion
Sources
-
Medium
MCP Explained Simply: It’s Just JSON-RPC Over HTTP



