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.Documentation Index
Fetch the complete documentation index at: https://docs.usecrow.ai/llms.txt
Use this file to discover all available pages before exploring further.
No MCP knowledge required. Envoy analyzes your routes, schemas, and auth patterns, then builds and deploys a production-ready MCP server for you.
Quick Start
Get Your API Key
- Go to app.usecrow.com → Tools
- Click Generate Envoy Key
- Copy the
ck_...key
Commands
| Command | What it does |
|---|---|
generate | Reads your codebase, generates an MCP server from scratch |
fix | Loads your existing MCP server and iterates on it (add tools, fix bugs) |
deploy | Deploys the latest saved version to production |
Options
| Flag | Description |
|---|---|
--api-key <key> | Crow API key (alternative to CROW_API_KEY env var) |
--ci | CI mode — structured JSON output on stdout |
--dirs <a,b,c> | Comma-separated directories to scan (CI mode, skips interactive prompt) |
--help, -h | Show help |
--version, -v | Show version |
How It Works
What Envoy Generates
Envoy produces a FastMCP server that wraps your API endpoints as MCP tools. For example, if your backend has:Workflow
First Time: Generate
- Select which directories to scan
- Envoy reads your code and generates an MCP server
- Review the generated tools in a conversation loop
- When satisfied, the server is saved to Crow
Iterate: Fix
- “Add a tool for the
/api/usersendpoint” - “Fix the auth header on the cancel_order tool”
- “Remove the get_all_orders tool”
Ship: Deploy
CI Mode
For automated pipelines, use--ci for structured JSON output:
Environment Variables
| Variable | Required | Description |
|---|---|---|
CROW_API_KEY | Yes | Your Crow Envoy API key (ck_...) |
CROW_API_URL | No | Override API URL (for development only) |
Envoy vs Manual MCP Setup
| Envoy | Manual (Server-Side MCP) | |
|---|---|---|
| Setup time | Minutes | Hours |
| MCP knowledge needed | None | Yes |
| Hosting | Crow hosts it for you | You host your own server |
| Updating | npx @usecrow/envoy fix | Edit code, redeploy |
| Best for | Getting started fast, standard REST APIs | Custom logic, complex auth, full control |
Server-Side MCP
Self-hosted MCP server setup (manual approach)
MCP Authentication
Auth patterns for MCP servers
