Skip to content

[mcp] Add transport header suggestion#743

Closed
nickcoai wants to merge 1 commit into
modelcontextprotocol:mainfrom
nickcoai:headers
Closed

[mcp] Add transport header suggestion#743
nickcoai wants to merge 1 commit into
modelcontextprotocol:mainfrom
nickcoai:headers

Conversation

@nickcoai

Copy link
Copy Markdown
Contributor

Add suggested User-Agent, Server and X-Mcp-Method headers for StreamableHttp.

Motivation and Context

Currently request logging/routing for large providers relies on an ability to infer data without introspection of the body of HTTP request. Use some standard headers to permit standard existing tooling/routing to work unchanged.

How Has This Been Tested?

OpenAI MCP client uses the recommended User-Agent, other headers not tested.

Breaking Changes

No

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

@dsp-ant dsp-ant moved this to Consulting in Standards Track Jun 16, 2025
@dsp-ant dsp-ant requested a review from a team September 23, 2025 21:10
@domdomegg domdomegg requested a review from a team as a code owner November 25, 2025 19:37
@localden

Copy link
Copy Markdown
Contributor

@nickcoai curious where this lands with the work that @pja-ant @kurtisvg and @CaitieM20 are doing around transports.

@pja-ant

pja-ant commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

Yeah I think this is largely superseded by #2243

@localden localden closed this Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: Consulting

Development

Successfully merging this pull request may close these issues.

5 participants