Back to Home
gtrevize icon

mcp-network

Verified Safe

by gtrevize

Overview

A comprehensive, secure MCP (Model Context Protocol) server for AI agents to perform remote network testing, validation, and diagnostics.

Installation

Run Command
npm run start:both

Environment 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

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens100
Stars0
Forks0
Last Update2025-11-18

Tags

network-testingai-agentssecuritydevopsrbac