
mcp docker
A simple example in how to dockerise a python mcp server
Repository Info
About This Server
A simple example in how to dockerise a python mcp server
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
MCP Server with Docker
This project demonstrates how to run an MCP (Model Control Protocol) server using Docker throght stdio protocol (locally) and SSE protocol (locally and in remote).
NOTE: you can run the SEE protocol locally if you remove the comment on the host adress = 0.0.0.0 (which means Localhost) or comment it if you plan to deploy the web service somewhere so you can access it remotely. In any case for both cases be sure that the port exposed in the docker file and the one set in the server.py file are identical so to allow the SSE communication.
Prerequisites
- Docker installed on your system
- Acount on Render VPS service (for the external deployment and then remotely access)
General Project Structure (for both stdio and sse case)
server.py: The MCP server implementation with a simple toolDockerfile: Instructions for building the Docker imagerequirements.txt: Python dependencies for the project
Quick Start
Clone the repository
git clone https://github.com/carmelosammarco/mcp-dockerInstall dependencies
cd mcp-docker
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.