modelcontextprotocol / modelcontextprotocol/php-sdk

[Schema][SEP-1319] Decouple Request Payload from RPC Methods Definition

Open
#138 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Schema
Dominant language
PHP
Stars
1.6k
Forks
173
Avg merge
2d 49m
Merged PRs (30d)
23

Description

Issue to address and track SEP-1319:

This SEP proposes a structural refactoring of the Model Context Protocol (MCP) specification. The core change is to define payload of requests (e.g., CallToolRequest) as independent definitions and have the RPC method definitions refer to these models. This decouples the definition of the data payload from the definition of the remote procedure that transports it, leading to a clearer, more modular, and more maintainable specification.

Spec Changes: https://github.com/modelcontextprotocol/modelcontextprotocol/pull/1692/files

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with SEP-1319 and the linked specification changes, then trace the PHP SDK's request payload and RPC method definitions. Done means the payload definitions are independent and the RPC method definitions refer to them consistently across the SDK.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend-api-design
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.