Back to Home
zuplo icon

mcp

by zuplo

Overview

An MCP server providing a set of mathematical tools (calculator functions) for remote execution via the Model Context Protocol.

Installation

Run Command
npm install && npm run build && npm run start

Security Notes

The `HTTPStreamableTransport`'s `isValidOrigin` method currently returns `true` unconditionally, which is explicitly called out in the source code as a DNS rebinding vulnerability: 'Servers MUST validate the Origin header on all incoming connections to prevent DNS rebinding attacks'. This default behavior makes the server highly unsafe for public deployment without explicit origin validation configuration by the user. There's also a TODO to check request size, which could be a DoS vector for large JSON payloads. Otherwise, input validation for tools relies on Zod or custom validators, and tool handlers themselves seem to include basic error checks (e.g., division by zero, factorial limits), which is good.

Similar Servers

Stats

Interest Score34
Security Score3
Cost ClassLow
Avg Tokens100
Stars19
Forks4
Last Update2026-01-05

Tags

MCPCalculatorToolsJSON-RPCTypeScript