MCP-server
Verified Safeby PROGRAMER122223
Overview
Provides Model Context Protocol (MCP) servers for basic arithmetic operations and a customer service backend with tools for retrieving customer, order, and restaurant information, along with policy documents.
Installation
mcp dev calc.pySecurity Notes
The server implementation avoids direct use of 'eval' or other dynamic code execution from user input. File reading for policies (e.g., refundpolicy.md) uses hardcoded filenames, preventing arbitrary file access. No hardcoded secrets (API keys, passwords) are visible in the provided code. The exposure of tools over a network inherently has risks, but the implementation itself appears safe within the given context. Authentication and authorization would typically be handled by the MCP framework or surrounding infrastructure, which is not detailed here.
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).