MCPServe

by enso-labs
Verified

hybrid server

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

Integrations

  • Allows hosting the MCP server in a Docker container using the provided Docker Compose configuration, making deployment more consistent and portable.

  • Enables connecting to the local MCP server through Ngrok, allowing remote access to the locally hosted server by creating secure tunnels.

  • Includes Shell execution capabilities, enabling the MCP to run shell commands on the host system programmatically.

📖 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 connected to locally via Ngrok or hosted in an Ubuntu24 Docker container.

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