MCPServe

by ryaneggz
Verified

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Integrations

  • Enables hosting the MCP server within a Docker container, specifically supporting Ubuntu 24 containers for deployment

  • Allows connecting to a locally hosted MCP server via Ngrok, providing remote access to local development environments

  • Includes shell execution capabilities, allowing the MCP to run shell commands on the host system

📖 Table of Contents

🛠️ Setup Local Hosted MCP

## Install uv (if you not using you late to party) curl -LsSf https://astral.sh/uv/install.sh | sh ## Create virtual environemtn uv venv source .venv/bin/activate ## Install Dependencies uv pip install -r requirements.txt ## Start localhost MCPServe python main.py

🛠️ Setup Docker Hosted MCP

docker compose up --build

Client MCP Config

If you have configured auth server side in your code you can enable headers for API. Have found this requires some code changes to the mcp librarie Settings. Adding a middleware prop. :/

{ "terminal": { "transport": "sse", "url": "http://localhost:8005/sse", // "headers": { // "x-api-key": "abcdef123456..." // } } }

🚀 Roadmap

  • 🤖 Coming Soon...

Create an issue and lets start a discussion if you'd like to see a feature added to the roadmap.

💡 Issues

Feel free to submit issues and enhancement requests. We're always looking for feedback and suggestions.

🤓 Maintainers

  • Ryan Eggleston - @ryaneggz

📜 License

This project is open-source, under the MIT License. Feel free to use, modify, and distribute the code as you please.

-
security - not tested
A
license - permissive license
-
quality - not tested

A simple MCP Server with shell execution capabilities that can be run locally with Ngrok tunneling or hosted in an Ubuntu 24 Docker container.

  1. 🛠️ Setup Local Hosted MCP
    1. 🛠️ Setup Docker Hosted MCP
      1. Client MCP Config
        1. 🚀 Roadmap
          1. 💡 Issues
            1. 🤓 Maintainers
              1. 📜 License