Welcome to the relay-mcp documentation! This directory contains guides for using the relay-mcp server.
Mode | Use Case | Configuration |
---|---|---|
stdio | Claude Desktop, local clients | TRANSPORT=stdio |
SSE | Web clients, streaming | TRANSPORT=sse TRANSPORT_PORT=3000 |
HTTP | Web APIs, resumable connections | TRANSPORT=http TRANSPORT_PORT=3000 |
# Core Configuration
SWAGGER_SOURCE=url|file
SWAGGER_URL=https://...
AUTH_TYPE=none|apikey|bearer|basic
# Transport Configuration
TRANSPORT=stdio|sse|http
TRANSPORT_PORT=3000
TRANSPORT_HOST=0.0.0.0
TRANSPORT_PATH=/mcp
Stdio (Default)
npm start
SSE Transport
TRANSPORT=sse TRANSPORT_PORT=3000 npm start
# Server available at http://localhost:3000/mcp
HTTP Transport
TRANSPORT=http TRANSPORT_PORT=3000 npm start
# Server available at http://localhost:3000/mcp
See Quick Start Guide for stdio transport setup.
Use SSE or HTTP transport modes. Configure via TRANSPORT
environment variable.
See Setup Instructions for authentication, SSL, and deployment options.
Found an issue or want to improve the documentation? Please open an issue or pull request on our GitHub repository.
MIT - See LICENSE file in the project root.