Back to Home
Scarmonit icon

mcp-server-cloudflare

by Scarmonit

Overview

A Model Context Protocol (MCP) server providing site monitoring, analytics, web diagnostics, and remote terminal agent management for AI clients like Claude.

Installation

Run Command
npx tsx src/server.ts

Environment Variables

  • API_KEY
  • WEBHOOK_SECRET
  • NODE_ENV
  • CF_API_TOKEN
  • MCP_OBJECT
  • TERMINAL_AGENT

Security Notes

CRITICAL SSRF VULNERABILITY: The 'web_scrape' and 'http_request' tools in `src/ai-enhanced-tools.ts` do not implement the robust Server-Side Request Forgery (SSRF) protections found in other tools. This allows a malicious actor or an AI agent to make requests to arbitrary internal IP addresses and reserved hostnames (e.g., cloud metadata endpoints, internal network services), potentially exposing sensitive information or facilitating further attacks. Additionally, the 'terminal_execute' tool, while core to the agent's function, allows arbitrary command execution, which needs strict control and auditing at the MCP client or AI level. All other network-related tools like 'check_site_health', 'dns_lookup', 'check_ssl', 'measure_performance', 'analyze_headers', 'whois_lookup', 'schedule_monitor', and 'scan_ports' properly implement SSRF protection.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassMedium
Avg Tokens500
Stars0
Forks0
Last Update2025-12-29

Tags

MCPCloudflare WorkersMonitoringAnalyticsTerminal AgentsNode.js