MCPCalculatorSample
Verified Safeby polboo
Overview
Provides a sample Model Context Protocol (MCP) server with a calculator tool and a dynamic greeting resource, designed for integration with a VS Code Cline agent.
Installation
npm startSecurity Notes
The server uses standard input/output (stdio) for communication, limiting direct network exposure. Input validation for the 'add' tool ensures numerical arguments, and URI parsing for 'greeting' uses decodeURIComponent, reducing obvious injection vectors. No 'eval' or hardcoded secrets were found.
Similar Servers
test-remote-server
This server provides basic arithmetic and random number generation capabilities through an MCP interface.
mcp-server-test
This server provides a simple Micro-service Control Protocol (MCP) interface for basic arithmetic and random number generation.
mcp-math
Provides a comprehensive set of mathematical operations and functions via a Model Context Protocol (MCP) API.
mcp-server-demo
This project demonstrates running an MCP (Model Control Protocol) server with a simple calculator tool, deployed via Docker.