mcp-server
Verified Safeby pikachusensei
Overview
Provides a set of regular expression utility tools for validation, replacement, and matching, designed to be exposed as an external tool for AI agents via the Model Context Protocol.
Installation
npx ts-node src/index.tsSecurity Notes
The server directly utilizes user-provided regex patterns and flags for operations like validation, replacement, and matching. This design pattern inherently carries a risk of Regular Expression Denial of Service (ReDoS) if a malicious or overly complex regex is submitted by an untrusted source. Such an attack could consume excessive CPU resources and lead to service unavailability. The provided code does not show explicit safeguards like execution timeouts or resource limits for these regex operations.
Similar Servers
Polymcp
A comprehensive TypeScript framework for building and orchestrating Model Context Protocol (MCP) servers and AI agents, enabling LLMs to intelligently discover, select, and execute external tools.
gofannon
Rapidly prototype AI agents and web UIs, build conversational flows, preview interactions, and deploy agent-driven experiences.
tool-filter-mcp
A proxy server for Model Context Protocol (MCP) that filters available tools from upstream MCP servers based on a regex-based deny list to optimize context for AI agents.
it-tools-mcp
Provides a comprehensive Model Context Protocol (MCP) server offering over 100 IT tools and utilities for developers, system administrators, and IT professionals.