THE DEV BENCH
🧾 JSONmedium

1. Write the initialize request

Write the JSON-RPC `initialize` request a client sends first: • jsonrpc: "2.0" • id: 1 • method: "initialize" • params.protocolVersion: "2025-11-25" • params.capabilities: an object (may be empty) • params.clientInfo: name + version

How to approach this

`initialize` is the FIRST message of every MCP session. As JSON-RPC 2.0 it has `jsonrpc: "2.0"`, an `id`, and `method: "initialize"`. Its `params` carry the three things the handshake negotiates: the `protocolVersion` the client wants (a date string), the client's `capabilities` (roots/sampling/elicitation — an object, possibly empty), and `clientInfo` (name + version). The server replies with its own version + capabilities, then the client sends `notifications/initialized`.

config.json