mcp-network
Verified Safeby gtrevize
Overview
A comprehensive, secure MCP (Model Context Protocol) server for AI agents to perform remote network testing, validation, and diagnostics.
Installation
npm run start:bothEnvironment Variables
- JWT_SECRET
- AUTH_TOKEN
- LETSENCRYPT_EMAIL
- NODE_ENV
- LOG_LEVEL
- API_PORT
- API_ENABLED
- API_RATE_LIMIT_MAX
- API_RATE_LIMIT_WINDOW_MS
- CORS_ORIGIN
- ALLOWED_IPS
- TOOL_PING_ENABLED
- TOOL_TRACEROUTE_ENABLED
- TOOL_NMAP_ENABLED
- TOOL_TCPDUMP_ENABLED
- TOOL_IPERF_ENABLED
Security Notes
The server implements robust security measures including JWT authentication with RBAC, comprehensive input validation, and explicit anti-jailbreaking guardrails. It actively checks for malicious patterns like shell injection, path traversal, and dangerous commands. `child_process.exec` and `spawn` are used for tools but with validated inputs and timeouts. The `tls-test` tool intentionally uses `rejectUnauthorized: false` for diagnostic purposes, which is documented and justified. A critical initial setup step requires changing the `JWT_SECRET` from a default `CHANGEME` value, which is actively validated at startup.
Similar Servers
mcp-servers
A curated collection of Model Context Protocol (MCP) server configurations to integrate various developer tools and services with AI agents.
tmcp
A server implementation for the Model Context Protocol (MCP) to enable LLMs to access external context and tools.
mcp-interviewer
A Python CLI tool to evaluate Model Context Protocol (MCP) servers for agentic use-cases, by inspecting capabilities, running functional tests, and providing LLM-as-a-judge evaluations.
toolhive-studio
ToolHive is a desktop application (Electron UI) for discovering, deploying, and managing Model Context Protocol (MCP) servers in isolated containers, and connecting them to AI agents and clients.