This guide walks you through turning your CAMEL AI agent into an MCP client, letting your agent easily use tools from multiple MCP servers.
This guide walks you through turning your CAMEL AI agent into an MCP client, letting your agent easily use tools from multiple MCP servers.
Step 1: Configure MCP Servers
Start by creating a config file that tells your CAMEL agent what MCP servers to connect to. You can define local or remote servers, each with a transport method.
You can use sse
or streamable-http
for ACI.dev, pick whichever is supported by your agent/server.
Step 2: Connect & Build the Agent
Use MCPToolkit
to connect to the servers and pass the tools to your CAMEL agent.
Step 3: Add More Tools & Debug
Once connected, you can extend your setup with other servers from ACI.dev, Composio, or npx
.
stdio
for local testing, sse
or streamable-http
for cloud tools.env
field in the config.npx @modelcontextprotocol/inspector
) if you run into issues.Try plugging in servers like GitHub, Notion, or ArXiv and see your CAMEL agent in action.
This diagram illustrates how CAMEL agents use MCPToolkit to seamlessly connect with MCP servers. Servers provide external tools from platforms like GitHub, Gmail, Notion, and more.
Finding MCP servers is now a breeze with PulseMCP integration.
You don’t have to guess which MCP servers are available, just search, browse, and connect.
PulseMCP acts as a living directory of the entire MCP ecosystem.
CAMEL toolkits can plug directly into PulseMCP, letting you browse and connect to thousands of servers, all kept up to date in real time.
You can visit PulseMCP.com to browse all available MCP servers—everything from file systems and search to specialized APIs.
If you prefer to search programmatically inside your CAMEL code, just use:
PulseMCP does the heavy lifting of finding, categorizing, and keeping MCP servers fresh—your agents just connect and go.
Don’t need advanced tool-calling?
See this example for a super-lightweight setup.
npx @modelcontextprotocol/inspector
) for debugging.Try setting up a config file for an MCP server (like GitHub or Notion) and see your CAMEL agent use the new tools right away!