MCP Fly Deployer

by NakulRajan

3 125 downloads Not rated yet MIT
GitHub

About

MCP server that provides docker files for stdio based MCP server to be deployed on platform like Fly.IO

Details

License
MIT

Explore

- 🚀 Automated Fly.io deployment configuration generation
- 🐳 Dynamic Dockerfile generation based on runtime
- ⚙️ Customizable fly.toml configuration
- 🔧 Support for multiple runtimes:
- Python
- Node.js
- Go
- Custom binary
- 🔑 Environment variables and secrets management
- 🌐 Configurable regions and deployment options

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Fly Deployer
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

- Python 3.13 or higher
- pip (Python package manager)
- Fly.io CLI installed and configured
- Node.js and npm (for supergateway functionality)

A specialized configuration generator for deploying Model Context Protocol (MCP) servers to Fly.io. This tool automates the creation of Dockerfiles, fly.toml configurations, and deployment scripts for stdio-based MCP servers.

This project integrates supergateway to enable MCP stdio servers to communicate over SSE (Server-Sent Events) or WebSockets, facilitating seamless deployment to Fly.io's infrastructure.

Fly.io regions can be specified using the primary_region parameter. Common options:
- ord: Chicago
- iad: Northern Virginia
- dfw: Dallas
- lax: Los Angeles
- bom: Mumbai

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp fly deployer": {
            "mcp-fly-deployer": {
                "command": "python",
                "args": [
                    "-m",
                    "venv",
                    ".venv"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-fly-deployer": {
        "command": "python",
        "args": [
            "-m",
            "venv",
            ".venv"
        ]
    }
}

A specialized configuration generator for deploying Model Context Protocol (MCP) servers to Fly.io. This tool automates the creation of Dockerfiles, fly.toml configurations, and deployment scripts for stdio-based MCP servers.

This project integrates supergateway to enable MCP stdio servers to communicate over SSE (Server-Sent Events) or WebSockets, facilitating seamless deployment to Fly.io's infrastructure.

Features

- 🚀 Automated Fly.io deployment configuration generation
- 🐳 Dynamic Dockerfile generation based on runtime
- ⚙️ Customizable fly.toml configuration
- 🔧 Support for multiple runtimes:
- Python
- Node.js
- Go
- Custom binary
- 🔑 Environment variables and secrets management
- 🌐 Configurable regions and deployment options

How It Works

The MCP Fly Deployer uses supergateway to:
- Convert stdio-based MCP servers into SSE or WebSocket services
- Enable remote access and debugging capabilities
- Manage JSON-RPC versioning automatically
- Handle package metadata transmission

For more details about the underlying gateway technology, see the supergateway documentation.

Prerequisites

- Python 3.13 or higher
- pip (Python package manager)
- Fly.io CLI installed and configured
- Node.js and npm (for supergateway functionality)

Installation

1. Clone the repository:

git clone https://github.com/yourusername/mcp-fly-deployer.git
cd mcp-fly-deployer

2. Create and activate a virtual environment:
```bash
python -m venv .venv
source .venv/bin/activate # On Unix/macOS

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.