SimpleCalculator using Model Context Protocol (MCP) Server & Docker
@DionBenFernandes-Dev
关于 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.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"SimpleCalculator-using-MCP-Server---Docker": {
"command": "docker",
"args": [
"compose",
"up",
"--build"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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.
云与基础设施 分类下的更多 MCP 服务器
Supabase MCP Server
coleam00Supabase MCP server created in Python.
Mcp K8s Go
strowkMCP server connecting to Kubernetes
Kubernetes MCP Server
manusaModel Context Protocol (MCP) server for Kubernetes and OpenShift
container-use
aluzzardiDevelopment environments for coding agents. Enable multiple agents to work safely and independently with your preferred stack.
AWS Model Context Protocol (MCP) Server
alexei-ledA lightweight service that enables AI assistants to execute AWS CLI commands (in safe containerized environment) through the Model Context Protocol (MCP). Bridges Claude, Cursor, and other MCP-aware AI tools with AWS CLI for enhanced cloud infrastructure management.
评论