The initialize method is the first request an AI client must send after connecting. It negotiates the protocol version and returns the server’s capabilities, name, and version.
MCP Endpoint
POST https://yoursite.com/mcp/{slug}Content-Type: application/json
Request
string
required
Must be "2.0".
integer | string
required
Arbitrary request identifier echoed back unchanged in the response.
string
required
Must be "initialize".
string
required
The MCP protocol version the client supports (e.g. "2024-11-05").
object
Client-declared capabilities object (e.g. roots, sampling). Can be empty {}.
string
Human-readable name of the connecting client (e.g. "claude-desktop").
string
Version string of the connecting client (e.g. "1.0.0").