<!-- description: A JSON-RPC 2.0 based protocol used for exchanging messages between MCP clients and servers. -->
# 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

- **Initialize**: The client and server negotiate capabilities and protocol versions.
- **List Tools**: The server provides a schema of all callable tools.
- **Call Tool**: The client requests the execution of a specific tool with defined arguments.
- **List Resources**: The server provides a list of available data objects.
- **Read Resource**: The client fetches the content of a specific resource.
- **Logging**: The server can stream real-time logs back to the client for debugging.

## 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.
