Skip to main content
Glama
masaro-media

masaro-infra-mcp

Official
by masaro-media

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_connection

  • Umgebungsvalidierung: infra_validate_environment

  • Automatische 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 dev

Produktionsstart:

npm run build
npm start

Cursor / 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 up

Der Container läuft als nicht-root User mcp. Secrets werden über .env oder die Shell-Umgebung injiziert.

Umgebungsvariablen

Variable

Beschreibung

Standard

CLOUDFLARE_API_TOKEN

Cloudflare API Bearer Token

erforderlich

CLOUDFLARE_ACCOUNT_ID

Cloudflare Account ID

erforderlich

CLOUDFLARE_ZONE_ID

Standard-Zone für DNS/Zone-Tools

erforderlich

COOLIFY_API_URL

Basis-URL der Coolify-Instanz

erforderlich

COOLIFY_API_TOKEN

Coolify API Token

erforderlich

MASARO_CLOUD_DOMAIN

Primäre Masaro-Domain

masaro.cloud

MCP_ALLOW_WRITES

Schreibende Tools aktivieren (v2)

false

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_environment

Sicherheit

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_record

  • cloudflare_create_tunnel_route

  • cloudflare_create_access_app

  • coolify_create_project

  • coolify_create_application

  • coolify_trigger_deployment

  • coolify_set_environment_variable

Lizenz

Proprietär — Masaro Media.

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    C
    quality
    A
    maintenance
    A 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.
    100
    910
    1
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    A 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
  • A
    license
    -
    quality
    C
    maintenance
    A secure, production-grade MCP server that provides filesystem operations, AST math evaluation, and system diagnostics for LLM agents.
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

  • Scans MCP servers for tool poisoning, prompt injection and supply chain risks.

  • Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/masaro-media/masaro-infra-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server