Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add read_timeout_seconds to MCPServerStreamableHTTP #2222

Open
Assignees
DouweM
@AntSan813

Description

@AntSan813

Description

Hello, not sure if this is a bug or a feature request, but currently if I connect an MCP server to an Agent and connection to the MCP server is lost during an agent run, the agent will hang indefinitely. This may be because theMCP client is being initialized without passing in aread_timeout_seconds. According to themcp library, ifread_timeout_seconds is not defined, reading will never time out.

References

https://github.com/pydantic/pydantic-ai/blob/main/pydantic_ai_slim/pydantic_ai/mcp.py#L206C1-L211C18
https://github.com/modelcontextprotocol/python-sdk/blob/main/src/mcp/shared/session.py#L187-L188

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp