Auto-generate an MCP server from your backend codebase
Envoy reads your backend code, generates a complete MCP server, and deploys it to Crow — so your agent can call your API without you writing any MCP code.
No MCP knowledge required. Envoy analyzes your routes, schemas, and auth patterns, then builds and deploys a production-ready MCP server for you.
Run this from the root directory that contains your project folders (backend, frontend, etc.). Envoy will ask which directories are relevant before it starts.
1. npx @usecrow/envoy2. Envoy scans your project directories3. AI agent analyzes routes, schemas, auth patterns4. Generates a complete MCP server (server.py + requirements.txt)5. Saves to Crow with versioning6. Deploy when ready → your agent can now call your API
from fastmcp import FastMCPmcp = FastMCP("My Backend")@mcp.tool()async def get_order(order_id: str) -> dict: """Look up an order by ID. Returns order details including status and total.""" async with httpx.AsyncClient() as client: response = await client.get(f"{API_BASE_URL}/api/orders/{order_id}", ...) return response.json()@mcp.tool()async def cancel_order(order_id: str) -> dict: """Cancel a pending order.""" async with httpx.AsyncClient() as client: response = await client.post(f"{API_BASE_URL}/api/orders/{order_id}/cancel", ...) return response.json()