SimpleCalculator using Model Context Protocol (MCP) Server & Docker
@DionBenFernandes-Dev
About SimpleCalculator using Model Context Protocol (MCP) Server & Docker
A demonstration of custom Model Context Protocol (MCP) implementation for arithmetic operations, containerized with Docker for seamless deployment.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"SimpleCalculator-using-MCP-Server---Docker": {
"command": "docker",
"args": [
"compose",
"up",
"--build"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is SimpleCalculator using Model Context Protocol (MCP) Server & Docker?
SimpleCalculator using Model Context Protocol (MCP) Server & Docker is a demonstration of a custom MCP implementation for arithmetic operations, containerized with Docker for seamless deployment. It performs addition, subtraction, multiplication, and division.
How to use SimpleCalculator using Model Context Protocol (MCP) Server & Docker?
Clone the repository, then deploy with Docker using docker compose up --build. Alternatively, run locally using Python with uv (install dependencies, then run uv run ./src/server.py). Use the included client script to send requests.
Key features of SimpleCalculator using Model Context Protocol (MCP) Server & Docker
- Custom MCP implementation for arithmetic operations
- Core operations: addition, subtraction, multiplication, division
- Docker-based containerized deployment
- Modern Python packaging with pyproject.toml and uv.lock
- Basic security through container isolation
Use cases of SimpleCalculator using Model Context Protocol (MCP) Server & Docker
- Demonstrating custom MCP protocol implementation
- Performing basic arithmetic operations via MCP
- Testing containerized MCP server deployment
- Learning MCP architecture patterns
FAQ from SimpleCalculator using Model Context Protocol (MCP) Server & Docker
What arithmetic operations does SimpleCalculator using Model Context Protocol (MCP) Server & Docker support?
It supports addition, subtraction, multiplication, and division.
What are the prerequisites to run the server?
The only prerequisite mentioned is Docker for containerized deployment. For local development, Python and the uv package manager are recommended.
How do I deploy the server?
Run docker compose up --build in the cloned repository directory.
How can I test the server locally without Docker?
Clone the repo, install uv, create a virtual environment, add dependencies from requirements.txt, then run uv run ./src/server.py. In another terminal, run uv run ./src/client.py to interact.
What license does this project use?
It is licensed under the MIT License.
More Cloud & Infrastructure MCP servers
Mcp K8s Go
strowkMCP server connecting to Kubernetes
Cloudflare MCP Server
cloudflareMCP Gateway
mcp-ecosystemπ§© MCP Gateway - A lightweight gateway service that instantly transforms existing MCP Servers and APIs into MCP servers with zero code changes. Features Docker deployment and management UI, requiring no infrastructure modifications.
Supabase MCP Server
supabase-communityConnect Supabase to your AI assistants
MCP Server Kubernetes
Flux159MCP Server for kubernetes management commands
Comments