Developer Glossary

JSON-RPC 2.0

noun phraseDeveloper APIspreferred in this glossary

Remote procedure call protocol whose requests and responses are JSON objects. A request names a method, may carry parameters, and carries an identifier that ties it to its response; a notification omits the identifier and receives no response. MCP messages take the same shape.

Source: JSON-RPC 2.0 specification (opens in a new tab) (adapted)

Adapted: drops 'stateless, light-weight' and adds the request members, the notification rule and MCP's use of the format, all from the same specification and the MCP overview. Source: JSON-RPC 2.0 specification (opens in a new tab)

In plain language

Send a named method in JSON and match the reply by its identifier.

In a sentence

  • The JSON-RPC 2.0 client matched the tool result to its request id.
  • A JSON-RPC 2.0 notification carried no id, so the client waited for no reply.

Examples written for this glossary

Usage note

The format defines the message contract, not the tool's business meaning. A result and an error are alternative response forms.

See also

  • MCP

    MCP, the Model Context Protocol, is an open standard that lets AI agents call external tools and data through a JSON-RPC interface.

  • MCP tool

    Callable function exposed by an MCP server with a name, description, and input schema.

Cite this term.

CC BY 4.0, attribution required.

This term

Orbyt Labs, JSON-RPC 2.0 (Developer Glossary), Nov 6, 2026. https://www.orbytlabs.ai/developers/glossary/json-rpc-2-0

The dataset (JSON)

Orbyt Labs Glossaries (Nov 14, 2026), https://www.orbytlabs.ai/glossary#dataset

Last updated .