MCPServe

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.

📖 目录

🛠️ 设置本地托管 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

🛠️ 设置 Docker 托管的 MCP

docker compose up --build

客户端 MCP 配置

如果您已在代码中配置了身份验证服务器端,则可以启用 API 标头。我发现这需要对 mcp 库设置进行一些代码更改。添加一个中间件属性。:/

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

🚀 路线图

  • [ ] 🤖 即将推出...

如果您希望看到路线图中添加某个功能,请创建一个问题并开始讨论。

💡 问题

欢迎随时提交问题和改进请求。我们始终期待您的反馈和建议。

🤓 维护者

  • Ryan Eggleston - @ryaneggz

📜 许可证

本项目遵循MIT 许可证,开源。您可以随意使用、修改和分发代码。

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

hybrid server

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

一个具有 Shell 执行功能的简单 MCP 服务器,可以通过 Ngrok 本地连接或托管在 Ubuntu24 Docker 容器中。

  1. 🛠️ 设置本地托管 MCP
    1. 🛠️ 设置 Docker 托管的 MCP
      1. 客户端 MCP 配置
        1. 🚀 路线图
          1. 💡 问题
            1. 🤓 维护者
              1. 📜 许可证

                Related MCP Servers

                • A
                  security
                  A
                  license
                  A
                  quality
                  An MCP server to run commands.
                  Last updated -
                  2
                  556
                  133
                  TypeScript
                  MIT License
                  • Apple
                • -
                  security
                  A
                  license
                  -
                  quality
                  An MCP server that allows managing Docker containers through natural language, enabling users to compose, introspect, and debug containers without running commands themselves.
                  Last updated -
                  340
                  Python
                  GPL 3.0
                  • Apple
                • -
                  security
                  F
                  license
                  -
                  quality
                  A simple MCP server that allows accessing and executing shell commands on a VM machine through a web-based terminal interface, with automatic tunneling to make the VM accessible from anywhere.
                  Last updated -
                  39
                  2
                  JavaScript
                • -
                  security
                  A
                  license
                  -
                  quality
                  A simple MCP Server with shell execution capabilities that can be run locally with Ngrok tunneling or hosted in an Ubuntu 24 Docker container.
                  Last updated -
                  3
                  Python
                  MIT License

                View all related MCP servers

                ID: usn7b0vd4h