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] MCPToolkitManager Integration #1819

Open
2 tasks done
keli-wen opened this issue Mar 12, 2025 · 0 comments
Open
2 tasks done

[Feature Request] MCPToolkitManager Integration #1819

keli-wen opened this issue Mar 12, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@keli-wen
Copy link
Collaborator

Required prerequisites

Motivation

The primary motivation behind introducing MCPToolkitManager is to offer a centralized configuration and connection management for handling multiple MCP toolkits.

In situations where an application needs to interact with several MCP servers or tools concurrently, managing each MCPToolkit individually can become cumbersome. The MCPToolkitManager abstracts this complexity, providing an easy-to-use interface to manage multiple toolkits and initiate connections to all of them in parallel.

This is particularly useful in environments where multiple external tools or servers are used simultaneously, enhancing the scalability and flexibility of the system.

Solution

The MCPToolkitManager class simplifies the management of multiple MCPToolkit instances. It will provide a simple interface to:

  • Initialize multiple toolkits.
  • Manage multiple toolkits concurrently.
  • Connect to several toolkits at the same time.
  • The connection() context manager ensures that all toolkits are connected simultaneously.
  • The get_all_tools() method aggregates tools from all connected toolkits, offering a unified list of tools for use.

Alternatives

No response

Additional context

No response

@keli-wen keli-wen added the enhancement New feature or request label Mar 12, 2025
@keli-wen keli-wen self-assigned this Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant