Documentation
Learn how to deploy and manage MCP gateways with Vercel Workflows
Getting Started
Worker0 allows you to run Model Context Protocol (MCP) gateways using Vercel Workflows for durable, long-running processes.
This is a migration from the original Cloudflare Workers + Sandboxes architecture to Vercel's infrastructure.
Architecture
Key Components
- Vercel Workflows: Manages long-running MCP gateway processes with durable execution
- Vercel Blob: Stores gateway configurations and logs
- Next.js API Routes: Handles gateway management operations
- React Admin UI: Provides a web interface for managing gateways
Environment Variables
ANTHROPIC_API_KEY=sk-ant-...
ADMIN_TOKEN=your-secure-token
NEXT_PUBLIC_APP_URL=https://your-domain.vercel.app
Set these in your Vercel project settings under Environment Variables
Creating a Gateway
- Navigate to the Admin Panel
- Click "New Gateway"
- Enter a name and your Anthropic API key
- Click "Create Gateway"
- The gateway will start automatically as a Vercel Workflow
API Reference
GET /api/gateway
List all configured gateways
POST /api/gateway
Create a new gateway and configure it
DELETE /api/gateway?id=...
Delete a gateway configuration