carmelosammarco/mcp-docker
If you are the rightful owner of mcp-docker and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This project demonstrates how to run an MCP server using Docker through stdio and SSE protocols.
The MCP Server with Docker project provides a comprehensive guide to setting up and running a Model Control Protocol (MCP) server using Docker. It supports both stdio protocol for local communication and SSE protocol for both local and remote communication. The project is designed to be flexible, allowing users to run the server locally or deploy it on a remote server. The Docker setup ensures that the server environment is consistent and easily replicable, making it ideal for both development and production environments. The project includes a simple tool implemented in Python, and the necessary Docker configurations to build and run the server.
Features
- Supports both stdio and SSE protocols for communication.
- Dockerized setup for consistent and replicable server environment.
- Flexible deployment options for local and remote access.
- Includes a simple tool implemented in Python.
- Comprehensive project structure with clear instructions.
Usages
usage with docker stdio
{ "mcpServers": { "docker-stdio": { "command": "docker", "args": [ "run", "--rm", "-i", "mcp/server-stdio" ] } } }
usage with docker sse
{ "mcpServers": { "docker-sse": { "command": "docker", "args": [ "run", "--rm", "-i", "mcp/server-sse" ] } } }