fly-mcp-gateway
fly-mcp-gateway
Fly.io용 상시 가동 Streamable HTTP MCP 게이트웨이입니다.
불안정한 Cloudflare Tunnel(mcp.oceanways.online) 대신 이 게이트웨이를 사용하세요.
엔드포인트:
https://<your-app>.fly.dev/mcp상태:
https://<your-app>.fly.dev/health선택 인증:
Authorization: Bearer <MCP_API_TOKEN>
배포 (1회)
# 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: labsolu-mcp-test
Grok / Cursor에서 이 게이트웨이 가리키기
기존 oceanways URL을 다음으로 교체하세요:
{
"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 deployed
Maintenance
Related MCP Connectors
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
- QuallaaOAuthcom.quallaa
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
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.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceLifts local stdio MCP servers into remote Streamable HTTP endpoints for cloud-hosted AI clients, with bearer-token auth and tool policy filtering.2 npmMIT
- FlicenseNot gradedqualityCmaintenanceEnables developers to deploy a Model Context Protocol server to Render with bearer token authentication, allowing custom tools to be connected to MCP clients like Claude Desktop and Cursor.-
- FlicenseNot gradedqualityCmaintenanceEnables deploying a minimal MCP server on Render with Streamable HTTP transport, bearer-token authentication, a health check endpoint, and a sample tool.-
- FlicenseNot gradedqualityCmaintenanceEnables users to deploy a minimal Model Context Protocol server on Render, connect MCP clients with bearer-token authentication, and add custom tools callable through the MCP endpoint.-