Calculator Mcp
@wrtnlabs
About Calculator Mcp
Calculator MCP server on npx
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"calculator-mcp": {
"command": "npx",
"args": [
"@wrtnlabs/calculator-mcp@latest",
"--port",
"8931"
]
}
}
}Tools
3**sub**
**div**
**sqrt**
Overview
What is Calculator Mcp?
Calculator Mcp is a Model Context Protocol (MCP) server that provides browser automation capabilities using a basic calculator feature. It enables LLMs to interact with a calculator, and was created as a test program for connecting MCP features.
How to use Calculator Mcp?
Install and run using npx: npx @wrtnlabs/calculator-mcp@latest. Configure in MCP client settings with the command and args, or connect via SSE by specifying a port with --port and setting the client URL to http://localhost:<port>/sse. For VS Code, install via the CLI command code --add-mcp '{"name":"calculator","command":"npx","args":["-y", "@wrtnlabs/calculator-mcp@latest"]}'. Programmatic usage with custom transports is also supported using InMemoryTransport.
Key features of Calculator Mcp
- Provides arithmetic operations: add, sub, mul, div, mod.
- Runs as a standard MCP server via
npx. - Supports SSE transport with configurable port (
--port). - Works with VS Code and VS Code Insiders CLI.
- Includes programmatic API for custom transport integration.
- Lightweight test-oriented implementation for MCP connectivity.
Use cases of Calculator Mcp
- Testing MCP feature integration in custom applications.
- Toy projects requiring a simple calculator tool for LLMs.
- Demonstrating MCP server setup and configuration in VS Code.
- Experimenting with SSE transport between MCP clients and servers.
FAQ from Calculator Mcp
What does Calculator Mcp do?
It is an MCP server that exposes basic calculator operations (add, subtract, multiply, divide, modulo) for LLMs to invoke, intended as a testing or demonstration tool.
How do I configure Calculator Mcp in an MCP client?
Add an entry to your mcpServers object with command npx and args ["-y", "@wrtnlabs/calculator-mcp@latest"]. For SSE transport, use the --port flag and set the client URL to http://localhost:<port>/sse.
What runtime dependencies does Calculator Mcp have?
It requires Node.js to run via npx. No additional installation beyond Node.js is needed.
Does Calculator Mcp support authentication?
No authentication mechanism is mentioned in the README.
What transport options are available?
Standard stdio transport (via command-line invocation) and SSE transport (by passing --port <port>). Programmatic use with custom transports like InMemoryTransport is also supported.
Frequently asked questions
What does Calculator Mcp do?
It is an MCP server that exposes basic calculator operations (add, subtract, multiply, divide, modulo) for LLMs to invoke, intended as a testing or demonstration tool.
How do I configure Calculator Mcp in an MCP client?
Add an entry to your `mcpServers` object with command `npx` and args `["-y", "@wrtnlabs/calculator-mcp@latest"]`. For SSE transport, use the `--port` flag and set the client URL to `http://localhost:<port>/sse`.
What runtime dependencies does Calculator Mcp have?
It requires Node.js to run via `npx`. No additional installation beyond Node.js is needed.
Does Calculator Mcp support authentication?
No authentication mechanism is mentioned in the README.
What transport options are available?
Standard stdio transport (via command-line invocation) and SSE transport (by passing `--port <port>`). Programmatic use with custom transports like `InMemoryTransport` is also supported.
Basic information
More Other MCP servers
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Comments