mcp-server-n8n
by kaoosurf-a11y
Overview
Provides a Model Context Protocol (MCP) server for n8n to expose custom tools, starting with a mathematical expression evaluator.
Installation
npm startSecurity Notes
The server uses `mathjs.evaluate(input)` to process user-provided mathematical expressions. While `mathjs.evaluate` is generally safer than raw `eval()`, it still executes arbitrary user input as code within a mathematical context. This poses a potential risk for denial-of-service (e.g., very complex or long expressions) or, in highly unlikely scenarios, sandbox escapes if a fundamental vulnerability were found in the mathjs library. Input for the 'calculate' tool should be sanitized or validated if coming from untrusted sources.
Similar Servers
cal-tool
A command-line utility for evaluating mathematical expressions, supporting direct calculations and integration as an MCP server.
MCP-server
Provides a Model Context Protocol (MCP) server for basic arithmetic operations (add, subtract, multiply, divide).
mcpserverexample
Provides a Model Context Protocol (MCP) server that exposes a simple 'add' tool for numerical operations.
math-mcp-server
This server provides a comprehensive suite of 70+ mathematical operations through the Model Context Protocol (MCP) for integration with AI assistants and compatible clients.