fly-mcp-gateway
fly-mcp-gateway
Постоянно работающий Streamable HTTP MCP-шлюз для Fly.io.
Используйте его вместо нестабильного Cloudflare Tunnel (mcp.oceanways.online).
Эндпоинт:
https://<your-app>.fly.dev/mcpПроверка работоспособности:
https://<your-app>.fly.dev/healthНеобязательная аутентификация:
Authorization: Bearer <MCP_API_TOKEN>
Развёртывание (один раз)
# 1. Install flyctl — https://fly.io/docs/hands-on/install-flyctl/
fly auth login
# 2. Clone
git clone https://github.com/hush759/fly-mcp-gateway.git
cd fly-mcp-gateway
# 3. Launch (creates app + deploys)
fly launch --copy-config --yes
# 4. Set a secret token (recommended)
fly secrets set MCP_API_TOKEN="$(openssl rand -hex 24)"
# 5. Redeploy if needed
fly deployПри запросе выберите уникальное имя приложения (например, clipboardh-mcp или hush759-mcp).
Related MCP server: remote-mcp-server-authless
Подключите Grok / Cursor
Замените прежний URL oceanways на:
{
"mcpServers": {
"fly-gateway": {
"type": "streamable-http",
"url": "https://YOUR-APP.fly.dev/mcp",
"headers": {
"Authorization": "Bearer YOUR_TOKEN"
}
}
}
}Примечания о бесплатном тарифе
fly.toml задаёт:
auto_stop_machines = "off"min_machines_running = 1
Благодаря этому одна машина остаётся запущенной, и MCP не испытывает холодного старта. Квота бесплатного тарифа ограничена — следите за биллингом Fly, чтобы не превысить бесплатные кредиты.
Добавление инструментов
Отредактируйте server.js и зарегистрируйте дополнительные обработчики server.tool(...), затем:
git add -A && git commit -m "feat: more tools" && git push
fly deployЛокальное тестирование
npm install
MCP_API_TOKEN=dev node server.js
# curl http://localhost:8080/healthThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables deployment of authentication-free MCP servers on Cloudflare Workers that can be accessed remotely from MCP clients like Claude Desktop or the Cloudflare AI Playground.
- FlicenseNot gradedqualityCmaintenanceEnables deploying a remote MCP server on Cloudflare Workers without authentication, allowing MCP tools to be used from clients like Cloudflare AI Playground or Claude Desktop.
- FlicenseNot gradedqualityCmaintenanceEnables deploying a remote MCP server on Cloudflare without authentication, allowing connection from AI Playground or Claude Desktop via SSE.
- AlicenseNot gradedqualityAmaintenanceLifts local stdio MCP servers into remote Streamable HTTP endpoints for cloud-hosted AI clients, with bearer-token auth and tool policy filtering.15MIT
Related MCP Connectors
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hush759/fly-mcp-gateway'
If you have feedback or need assistance with the MCP directory API, please join our Discord server