Skip to main content
Glama
PlugLayer MCP Server

PlugLayer MCP Server

Official
by pluglayer

PlugLayer MCP-Server

Stellen Sie Ihre Infrastruktur bereit und verwalten Sie diese mittels natürlicher Sprache mit jedem MCP-kompatiblen KI-Assistenten.

Installation

Option 1: uvx (empfohlen — keine Installation erforderlich)

PLUGLAYER_API_KEY=your-pluglayer-api-token uvx pluglayer-mcp

Optional:

PLUGLAYER_API_BASE_URL=https://api.pluglayer.com

Option 2: pip

pip install pluglayer-mcp
PLUGLAYER_API_KEY=your-pluglayer-api-token pluglayer-mcp

Related MCP server: hostman-mcp-server

Konfiguration

Claude Desktop

Hinzufügen zu ~/.config/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "pluglayer": {
      "command": "uvx",
      "args": ["pluglayer-mcp"],
      "env": {
        "PLUGLAYER_API_KEY": "your-pluglayer-api-token",
        "PLUGLAYER_API_BASE_URL": "https://api.pluglayer.com"
      }
    }
  }
}

Cursor

Hinzufügen zu ~/.cursor/mcp.json:

{
  "pluglayer": {
    "command": "uvx",
    "args": ["pluglayer-mcp"],
    "env": {
      "PLUGLAYER_API_KEY": "your-pluglayer-api-token",
      "PLUGLAYER_API_BASE_URL": "https://api.pluglayer.com"
    }
  }
}

Remote HTTP (gehostet)

Der Remote-MCP-Server läuft unter mcp.pluglayer.com. Übergeben Sie Ihr Token wie folgt:

Authorization: Bearer your-pluglayer-api-token

Verhalten der API-Basis-URL

  • PLUGLAYER_API_BASE_URL ist die bevorzugte Umgebungsvariable für den Ursprung der Backend-API.

  • Wenn sie nicht gesetzt oder leer ist, verwendet der MCP standardmäßig https://api.pluglayer.com.

  • PLUGLAYER_API_URL wird während der Migration weiterhin als Legacy-Fallback akzeptiert.

Verfügbare Tools

Der MCP ruft das PlugLayer FastAPI-Backend auf, anstatt die Backend-Geschäftslogik neu zu implementieren. Authentifizierung, Rollen, Eigentümerschaft, Compute-Guards, k3s-Orchestrierung und Admin-Prüfungen verbleiben im Backend. MCP- und Editor-Plugins sollten sich mit einem PlugLayer API-Token authentifizieren, das auf der PlugLayer-Einstellungsseite erstellt wurde, nicht mit dem Browser-/Sitzungs-Authentifizierungstoken.

Verwaltete Registries werden von PlugLayer-Administratoren in der Plattform-UI/API konfiguriert. Wenn deploy_image Mirroring verwendet, wählt das Backend eine Registry aus, die der aktuelle Benutzer verwenden darf, und hält Kubernetes-Pull-Secrets automatisch synchron.

Tool

Beschreibung

get_current_user

Zeigt den Authentik-basierten Benutzer und die roles an

list_projects

Listet die Projekte des authentifizierten Benutzers auf

create_project

Erstellt einen neuen Projekt-Namespace

get_project

Ruft Projektdetails ab

get_compute_summary

Zeigt die persönliche + geteilte Rechenkapazität auf Kontoebene an

list_nodes

Listet zugängliche Rechenknoten auf

add_node_ssh

Fügt einen persönlichen SSH-Knoten hinzu, der von allen Projekten des Benutzers genutzt werden kann

list_registries

Listet die aktuell für den Benutzer verfügbaren Registries auf

deploy_image

Spiegelt ein Docker-Image in den verwalteten Docker Hub-Namespace von PlugLayer und stellt es nach Backend-Compute-Prüfungen bereit

deploy_compose

Stellt nach Backend-Compute-Prüfungen aus einer docker-compose.yml bereit

list_deployments

Listet laufende Apps/Deployments auf

get_deployment_status

Überprüft App-Status und URL

get_logs

Ruft App-Logs ab

redeploy

Stellt eine App erneut bereit

rollback

Führt ein Rollback auf die vorherige Version durch

delete_deployment

Löscht eine App

list_project_domains

Listet benutzerdefinierte Domains für ein Projekt auf

add_custom_domain

