MCP.so
ログイン

SimpleCalculator using MCP Server & Docker

@DionBenFernandes-Dev

基本情報

カテゴリ

クラウドとインフラ

ライセンス

MIT

トランスポート

stdio

作者

DionBenFernandes-Dev

SimpleCalculator using MCP Server & Docker について

A demonstration of custom Model Context Protocol (MCP) implementation for arithmetic operations, containerized with Docker for seamless deployment.

SimpleCalculator using MCP Server & Docker の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "SimpleCalculator-using-MCP-Server---Docker": {
      "command": "docker",
      "args": [
        "compose",
        "up",
        "--build"
      ]
    }
  }
}

SimpleCalculator using MCP Server & Docker のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは 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

よくある質問

1

What arithmetic operations does SimpleCalculator using Model Context Protocol (MCP) Server & Docker support?

It supports addition, subtraction, multiplication, and division.

2

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.

3

How do I deploy the server?

Run `docker compose up --build` in the cloned repository directory.

4

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.

5

What license does this project use?

It is licensed under the MIT License.

コメント

「クラウドとインフラ」の他のコンテンツ