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.

📖 Índice de contenidos

🛠️ Configurar MCP alojado localmente

## 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

🛠️ Configurar MCP alojado en Docker

docker compose up --build

Configuración de MCP del cliente

Si has configurado la autenticación del lado del servidor en tu código, puedes habilitar encabezados para la API. Esto requiere algunos cambios en la configuración de la biblioteca mcp. Se está añadiendo una propiedad de middleware. :/

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

🚀 Hoja de ruta

  • [ ] 🤖 Próximamente...

Crea un problema y comencemos una discusión si quieres ver una función agregada a la hoja de ruta.

💡 Problemas

No dude en enviarnos sus problemas y solicitudes de mejora. Siempre agradecemos sus comentarios y sugerencias.

🤓 Mantenedores

  • Ryan Eggleston - @ryaneggz

📜 Licencia

Este proyecto es de código abierto, bajo la licencia MIT . Puedes usar, modificar y distribuir el código como desees.

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

Un servidor MCP simple con capacidades de ejecución de shell que puede conectarse localmente a través de Ngrok o alojarse en un contenedor Docker de Ubuntu24.

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