🚀 One URL. All MCP services. Pay per use.
RelayForge is a hosted MCP server platform that provides access to multiple services through a single endpoint. Connect your AI agents (Claude Code, Cursor) once and access all available services.
Setting up MCP servers requires:
- Pulling source code from various repositories
- Building and configuring each service
- Managing OAuth flows and authentication
- Maintaining local infrastructure
- Configuring multiple server URLs in your AI client
RelayForge provides all MCP services through a single stable endpoint with bearer token authentication:
URL: https://relayforge.com/mcp/u/{your-slug}
Header: Authorization: Bearer mcp_live_{your-token}
Key Benefits:
- One URL: Access all MCP services through a single endpoint
- Stable Configuration: Your URL never changes, even after re-login
- OAuth Handled: We manage authentication for Google Calendar, GitHub, Slack, etc.
- No Local Setup: Use MCP servers without installing anything
- Pay Per Use: Only pay for what you use, transparent per-call pricing
// Claude Desktop or Cursor configuration
{
"mcpServers": {
"relayforge": {
"url": "https://relayforge.com/mcp/u/happy-dolphin-42",
"headers": {
"Authorization": "Bearer mcp_live_xxxxxxxxxxxxx"
},
"env": {
// Optional: API keys for services you want to use
"OPENAI_API_KEY": "sk-...",
"ANTHROPIC_API_KEY": "..."
}
}
}
}- Frontend: React app for account management and service discovery
- Gateway: Fastify-based router that directs requests to appropriate MCP servers
- OAuth Service: Centralized authentication management for OAuth-based services
- MCP Servers: Containerized implementations of various MCP services
- Docker and Docker Compose
# 1. Clone the repository
git clone https://github.com/tianshanghong/relayforge.git
cd relayforge
# 2. Copy environment configuration (optional - has development defaults)
cp .env.example .env
# Edit .env to add your Google OAuth credentials (required for OAuth features)
# 3. Start all services (uses docker-compose.override.yml automatically)
docker-compose up --build
# Services will be available at:
# - Frontend: http://localhost:5173
# - OAuth Service: http://localhost:3002
# - MCP Gateway: http://localhost:3001
# - Nginx (production-like): http://localhost:8080
# - PostgreSQL: localhost:5432To stop services:
docker-compose down
# To reset everything (including database):
docker-compose down -vFor detailed environment variable documentation and OAuth setup, see Environment Setup Guide.
Production uses the same Docker Compose setup with production configuration:
# 1. Copy production environment configuration
cp .env.production.example .env
# 2. Update .env with production values:
# - Set secure passwords and keys
# - Configure your domain
# - Add OAuth credentials for production
# 3. Start services in production mode
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d| Environment | Docker Compose Files | Purpose |
|---|---|---|
| Development | docker-compose.yml + docker-compose.override.yml (auto) |
Local development with hot reload |
| Production | docker-compose.yml + docker-compose.prod.yml |
Production with pre-built images |
To host RelayForge with your own domain:
- Update environment variables in
.env:
DOMAIN_NAME=yourdomain.com
FRONTEND_URL=https://yourdomain.com
MCP_BASE_URL=https://api.yourdomain.com
GOOGLE_REDIRECT_URI=https://api.yourdomain.com/oauth/google/callback-
Configure DNS:
- Point
yourdomain.comto your server - Point
api.yourdomain.comto your server
- Point
-
Update OAuth providers:
- Add your redirect URI to Google OAuth authorized callbacks
-
Deploy with Docker Compose:
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -dThis is an open-source project. Check out the awesome-mcp-servers list for servers we could add next.