Communication Protocol

The Communication Protocol in MCP defines the standard format and sequence for messages exchanged between clients and servers. It is strictly based on JSON-RPC 2.0.

Key Protocol Messages

Questions & Answers

On what standard is the MCP Communication Protocol based?

The MCP Communication Protocol is strictly based on the JSON-RPC 2.0 standard for message exchange between clients and servers.

What happens during the `Initialize` message exchange?

During initialization, the client and server negotiate their respective capabilities and agree on which protocol version to use for the session.

How does a client request the execution of a server-side function?

The client sends a Call Tool request to the server, specifying the tool's name and providing the necessary arguments as defined by the tool's schema.

Back to Glossary