What message format does MCP use?
BeginnerConceptMCP (Model Context Protocol)
Answer
MCP uses JSON-RPC 2.0 messages for requests, responses and notifications between client and server. During initialisation they exchange protocol versions and capabilities so each side knows what the other supports.
More on MCP (Model Context Protocol)
What is the Model Context Protocol (MCP)?BeginnerWhy was MCP needed?BeginnerWhat are the host, client and server in MCP?BeginnerWhat are the three main things an MCP server can expose?BeginnerWhat transports does MCP support?BeginnerWhen would you build a local stdio MCP server vs a remote HTTP one?Intermediate