Fügt eine einzelne oder Wildcard-benutzerdefinierte Domain hinzu und gibt DNS-Einträge zurück

verify_custom_domain

Überprüft TXT/CNAME DNS und aktiviert die Domain, falls angehängt

attach_custom_domain

Hängt eine verifizierte benutzerdefinierte Domain an eine App an

detach_custom_domain

Trennt eine Domain, behält aber die Verifizierung bei

remove_custom_domain

Entfernt eine Domain und deren Route

get_task_status

Fragt den Fortschritt asynchroner Vorgänge ab

admin_get_overview

Plattform-Übersicht nur für Administratoren

admin_set_compute_defaults

Standard-Compute-Kontingent-Metadaten nur für Administratoren

admin_set_node_shared

Markiert einen Knoten als geteilt/privat (nur für Administratoren)

admin_add_shared_ssh_node

Fügt geteilte PlugLayer SSH-Compute hinzu (nur für Administratoren)

generate_github_actions

Ruft CI/CD-Pipeline YAML ab

get_cluster_health

Überprüft den Cluster-Status

Beispielkonversationen

Stellen Sie Ihre erste App bereit:

"Ich habe eine FastAPI-App unter ghcr.io/myorg/api:latest, die auf Port 8000 läuft. Stelle sie in meinem production-Projekt bereit."

Konvertieren Sie docker-compose:

"Hier ist meine docker-compose.yml: [einfügen]. Stelle dies auf PlugLayer bereit."

Fügen Sie einen Knoten hinzu:

"Füge meinen Server unter 192.168.1.100 als persönlichen Compute hinzu. Hier ist mein SSH-Schlüssel: [einfügen]"

CI/CD-Einrichtung:

"Generiere einen GitHub Actions-Workflow für mein api-Deployment, damit es bei einem Push auf main automatisch bereitgestellt wird."

Fügen Sie eine benutzerdefinierte Domain hinzu:

"Füge api.example.com zu meinem Produktionsprojekt hinzu, zeige mir die DNS-Einträge, verifiziere sie dann und hänge sie an meine API-App an."

Erhalt Ihres API-Schlüssels

  1. Gehen Sie zu den PlugLayer-Einstellungen

  2. Erstellen Sie ein PlugLayer API-Token

  3. Kopieren Sie es einmal und speichern Sie es sicher

  4. Verwenden Sie es als PLUGLAYER_API_KEY für MCP, Editor-Plugins und CI/CD-Webhook-Deployments

Available Tools

70 tools
add_custom_domainB

Add a custom domain after provider detection. Pass the confirmed provider_name and authoritative dns_zone. GoDaddy apex domains are rejected before API creation because GoDaddy cannot publish CNAME @; use www plus apex forwarding.

Inputs: domain (required), project_id (required), mode, app_id, +2 more. Returns: result

analyze_compose_deploy_planA

Analyze a docker-compose.yml and show how PlugLayer will split it into marketplace databases, separate compose services, and local-build services.

Inputs: project_id (required), compose_yaml (required). Returns: result

apply_app_env_varsA

Import runtime env vars into an existing app from dotenv/KEY=VALUE, JSON, YAML text, or a direct key/value object, then optionally restart it. Pass file content, never a local/server file path. Values are not returned.

Inputs: app_id (required), merge, env_vars, env_content, +3 more. Returns: result

attach_custom_domainA

Attach a verified custom domain to an app. Set make_primary=true if you want it to become the app's main URL.

Inputs: app_id (required), domain_id (required), make_primary. Returns: result

attach_node_to_projectA

Attach one available dedicated node to a project. Owner-only and idempotent. After attaching, call get_compute_summary(project_id) before deploying.

Inputs: node_id (required), project_id (required). Returns: result

check_database_slug_availabilityA

Check whether a database/Data Layer slug is available in a project before provisioning or renaming a database.

Inputs: slug (required), project_id (required), exclude_database_id. Returns: result

check_slug_availabilityA

Check whether a PlugLayer slug is available inside a project before deploying or renaming an app/database.

Inputs: slug (required), project_id (required), exclude_app_id. Returns: result

create_databaseA

Provision a database from a ready marketplace template. The MCP tool resolves required DB names and secret-like template fields here, including random password generation, before sending the deploy request.

Inputs: app_name (required), template_id (required), cpu_limit, project_id, +7 more. Returns: result

create_projectA

