What is MCP?
Model Context Protocol (MCP) is Anthropic’s open protocol for connecting AI systems to external tools and data sources. With Cloudflare’s announcement of MCP support (November 2024), Conductor implements HTTP-only MCP for secure, scalable tool integration on the edge.Why MCP?
- Standardized - Open protocol for tool integration
- Secure - Built-in auth (bearer, OAuth, HMAC)
- Scalable - HTTP-based, works on edge
- Interoperable - Works with any MCP-compatible system
Bidirectional MCP
Conductor supports MCP in both directions:- Outbound (Consumer) - Call external MCP servers using the
toolsoperation - Inbound (Provider) - Expose ensembles as MCP tools via
/mcpendpoints
Part 1: Using External MCP Tools
Call external MCP servers from your ensembles.1. Configure MCP Servers
Createconductor.config.ts in your project root:
2. Set Environment Variables
3. Use Tools in Ensembles
Examples: Common MCP Servers
GitHub MCP
Brave Search MCP
Authentication Options
Bearer Token:Part 2: Exposing Ensembles as MCP Tools
Make your ensembles available as MCP tools to external systems.1. Configure MCP Exposure
Addexpose configuration to your ensemble:
2. Deploy to Cloudflare Workers
3. Discover Available Tools
External systems can discover your tools:4. Invoke Tools
5. Use in Claude Desktop
Configure Claude Desktop to use your MCP server:Complete Example: Bidirectional Integration
Build a system that both consumes and provides MCP tools:Setup: conductor.config.ts
Ensemble 1: Research Assistant (Consumes MCP Tools)
Ensemble 2: PR Analyzer (Exposed as MCP Tool)
Usage
1. Use research-assistant ensemble directly:pr-analyzer tool!

