fly-mcp-gateway
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@fly-mcp-gatewayDeploy an always-on Streamable HTTP MCP gateway to Fly.io with a bearer token."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
fly-mcp-gateway
Always-on Streamable HTTP MCP gateway for Fly.io.
Use this instead of a flaky Cloudflare Tunnel (mcp.oceanways.online).
Endpoint:
https://<your-app>.fly.dev/mcpHealth:
https://<your-app>.fly.dev/healthOptional auth:
Authorization: Bearer <MCP_API_TOKEN>
Deploy (once)
# 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 deployPick a unique app name when prompted (e.g. clipboardh-mcp or hush759-mcp).
Related MCP server: labsolu-mcp-test
Point Grok / Cursor at it
Replace the old oceanways URL with:
{
"mcpServers": {
"fly-gateway": {
"type": "streamable-http",
"url": "https://YOUR-APP.fly.dev/mcp",
"headers": {
"Authorization": "Bearer YOUR_TOKEN"
}
}
}
}Free plan notes
fly.toml sets:
auto_stop_machines = "off"min_machines_running = 1
That keeps one machine running so MCP does not cold-start. Free allowance is limited — watch Fly billing so you do not exceed free credits.
Add tools
Edit server.js and register more server.tool(...) handlers, then:
git add -A && git commit -m "feat: more tools" && git push
fly deployLocal test
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.4 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.-