MCP.so
Sign In

SimpleCalculator using MCP Server & Docker

@DionBenFernandes-Dev

Basic information

Category

Cloud & Infrastructure

License

MIT

Transports

stdio

Author

DionBenFernandes-Dev

About 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 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"
      ]
    }
  }
}

SimpleCalculator using MCP Server & Docker tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

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

Frequently asked questions

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.

Comments

More Cloud & Infrastructure MCP servers