MCP-CALCULATOR-SERVER
Verified Safeby FakerVash
Overview
Provides a simple Fastify API to perform basic arithmetic operations (add, subtract, multiply, divide) with strict input validation and automatic OpenAPI documentation.
Installation
npm run devSecurity Notes
Input parameters are strictly validated using Fastify's JSON Schema (AJV), preventing common injection attacks. The 'operation' parameter is restricted to an enum of allowed values. Division by zero is explicitly handled as a 400 error. No use of 'eval' or other dangerous functions, and no hardcoded secrets were found in the provided source code.
Similar Servers
mcp-server
A simple calculator API server providing basic arithmetic operations, complemented by a Streamlit web user interface.
simple-calculator-mcp-server-v4
A server that provides basic arithmetic calculation functionalities via an API.
remote-mcp-server
Provides basic arithmetic operations and random number generation via a simple API.
test-remote-mcp-server
This server provides a simple calculator API for basic arithmetic operations and random number generation.