Allows deployment and containerization of the MCP server using Docker, with support for building, starting, and stopping the container through Docker Compose.
Enables running the MCP server natively using Python, providing a runtime environment for processing text inputs and generating humorous responses.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Server Demotell me a joke about programming"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Server Demo (Humorous Edition)
A simplified Model Context Protocol (MCP) server implemented in Python. This version reads plain text from standard input and responds with a humorous message. It is Docker- and Azure-deployable.
Project Structure
.
├── infrastructure/ # Infrastructure and deployment related files
│ ├── azure/ # Azure deployment files
│ │ ├── deploy.ps1 # PowerShell deployment script
│ │ ├── deploy.sh # Bash deployment script
│ │ └── main.bicep # Azure Bicep deployment template
│ └── docker/ # Docker deployment files
│ ├── Dockerfile # Container definition
│ └── docker-compose.yml # Docker Compose configuration
├── main.py main.py # MCP server implementation (reads text, returns funny responses)
└── requirements.txt # Python dependenciesRelated MCP server: Jokes MCP Server
Development
To run the MCP server locally:
python main.pyTo run with Docker:
cd infrastructure/docker
docker compose up --build # Build and start the container
docker compose down # Stop and remove the containerTo test the MCP server, send a message:
echo '{"type": "prompt", "content": "Hello MCP Server!", "metadata": {}}' | docker compose exec -T mcp-server-demo python -u main.pyDeployment
To deploy to Azure:
cd infrastructure/azure
./deploy.ps1Make sure you have the Azure CLI installed and are logged in before deploying.