Ploba logo

Find the right AI tool for the job: apps, agents, APIs, MCP servers and datasets, explained plainly.

Get the AI Digest

Discover

  • Explore
  • Top Charts
  • Categories
  • Agents
  • MCP servers
  • Developer tools

Learn & community

  • Learn AI
  • AI Glossary
  • Blog
  • Hackathons
  • People
  • AI Digest

For makers

  • List your tool
  • Docs
  • Claim a listing
  • Advertise
  • Write for us

Company

  • About
  • Careers
  • Changelog
  • Trust
  • Security
  • Contact

© 2026 Ploba. All rights reserved.

  • Privacy
  • Terms
  • Cookies
  • Advertising
  • All policies
llms.txt
AI glossary
Protocols

JSON-RPC

Also called JSON Remote Procedure Call

A lightweight protocol for calling functions on another system by sending JSON messages. It is the message format used by the Model Context Protocol.

What is JSON-RPC?

JSON-RPC is a simple protocol for asking another program to run a function and send back the result. The request and response are small JSON messages, and the specification is short and independent of any transport such as HTTP or standard input and output.

How does it work?

A request names the method to run, includes its parameters and carries an ID. The reply carries the same ID with either a result or an error. A message with no ID is a notification, which needs no reply.

What is a simple example?

A client sends a request to call a method named "get_weather" with the city "Lagos" and gets back a result with the forecast, matched to the request by its ID.

Why does it matter?

The Model Context Protocol uses JSON-RPC 2.0 for its messages, so it underlies how AI apps talk to MCP servers. It is a common choice for APIs where a small, predictable format is enough.

Category
Protocols
Last reviewed
Nov 10, 2026
Also called
JSON Remote Procedure Call

Sources

  • JSON-RPC 2.0 Specification

Related terms

  • ProtocolsModel Context ProtocolAn open standard that enables AI models to securely and uniformly access external data sources.
  • DevelopmentApplication Programming InterfaceA set of rules that allows different software applications to communicate with each other.
  • AgentsTool CallingThe broader pattern in which an AI system autonomously selects and requests external software capabilities.
  • ProtocolsMCP ServerA program that offers tools, data or prompts to AI applications through the Model Context Protocol, so any compatible app can use them.