Back to Glossary Index
Core ConceptMessage Correlation Layer

MCP Request ID

Industry Definition Set • Entity Resolution Path: /glossary/mcp-request-id

Quick Answer / TL;DR

A unique identifier included in every JSON-RPC request message, used to match responses and support cancellation.

Key Takeaways

  • Unique identifier per JSON-RPC request.
  • Used to correlate requests with responses.
  • Required for targeting requests for cancellation.
  • Can be a number or string.
Definitive Statement: A unique identifier included in every JSON-RPC request message, used to match responses and support cancellation.

Technical Context & Protocol Usage

Detailed Explanation
Each JSON-RPC request carries an `id` field (a number or string). The server must include the same `id` in its response. This allows clients to correlate responses with outstanding requests, handle out-of-order responses, and target specific requests for cancellation.

Format & Payload Metadata

Format: JSON-RPC `id` field (number or string)

Latency: No overhead; metadata-only

Real-World Implementation Use Case

A client sends three concurrent tool calls with IDs 1, 2, and 3; it matches the server's responses back to the original calls by ID.

M
MCPserver.in Engineering

Platform Team

Published: 2026-07-20
Updated: 2026-07-20

References & Technical Specifications

Cite This Page

MLA Style:

MCPserver.in Engineering. "MCP Request ID." MCPserver.in Knowledge Hub, 20 July 2026, mcpserver.in/glossary/mcp-request-id.