Calculate MCP
A Model Context Protocol (MCP) server that provides browser automation capabilities using basic calculator feature. This server enables LLMs to interact with calculator. (I actually made it for a test program)
Use Cases
- The test code for to connect MCP feature.
- The toy projects
Example config
Installation in VS Code
Alternatively, you can install the Playwright MCP server using the VS Code CLI:
After installation, the Calculator MCP server will be available for use with your GitHub Copilot agent in VS Code.
CLI Options
The Calculator MCP server supports the following command-line options:
--port <port>
: Port to listen on for SSE transport
Running headed browser on Linux w/o DISPLAY
When running headed browser on system w/o display or from worker processes of the IDEs,
run the MCP server from environment with the DISPLAY and pass the --port
flag to enable SSE transport.
And then in MCP client config, set the url
to the SSE endpoint:
Programmatic usage with custom transports
Tools
- add
- sub
- mul
- div
- mod
- sqrt
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Ein Model Context Protocol-Server, der grundlegende Rechnerfunktionen für LLMs bereitstellt und es ihnen ermöglicht, mathematische Operationen wie Addition, Subtraktion, Multiplikation, Division, Modulo und Quadratwurzel durchzuführen.
- Anwendungsfälle
- Beispielkonfiguration
- CLI-Optionen
- Ausführen eines Headed-Browsers unter Linux ohne DISPLAY
- Programmatische Nutzung mit benutzerdefinierten Transporten
- Werkzeuge
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that provides basic mathematical and statistical functions to LLMs, enabling them to perform accurate numerical calculations through a simple API.Last updated -133529MIT License
- AsecurityFlicenseAqualityA server that provides tools for performing basic arithmetic operations (addition, subtraction, multiplication, division) via the Model Context Protocol.Last updated -4
- AsecurityAlicenseAqualityA Model Context Protocol server that enables LLMs to perform precise numerical calculations by evaluating mathematical expressions.Last updated -1112MIT License
- AsecurityFlicenseAqualityA simple Model Context Protocol server that provides basic arithmetic operations (addition, subtraction, multiplication, division) as tools that can be called by Large Language Models.Last updated -4