MCPClient with HTTP transport. CrewAI’s MCP integration wraps discovered tools with MCPToolWrapper to make them usable by CrewAI agents.
Prerequisites
- Python 3.11+
- A Civic account at app.civic.com with a configured toolkit
- A Civic token and an Anthropic API key
Installation
Environment Variables
Get Your Credentials
How to generate a Civic token and configure toolkit URL parameters
Connecting to Civic
UseMCPClient with HTTPTransport to connect, then wrap the discovered tools with MCPToolWrapper:
MCPServerAdapter was removed in CrewAI v1.6.1. Use MCPClient + HTTPTransport + MCPToolWrapper as shown above.Running the Agent
Production Configuration
For production agents, lock to a specific toolkit using theprofile URL parameter:
Reference Implementation
crewai-reference-implementation-civic
Complete implementation with FastAPI chat UI and deployment guide
Next Steps
Agent Deployment
Production deployment guide: profile locking, URL params, authentication
Guardrails
Constrain what tools your agent can call
Audit Trail
Query what your agent did via Civic Chat
Get Credentials
Token generation and URL parameter reference

