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.
「クラウドとインフラ」の他のコンテンツ
Cloudflare MCP Server
cloudflareAWS MCP
RafalWilinskiTalk with your AWS using Claude. Model Context Protocol (MCP) server for AWS. Better Amazon Q alternative.
container-use
aluzzardiDevelopment environments for coding agents. Enable multiple agents to work safely and independently with your preferred stack.
tfmcp: Terraform Model Context Protocol Tool
nwiizo🌍 Terraform Model Context Protocol (MCP) Tool - An experimental CLI tool that enables AI assistants to manage and operate Terraform environments. Supports reading Terraform configurations, analyzing plans, applying configurations, and managing state with Claude Desktop integrati
Sample Serverless MCP Servers
aws-samplesSample implementations of AI Agents and MCP Servers running on AWS Serverless compute
コメント