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.

评论

云与基础设施 分类下的更多 MCP 服务器