Skip to main content
Glama

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/mcp

  • Health: https://<your-app>.fly.dev/health

  • Optional 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 deploy

Pick a unique app name when prompted (e.g. clipboardh-mcp or hush759-mcp).

Related MCP server: remote-mcp-server-authless

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 deploy

Local test

npm install
MCP_API_TOKEN=dev node server.js
# curl http://localhost:8080/health
F
license - not found
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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