Create a PlugLayer project namespace. Project creation only requires authentication. Deployment still requires account-level compute; check get_compute_summary before deploying.

Inputs: name (required), description, domain_type. Returns: result

delete_appD

Alias for remove_app() using app wording.

Inputs: app_id (required). Returns: result

delete_databaseD

Alias for remove_database().

Inputs: database_id (required). Returns: result

delete_deploymentB

Alias for remove_app() for clients still using deployment wording.

Inputs: deployment_id (required). Returns: result

delete_projectD

Alias for remove_project().

Inputs: project_id (required). Returns: result

deploy_composeA

Analyze docker-compose.yml, split it into separate deploy units, provision known databases through Data Layer, and deploy the remaining services as separate apps. If any service uses a local Docker build, provide local_image_archives keyed by service name after building and exporting those images.

Inputs: project_id (required), compose_yaml (required), app_name, route_slug, +3 more. Returns: result

deploy_imageA

Deploy a pullable Docker image after PlugLayer mirrors it into a verified private managed repository. There is no public/direct-image bypass. For a local-only image built on the user's machine, use upload_image_archive_and_deploy() instead.

Inputs: name (required), image (required), project_id (required), tag, +10 more. Returns: result

deploy_marketplace_templateA

Deploy a marketplace template into an existing project or a brand-new project created during the same flow. Secret-like required env vars are auto-resolved here before the deploy request is sent.

Inputs: app_name (required), template_id (required), cpu_limit, project_id, +7 more. Returns: result

detach_custom_domainA

Detach a custom domain from its app while keeping verification.

Inputs: domain_id (required). Returns: result

detach_node_from_projectA

Detach a dedicated node from a project. Active apps block detachment. Set confirm=true only after the user explicitly confirms this change.

Inputs: node_id (required), project_id (required), confirm. Returns: result

detect_custom_domain_providerB

Detect the likely DNS/domain provider for a custom domain from public NS records so the agent can confirm it with the user before showing tailored DNS steps.

Inputs: domain (required). Returns: result

estimate_computeA

Estimate the compute needed for a described workload and return a tailored PlugLayer offer link. This is the preferred first step before telling the user to purchase, reserve, or add more compute, and the agent should present the returned link as the user's next confirmation step.

Inputs: use_case, components, expected_requests_per_minute, expected_monthly_active_users. Returns: result

exec_app_terminalA

Run a shell command inside the user's own deployed app container and return the result. Uses a fixed 360-second backend timeout. Keep input at or below 10,000 characters and about 350 lines. This is limited to the caller's app pod only.

Inputs: app_id (required), command (required). Returns: result

generate_github_actionsB

Generate a GitHub Actions workflow YAML that builds an OCI archive and uploads it to PlugLayer for the same app.

Inputs: app_id (required), project_id (required), repo, repo_path. Returns: result

get_app_connection_env_varsA

Get env vars and connection fields for an app. Use this after provisioning so you can update dependent apps with the right URLs or connection strings.

Inputs: app_id (required). Returns: result

get_app_logsD

Alias for get_logs() using app terminology.

Inputs: app_id (required), lines. Returns: result

get_apps_by_projectA

List apps for a specific project. Use this before a new deploy when the project may already contain the same app and you need to clarify update vs replace vs separate new app. If the project already has a similar app and the namespace is full, prefer update or replace flow instead of a brand-new app.

Inputs: project_id (required). Returns: result

get_compose_local_build_commandsA

Analyze a docker-compose.yml and return exact docker buildx, smoke-test, and OCI-export commands for any local-build services before they are uploaded to PlugLayer.

Inputs: project_id (required), compose_yaml (required), workspace_root, image_tag_prefix. Returns: result

get_compute_summaryA

Show accessible compute. Pass project_id for a project-scoped view that includes the nodes attached to that project and per-node usage. If the user is still planning capacity, prefer estimate_compute() first, then use the returned offer link to purchase or request the right amount.

Inputs: project_id. Returns: result

get_current_userA

Show the authenticated PlugLayer user and roles from Authentik.

Inputs: no named parameters. Returns: result

get_database_connection_detailsA

Get a provisioned database's connection strings, env vars, and docs so you can wire other apps automatically.

Inputs: database_id (required). Returns: result

get_database_logsB

Get recent logs from a provisioned database.

Inputs: database_id (required), lines. Returns: result

get_deployment_statusA

Get current app/deployment status and public URL.

