AI engineering glossary · Agents tools MCP

What is JSON-RPC?

JSON-RPC (also called JSON-RPC 2.0): A lightweight remote procedure call protocol that encodes requests and responses as JSON, with a method name, parameters and an id linking each reply to its request. MCP uses it as the message format between clients and servers.

Level: intermediateTopic: Agents tools MCP

JSON-RPC: an example

A request {"jsonrpc":"2.0","id":1,"method":"tools/list"} asks the server to list its tools.

Related terms

More Agents tools MCP terms

Where you learn it

JSON-RPC is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.