Client Info

Client Info is a structure sent by the MCP host to the server during the initialize request. It identifies the application that is consuming the server's capabilities.

Data Fields

Initialization Snippet

{
  "method": "initialize",
  "params": {
    "protocolVersion": "2024-11-05",
    "capabilities": {...},
    "clientInfo": {
      "name": "MyAwesomeAssistant",
      "version": "1.2.3"
    }
  }
}

Purpose

Questions & Answers

What is the purpose of the Client Info structure in an MCP connection?

Client Info provides metadata about the AI application (the host) to the server during initialization. It allows the server to identify which application is consuming its services for logging, compatibility, and analytics purposes.

What data fields are typically included in the Client Info structure?

The structure typically includes the name of the client application (e.g., "Claude Desktop") and its current version number.

How can an MCP server use client version information?

Servers can use the version information to optimize their behavior, apply specific bug workarounds for certain client versions, or ensure protocol feature compatibility.

Back to Glossary