Inputs: deployment_id (required). Returns: result

get_domains_by_projectA

Alias for list_project_domains() using project-first wording. Use this before asking the user which domain they want so existing project domains can be offered as options.

Inputs: project_id (required). Returns: result

get_feedbackA

Get one feedback ticket owned by the authenticated PlugLayer user.

Inputs: feedback_id (required). Returns: result

get_logsC

Get recent logs from an app.

Inputs: deployment_id (required), lines. Returns: result

get_marketplace_templateA

Get one marketplace template, including env var requirements. Use this before template deployment so you can resolve secrets and choose project flow correctly.

Inputs: template_id_or_slug (required). Returns: result

get_my_available_computeA

Show the current user's available compute in an end-user friendly format. When capacity is unclear, call estimate_compute() before recommending any purchase or allocation decision.

Inputs: no named parameters. Returns: result

get_my_available_computesA

Alias for get_my_available_compute(). When the user has not sized their workload yet, estimate_compute() should usually come first.

Inputs: no named parameters. Returns: result

get_my_projectsA

Alias for list_projects() using end-user wording.

Inputs: no named parameters. Returns: result

get_projectA

Get project details for one of the authenticated user's projects.

Inputs: project_id (required). Returns: result

get_shared_compute_pricingA

Show the admin-defined unit pricing for shared compute reservations plus the currently unreserved shared pool. Read-only: direct the user to the PlugLayer web app (Compute -> Add Compute -> Buy shared compute) to actually purchase a reservation.

Inputs: no named parameters. Returns: result

get_task_statusB

Check async operation status, progress, result URL, or error.

Inputs: task_id (required). Returns: result

get_user_contextA

Load the caller's stored PlugLayer user context memory. Use this at the start of a session when prior project/app/domain preferences may matter.

Inputs: no named parameters. Returns: result

inspect_local_github_repoA

Check whether the local repo exists, has git initialized, and points at a GitHub origin.

Inputs: repo_path. Returns: result

list_attachable_project_nodesA

List the authenticated project owner's dedicated nodes and whether each is available, already attached here, or attached to another project. Use this when project compute is missing before a deploy.

Inputs: project_id (required). Returns: result

list_database_templatesA

List database-ready marketplace templates. Use this first when the user asks to provision a database through PlugLayer.

Inputs: no named parameters. Returns: result

list_deploymentsD

List apps. Optionally filter by project_id.

Inputs: project_id. Returns: result

list_marketplace_templatesA

List deployable marketplace templates. Use this before deploying a ready-made template through PlugLayer.

Inputs: search, category, test_state, featured_only. Returns: result

list_my_feedbackA

List feedback submitted by the authenticated PlugLayer user.

Inputs: limit. Returns: result

list_nodesA

List compute nodes accessible to the authenticated user. Pass project_id to list only the nodes backing that project (a dedicated node serves one project; shared nodes serve many projects at once).

Inputs: project_id. Returns: result

list_pluglayer_compute_optionsA

List PlugLayer marketplace compute options the user can buy. Use this after estimate_compute() when you want real purchasable machine choices instead of abstract resource units.

Inputs: tags, min_gpu_gb, min_ram_gb, tshirt_size, +2 more. Returns: result

list_project_domainsC

List custom domains for a project and show their verification state.

Inputs: project_id (required). Returns: result

list_projectsB

List the authenticated user's projects.

Inputs: no named parameters. Returns: result

list_registriesA

List registry destinations available to the current user.

Inputs: no named parameters. Returns: result

list_user_databasesA

List the authenticated user's databases, optionally filtered to one project.

Inputs: project_id. Returns: result

redeployA

Redeploy an existing app without changing its current slug. Confirm the exact app name with the user first and pass it here. Default to recreate to minimize temporary live compute usage; use rolling only when the user explicitly prefers lower-downtime rollout behavior.

Inputs: deployment_id (required), confirmed_app_name (required), redeploy_strategy. Returns: result

remove_appA

Remove one of the authenticated user's apps. This deletes the runtime workload and revokes its active routing while marking the app as removed in PlugLayer.

Inputs: app_id (required). Returns: result

remove_databaseB

Remove one of the caller's provisioned databases, including its runtime workload and active routing.

Inputs: database_id (required). Returns: result

remove_projectA

Remove one of the authenticated user's projects. PlugLayer removes the project's apps first, then tears down the project and archives the record for recovery/history.

