MCP.so
Sign In

CrewAI MCP Adapter

@dshivendra

About CrewAI MCP Adapter

Overview

What is CrewAI MCP Adapter?

A Python library that extends CrewAI's adapter ecosystem with Model Context Protocol (MCP) integration support and comprehensive tooling for custom agent and tool development. It runs on Python 3.11+ and is aimed at developers building CrewAIโ€‘based agent systems.

How to use CrewAI MCP Adapter?

Install via pip install crewai-adapters or from source. Use CrewAIAdapterClient to connect to an MCP server (e.g., await client.connect_to_mcp_server("math", command="python", args=["math_server.py"])), retrieve tools via client.get_tools(), and assign them to CrewAI agents and tasks.

Key features of CrewAI MCP Adapter

  • Native CrewAI integration and adapter patterns
  • MCP protocol support for tool integration
  • Easy-to-use interface for extending and creating adapters
  • Type-safe implementation with Pydantic
  • JSON Schema validation for tool parameters
  • Async/await support with detailed execution metadata

Use cases of CrewAI MCP Adapter

  • Creating CrewAI agents that use external MCP-based tools
  • Extending CrewAI with custom adapters for different protocols
  • Performing calculations or data operations via MCP servers
  • Building type-safe agent toolchains with parameter validation

FAQ from CrewAI MCP Adapter

What is the difference between this and standard CrewAI tools?

This adapter enables integration with any MCPโ€‘compliant server, allowing you to use tools from outside the CrewAI ecosystem with full type safety and validation.

What Python version is required?

Python 3.11 or higher.

Does this support multiple MCP servers?

Yes, the client can connect to multiple MCP servers using the connect_to_mcp_server method.

What is the license?

MIT License.

Comments

More Agent Frameworks MCP clients