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 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.
mcpserverexample
Provides a Model Context Protocol (MCP) server that exposes a simple 'add' tool for numerical operations.
First-MCP-Server-Project
Provides a set of mathematical and string processing tools to AI assistants via the Model Context Protocol (MCP).