Inputs: project_id (required). Returns: result

rename_projectA

Rename a PlugLayer project's display name.

This does not change the project's slug, Kubernetes namespace, or existing app URLs.

Inputs: new_name (required), project_id (required). Returns: result

restart_appA

Restart an app by queueing a redeploy. Default to recreate to optimize compute usage; use rolling only when lower downtime matters more than temporary headroom.

Inputs: app_id (required), redeploy_strategy. Returns: result

restart_databaseB

Restart a provisioned database by queueing its redeploy/restart flow.

Inputs: database_id (required). Returns: result

rollbackB

Roll back an app to a previous revision.

Inputs: deployment_id (required), revision. Returns: result

submit_feedbackA

Submit safe, actionable product feedback for the authenticated user.

Use after explicit user requests, or automatically once after an actionable PlugLayer operation failure. Ask before submitting inferred, non-blocking improvement ideas. Never include credentials, environment values, private source, or full logs.

Inputs: title (required), description (required), category, page_url, +6 more. Returns: result

sync_database_env_to_appA

Update one deployed app's env vars using a provisioned database's concrete connection details, then restart the existing app.

Inputs: app_id (required), database_id (required), add_missing_connection_fields. Returns: result

update_app_domainA

Update the app's default pluglayer.io route slug. Use this when the user chooses the built-in subdomain now and may switch to a custom domain later.

Inputs: app_id (required), route_slug (required). Returns: result

update_database_accessA

Update a provisioned database's public TCP IP allowlist. Pass an empty list to allow all IPs again.

Inputs: database_id (required), tcp_allowed_cidrs. Returns: result

update_user_contextB

Update the caller's stored PlugLayer user context memory. Use this carefully for durable preferences, project/app mappings, prior decisions, and user-specific deployment habits.

Inputs: context_patch (required), merge. Returns: result

upload_image_archive_and_deployA

Upload a locally built Docker/OCI image archive to PlugLayer. If the target app already exists in the project, upload to that app first and redeploy it; otherwise create a new app from the mirrored image.

Inputs: name (required), project_id (required), image_archive_path (required), tag, +10 more. Returns: result

upload_image_archive_and_redeploy_appB

Rebuild flow for existing apps: upload a newly built image archive, push it with a new tag, keep the current slug, and redeploy the existing app.

Inputs: app_id (required), image_archive_path (required), tag, registry_id, +2 more. Returns: result

verify_custom_domainA

Verify a custom domain after DNS is added. Pass provider_name and dns_zone so an existing GoDaddy apex record gets actionable www + forwarding recovery guidance.

Inputs: domain_id (required), dns_zone, provider_name. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.7/5.0

    Scored across 70 tools

    Disambiguation2/5

    Many tools are near-duplicates or aliases (e.g., list_projects/get_my_projects, remove_database/delete_database, remove_app/delete_deployment/delete_app, get_app_logs/get_logs, get_my_available_compute/get_my_available_computes). This creates ambiguity about which variant is canonical or whether behavior differs. The project/node/compute/deploy/domain surface has overlapping concepts that require careful reading.

    Naming Consistency3/5

    Most names use verb_noun (list_projects, deploy_image, get_compute_summary), but there are inconsistent patterns: aliases (delete_ vs remove_ vs get_ vs list_), mixed styles (get_apps_by_project vs list_project_domains, get_my_available_compute vs get_my_available_computes), and some verbs like 'check_' 'detect_' 'submit_' are fine but the overall pattern is not uniform.

    Tool Count1/5

    70 tools is excessive for a single MCP server. While the domain (deployments, databases, compute, domains, feedback) is broad, this count overwhelms an agent. Many tools are aliases or minor variants that could be consolidated into parameterized calls. This is far beyond a typical well-scoped server.

    Completeness4/5

    The surface covers core lifecycle operations for projects, apps, databases, compute, domains, and feedback, including status checks and env var management. Minor gaps exist (e.g., no explicit database update besides access restart/remove, no explicit project member management), but the main workflows are covered. Aliases actually help ensure no obvious dead ends for common terms.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables infrastructure operations including provisioning, configuration, monitoring, compliance auditing, and auto-remediation through natural language, using Terraform and Ansible tools exposed over MCP.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Cloud infrastructure provisioning via natural language. Enables deploying production-ready infrastructure on AWS, GCP, Azure, or Oracle with a single prompt.
      12
      9 npm
      MIT