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.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Cloudflare Workers MCP server: ai-agent-scratchpad
Read-only, no-auth MCP server over Human x AI's Content Hub and confirmed 2027 facts.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
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.1002MIT
- AlicenseNot gradedqualityDmaintenanceA 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