Repository navigation
Feature Request: Expose encoding and sse_read_timeout in MCP config #3050
ramashishmaurya
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Describe the Feature Request
Currently, the Model Context Protocol (MCP) client configuration in AgentScope does not allow users to specify
encodingandsse_read_timeoutsettings. This limits flexibility when connecting to certain MCP servers that require specific encodings or custom timeout durations for Server-Sent Events (SSE).Proposed Solution
Expose
encodingandsse_read_timeoutparameters in the MCP configuration classes, passing them directly to the underlyingmcp_clientwhen initializing the connection.This enhancement will give users more robust connection options and prevent timeout/encoding issues with custom or slow MCP servers.
All reactions