TMCP003 Initialize the MCP server¶
Once the server is running, the client needs to initialize it, specifying a protocol version and negotiating capabilities.
Is a test for
Automated in
Source
Source file: specs/mcp/test_02.yaml
Loaded from: speky_mcp
Initial state¶
The expected state is the final state of
TMCP001 Start the MCP server
Procedure¶
Step 1¶
The client sends an initialize request
{
"id": 1,
"jsonrpc": "2.0",
"method": "initialize",
"params": {
"protocolVersion": "2025-11-25",
"capabilities": {},
"clientInfo": {}
}
}
Step 2¶
The server answers with an appropriate response
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"protocolVersion": "2025-11-25",
"capabilities": {},
"serverInfo": {}
}
}
Step 3¶
The client notifies the initialization is complete
{
"jsonrpc": "2.0",
"method": "notifications/initialized"
}