relay-mcp

Relay-MCP Documentation

Welcome to the relay-mcp documentation! This directory contains guides for using the relay-mcp server.

📚 Documentation

Getting Started

  1. Quick Start Guide
    • Installation and basic setup
    • Running your first relay server
    • Connecting to MCP clients
  2. Setup Instructions
    • Detailed configuration options
    • Authentication methods
    • Environment variables
    • Production deployment

📖 Quick Reference

Transport Modes

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

Key Environment Variables

# 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

Transport Usage Examples

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

🔗 External Resources

💡 Common Use Cases

Local Development with Claude Desktop

See Quick Start Guide for stdio transport setup.

Web-based MCP Client

Use SSE or HTTP transport modes. Configure via TRANSPORT environment variable.

Production Deployment

See Setup Instructions for authentication, SSL, and deployment options.

🤝 Contributing

Found an issue or want to improve the documentation? Please open an issue or pull request on our GitHub repository.

📄 License

MIT - See LICENSE file in the project root.