Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Remote MCP tools #350

Open
taha-yassine opened this issue Jan 24, 2025 · 0 comments
Open

[Feature Request] Remote MCP tools #350

taha-yassine opened this issue Jan 24, 2025 · 0 comments

Comments

@taha-yassine
Copy link

The MCP standard is protocol-agnostic and can be built upon any transport protocol. Currently, only local MCP tools are supported by providing an StdioServerParameters.In particular, SSE support comes ootb.

I think it would be great if we could have a higher level implementation of MCP tools to allow for more flexibility.

Currently the way I see it is we could make .from_mcp() accept an MCP client from the official Python SDK (or maybe just make it an abstract class if people want to use their custom implementation). Then the ToolCollection would handle tool discovery and calling through the client and provide the tools to the agent the standard way.

The only problem would maybe be the async nature of MCP tool calls, but that could be handled the same way MCPAdapt does it, or through proper support of async calls (#145).

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

No branches or pull requests

1 participant