masaro-infra-mcp
OfficialProvides read-only tools for Cloudflare infrastructure management, including DNS, tunnels, access apps, and zone settings, via API and DNS-based tunnel discovery.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@masaro-infra-mcprun cloudflare connection test"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
masaro-infra-mcp
Sicherer MCP Server für Masaro Media / Masaro Cloud. Kapselt Infrastruktur-Aktionen gegen Cloudflare und Coolify zentral und gibt KI-Clients nur kontrollierten, read-only Zugriff.
Features
19 read-only MCP Tools für Cloudflare, Coolify, InternetX, Diagnose und Validierung
Multi-Source Cloudflare Tunnel-Erkennung (API + DNS + Teamnet)
Diagnose-Tools:
cloudflare_test_connection,coolify_test_connectionUmgebungsvalidierung:
infra_validate_environmentAutomatische API-Versionserkennung (Coolify) und Retry-Logik (HTTP)
Strikte Sicherheitsregeln (keine Schreibaktionen)
Secrets nur über Environment Variables
Automatische Redaktion sensibler Werte in Logs
Docker- und docker-compose-Support
Vollständige API-Dokumentation: docs/api-matrix.md
Related MCP server: CodeAudit MCP
Voraussetzungen
Node.js 22+
Cloudflare API Token (read-only empfohlen)
Coolify API Token
Zugriff auf die Masaro Cloudflare Zone und den Coolify-Instanz-Endpoint
Schnellstart (lokal)
cp .env.example .env
# .env mit echten Werten füllen — niemals committen
npm install
npm run devProduktionsstart:
npm run build
npm startCursor / MCP Client Konfiguration
Beispiel für .cursor/mcp.json:
{
"mcpServers": {
"masaro-infra-mcp": {
"command": "node",
"args": ["/absoluter/pfad/zu/masaro-infra-mcp/dist/index.js"],
"env": {
"CLOUDFLARE_API_TOKEN": "…",
"CLOUDFLARE_ACCOUNT_ID": "…",
"CLOUDFLARE_ZONE_ID": "…",
"COOLIFY_API_URL": "https://coolify.example.com",
"COOLIFY_API_TOKEN": "…",
"MASARO_CLOUD_DOMAIN": "masaro.cloud",
"MCP_ALLOW_WRITES": "false"
}
}
}
}Alternativ mit tsx während der Entwicklung:
{
"mcpServers": {
"masaro-infra-mcp": {
"command": "npx",
"args": ["tsx", "/absoluter/pfad/zu/masaro-infra-mcp/src/index.ts"],
"env": { "...": "..." }
}
}
}Docker
cp .env.example .env
docker compose build
docker compose upDer Container läuft als nicht-root User mcp. Secrets werden über .env oder die Shell-Umgebung injiziert.
Umgebungsvariablen
Variable | Beschreibung | Standard |
| Cloudflare API Bearer Token | erforderlich |
| Cloudflare Account ID | erforderlich |
| Standard-Zone für DNS/Zone-Tools | erforderlich |
| Basis-URL der Coolify-Instanz | erforderlich |
| Coolify API Token | erforderlich |
| Primäre Masaro-Domain |
|
| Schreibende Tools aktivieren (v2) |
|
Verfügbare Tools
Siehe docs/tools.md und docs/api-matrix.md.
Diagnose starten:
npm run build
# Dann über MCP-Client die Tools aufrufen:
# cloudflare_test_connection
# coolify_test_connection
# infra_validate_environmentSicherheit
Siehe docs/security.md.
Wichtig: Committen Sie niemals .env-Dateien oder API-Tokens.
Roadmap (v2)
Schreibende Tools sind vorbereitet, aber noch nicht implementiert:
cloudflare_create_dns_recordcloudflare_create_tunnel_routecloudflare_create_access_appcoolify_create_projectcoolify_create_applicationcoolify_trigger_deploymentcoolify_set_environment_variable
Lizenz
Proprietär — Masaro Media.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Cloudflare Workers MCP server: ai-agent-scratchpad
One AI endpoint to search and call 22k+ MCP servers; 50+ hosted tools work instantly, no key.
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
Related MCP Servers
- AlicenseCqualityFmaintenanceA comprehensive read-only MCP server for Datadog, providing 117 tools to query logs, APM, metrics, monitors, dashboards, SLOs, and more, with zero write capabilities for safe AI integration.1001,127 npm2MIT
- AlicenseNot gradedqualityCmaintenanceA read-only MCP server for AI coding agents to inspect repositories, audit code quality, route engineering skills, and plan safe issue/PR workflows.1MIT
- AlicenseNot gradedqualityDmaintenanceA secure SSH-based MCP server for diagnosing remote servers. It allows AI agents to execute read-only commands and read files automatically, while requiring user confirmation for write operations.MIT
- AlicenseNot gradedqualityDmaintenanceA secure, production-grade MCP server that provides filesystem operations, AST math evaluation, and system diagnostics for LLM agents.MIT