camel icon indicating copy to clipboard operation
camel copied to clipboard

[Feature Request] Add a tool for searching MCP servers and do installation

Open lightaime opened this issue 9 months ago • 6 comments

Required prerequisites

  • [x] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
  • [ ] Consider asking first in a Discussion.

Motivation

MCP is becoming a standard. In the future, CAMEL agents should be able to search and install MCP servers to augment its ability. So we want to add a tool for searching MCP servers and do installation.

Solution

No response

Alternatives

No response

Additional context

No response

lightaime avatar Mar 27 '25 01:03 lightaime

So this will require

  • A MCPToolkit registry to keep track of local and web servers
  • It will test manage and config the serevers
  • calls and inits the server from the registry -
  • something like this - https://smithery.ai/docs/registry

Am I missing something @lightaime ?

parthshr370 avatar Mar 29 '25 12:03 parthshr370

Maybe we can create a collection of working MCP in advance and allow to search in the collection

lightaime avatar Mar 29 '25 16:03 lightaime

Ok so

  • A MCPToolkit Registry that holds and automatically indexes all the names of the current listed servers in CAMEL lib
  • A directory at /camel/camel/toolkits/mcp_servers that has pre built servers so that its just matter of import and calling
  • Something like this - https://github.com/camel-ai/camel/pull/1843 but this pr was earlier rejected
  • I can write the Registry class and a few sample servers if thats where we are headed

Need heads up from your side @lightaime

parthshr370 avatar Mar 30 '25 08:03 parthshr370

Thanks Parth. That sounds great!

lightaime avatar Mar 30 '25 10:03 lightaime

hey @parthshr370 , we will

  1. maintain a collection of working MCP by ourselves
  2. support user fetching MCP servers that outside this collection from third parties like https://smithery.ai/docs/registry

Wendong-Fan avatar Apr 02 '25 14:04 Wendong-Fan

@Wendong-Fan will it be pre built server inside camel to just import and use or just third party or a mix can you map and explain the requirements a bit ?

parthshr370 avatar Apr 08 '25 14:04 parthshr370

close this issue, done by @MuggleJinx in https://github.com/camel-ai/camel/blob/master/camel/agents/mcp_agent.py

Wendong-Fan avatar May 14 '25 13:05 Wendong-Fan