-
Notifications
You must be signed in to change notification settings - Fork 141
[Server][Client][Transport] SEP-2243: Emit Mcp-Method and Mcp-Name HTTP headers #353
Copy link
Copy link
Open
Labels
2026-07-28All issues and PRs related to the spec release 2026-07-28All issues and PRs related to the spec release 2026-07-28ClientIssues & PRs related to the Client componentIssues & PRs related to the Client componentServerIssues & PRs related to the Server componentIssues & PRs related to the Server componentenhancementRequest for a new feature that's not currently supportedRequest for a new feature that's not currently supportedimproves spec complianceImproves consistency with other SDKs such as TyepScriptImproves consistency with other SDKs such as TyepScript
Metadata
Metadata
Assignees
Labels
2026-07-28All issues and PRs related to the spec release 2026-07-28All issues and PRs related to the spec release 2026-07-28ClientIssues & PRs related to the Client componentIssues & PRs related to the Client componentServerIssues & PRs related to the Server componentIssues & PRs related to the Server componentenhancementRequest for a new feature that's not currently supportedRequest for a new feature that's not currently supportedimproves spec complianceImproves consistency with other SDKs such as TyepScriptImproves consistency with other SDKs such as TyepScript
Type
Fields
Give feedbackNo fields configured for issues without a type.
Implements SEP-2243 for the MCP Spec 2026-07-28 release.
Tracked by umbrella #336.
Spec summary
PHP SDK changes
src/Server/Transport/StreamableHttpTransport.php— set/echoMcp-Method/Mcp-Nameheaders on responses; read them on requests.src/Server/Transport/Http/Middleware/(e.g.McpMethodHeaderMiddleware.php).src/Client/Transport/HttpTransport.php— setMcp-MethodandMcp-Nameon outgoing client POSTs.Related