JSON-RPC (JSONRPC)

A simple, lightweight standard for calling functions on a remote server using JSON-formatted messages over any network connection.

Technically: Stateless remote procedure call protocol (v2.0) that encodes a method call as a JSON object with a method name, params (array or object), and correlation id, returning a result or a structured error. JSON-RPC 2.0 is the wire protocol underlying the Model Context Protocol: every tool call, resource read, and prompt request between a host and an MCP server is a JSON-RPC message.

Category: Protocols & Standards

Related ideas