MCP Fly Deployer

by NakulRajan

3 stars
125 downloads
Not rated
GitHub

About

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

Details

Author
NakulRajan
GitHub stars
3
Downloads
125
Categories
Other

- Automated Fly.io deployment configuration generation
- Dynamic Dockerfile generation based on runtime
- Customizable fly.toml configuration
- Support for Python, Node.js, Go, and custom binaries
- 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

Clone the repository, create and activate a Python virtual environment, and install dependencies with uv sync. Start the server by running python mcp_server_generator.py (listens on port 8000 via SSE transport), then send a request with parameters such as server_command, server_args, runtime, runtime_version, and optional settings like target_port, app_name, and primary_region.

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"
        ]
    }
}

MCP Fly Deployer

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.