MCP-server
Verified Safeby PROGRAMER122223
Overview
Provides a Model Context Protocol (MCP) server for basic arithmetic operations (add, subtract, multiply, divide).
Installation
mcp dev calc.pySecurity Notes
The server uses basic arithmetic operations and local file reads (for the `swiggy-mcp1` part). No direct use of `eval()` or `exec()` is observed. The file reading in `swiggy-mcp1/customercare.py` uses fixed filenames or a parameter that is not used to construct the file path, mitigating direct path traversal risks. The `calc_mcp/calc.py` server does not involve file I/O or external network calls beyond the MCP protocol itself. Overall, the direct source code provided appears to be reasonably secure for its stated purpose.
Similar Servers
mcp-server-n8n
Provides a Model Context Protocol (MCP) server for n8n to expose custom tools, starting with a mathematical expression evaluator.
mcpserverexample
Provides a Model Context Protocol (MCP) server that exposes a simple 'add' tool for numerical operations.
MCP-server-example
Provides a Micro-Agent Compute Protocol (MCP) server exposing basic arithmetic operations (add, subtract, multiply, divide) as callable tools.
MCP_Server
Provides a microservice for basic arithmetic operations (addition, subtraction, multiplication, division), intended to be consumed by other systems or agents via the Microservice Communication Protocol (MCP).