basic-mcp-calculator-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@basic-mcp-calculator-servercalculate 5 plus 3"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Basic MCP Calculator Server
A simple Model Context Protocol (MCP) server that provides basic calculator functionality.
Features
Add: Add two numbers together
Subtract: Subtract second number from first number
Multiply: Multiply two numbers together
Divide: Divide first number by second number (with division by zero protection)
Related MCP server: Calculator MCP Server
Installation
Install dependencies:
npm installBuild the project:
npm run buildUsage
Running the Server
npm startThe server runs on stdio and communicates using the MCP protocol.
Available Tools
add(a, b)- Returns the sum of a and bsubtract(a, b)- Returns a minus bmultiply(a, b)- Returns the product of a and bdivide(a, b)- Returns a divided by b
Example MCP Configuration
Add this to your MCP client configuration:
{
"mcpServers": {
"calculator": {
"command": "node",
"args": ["path/to/basic-mcp-calculator-server/dist/index.js"]
}
}
}Development
npm run devThis will build and start the server in one command.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceA simple MCP server that provides basic calculator functionality for performing mathematical operations. Built with FastMCP and demonstrates fundamental MCP server implementation patterns.Last updated
- Alicense-qualityCmaintenanceA simple MCP server that provides calculator tools for basic arithmetic operations with zero-division protection.Last updated66ISC
- Flicense-qualityDmaintenanceA simple MCP server that provides a calculator tool for basic arithmetic operations.Last updated366
- Flicense-qualityBmaintenanceMCP server that offers basic arithmetic operations (addition, subtraction, multiplication, division) via HTTP.Last updated
Related MCP Connectors
This MCP server enables users to perform scientific computations regarding linear algebra and vect…
A basic MCP server to operate on the Postman API.
A very simple remote MCP server that greets you, with a custom icon.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Yash-synergy/authentication_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server