Skip to content

Task: Remove JSON-RPC Batching Support #409

@ezynda3

Description

@ezynda3

Priority: High
Breaking Change: Yes

Description: The specification no longer supports JSON-RPC batching. This simplifies the protocol implementation.

Implementation Tasks:

  • Remove any batching support from JSON-RPC transport implementations
  • Update HTTP transport to handle single requests only
  • Remove batch-related types and interfaces
  • Update documentation to reflect single-request-only behavior
  • Verify that existing tools work without batching

Files to Update:

  • client/http.go
  • server/streamable_http.go
  • Any JSON-RPC handling code

Notes: While implementing Streamable HTTP transport, no compelling use cases for batching were found. The main use case (parallel tool calling) is better handled with horizontal scaling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: mcp specIssues related to MCP specification compliancepriority: mediumMedium priority, should be addressed soon

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions