mcp_server_tools with Streamable HTTP transport and the native Anthropic model client.
Prerequisites
- Python 3.11+
- A Civic account at nexus.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
Usemcp_server_tools to discover and load all Civic tools, then pass them to an AssistantAgent:
Use
mcp_server_tools(server_params) — not StreamableHttpMcpToolAdapter. The adapter requires a tool argument that is not available during initialization.Production Configuration
For production agents, lock to a specific toolkit using theprofile URL parameter:
Reference Implementation
autogen-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

