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.

📖 目次

🛠️ ローカルホスト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

シェル実行機能を備えたシンプルな MCP サーバー。Ngrok 経由でローカルに接続したり、Ubuntu24 Docker コンテナーでホストしたりできます。

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