mcp
Verified Safeby 0brym
Overview
A modular, config-driven Model Context Protocol (MCP) server designed to expose a variety of configurable tools (filesystem, shell, HTTP, utilities) to AI agents via JSON-RPC over stdio, with a strong emphasis on security through configuration.
Installation
node server.jsEnvironment Variables
- LOG_LEVEL
Security Notes
The server explicitly prioritizes 'security by configuration' and implements mechanisms like path restrictions for filesystem operations, command whitelisting/blacklisting for shell execution, and domain filtering for HTTP requests. However, it utilizes powerful primitives: 'plugins/shell.js' directly executes shell commands via `child_process.exec`, and 'plugins/utils.js' includes a 'calculate' tool that uses the `Function` constructor (similar to `eval`) for mathematical expressions. While input sanitization and configurable restrictions are in place, these methods can introduce significant vulnerabilities if the configuration is not carefully managed or if the sanitization/whitelisting logic contains flaws. Misconfiguration, particularly by enabling broad shell commands or paths, could lead to severe system compromise. The server's security is highly dependent on the user's careful and restrictive configuration.
Similar Servers
tmcp
Build Model Context Protocol (MCP) servers for AI agents, providing schema-agnostic tools, resources, and prompts, with optional OAuth 2.1 authentication and distributed session management.
claude-prompts-mcp
Manages hot-reloadable prompt templates, structured reasoning, and multi-step chain workflows to enhance AI assistant interactions through a Model Context Protocol (MCP) compatible server.
zeromcp
A minimal, pure Python Model Context Protocol (MCP) server for exposing tools, resources, and prompts via HTTP/SSE and Stdio transports.
docker-mcp-server
Provides a containerized Model Context Protocol (MCP) server for AI agents to securely execute shell commands and perform file operations via HTTP with bearer token authentication, supporting aggregation of child MCP servers.