Skip to content

Conversation

JohnUiterwyk
Copy link
Contributor

@JohnUiterwyk JohnUiterwyk commented Mar 24, 2025

Adds header, timeout, and read_timeout to MCPServerHTTP and passes those to the mcp python sdk sse_client

@Kludex Kludex changed the title add headers, timeout, and sse_read_timeout to MCPServerHTTP Add headers, timeout, and sse_read_timeout to MCPServerHTTP Mar 26, 2025
@Kludex
Copy link
Member

Kludex commented Mar 26, 2025

I think we should document this, but for now it's okay. Thanks!

@Kludex Kludex enabled auto-merge (squash) March 26, 2025 13:43
@Kludex Kludex merged commit 8e980f4 into pydantic:main Mar 26, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pass custom headers to MCPServerHTTP to support auth use casess
2 participants