PlugLayer MCP Server
OfficialProvides authentication and user role management via Authentik, enabling user identity and access control for the platform.
Allows deploying Docker images and Docker Compose applications to managed infrastructure.
Enables CI/CD integration by generating GitHub Actions workflows for automated deployments.
Generates GitHub Actions workflows for automated deployment on push to specified branches.
Click on "Install 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., "@PlugLayer MCP ServerDeploy image ghcr.io/myorg/api:latest to production project."
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.
PlugLayer MCP Server
Deploy and manage your infrastructure through natural language with any MCP-compatible AI assistant.
Installation
Option 1: uvx (recommended — no install needed)
PLUGLAYER_API_KEY=your-pluglayer-api-token uvx pluglayer-mcpOptional:
PLUGLAYER_API_BASE_URL=https://api.pluglayer.comOption 2: pip
pip install pluglayer-mcp
PLUGLAYER_API_KEY=your-pluglayer-api-token pluglayer-mcpConfiguration
Claude Desktop
Add to ~/.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
Add to ~/.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 (hosted)
The remote MCP server runs at mcp.pluglayer.com. Pass your token as:
Authorization: Bearer your-pluglayer-api-tokenAPI base URL behavior
PLUGLAYER_API_BASE_URLis the preferred environment variable for the backend API origin.If it is unset or empty, the MCP defaults to
https://api.pluglayer.com.PLUGLAYER_API_URLis still accepted as a legacy fallback during migration.
Available Tools
The MCP calls the PlugLayer FastAPI backend instead of re-implementing backend business logic. Auth, roles, ownership, compute guards, k3s orchestration, and admin checks remain in the backend. MCP and editor plugins should authenticate with a PlugLayer API token created in the PlugLayer Settings page, not the browser/session auth token.
Managed registries are configured by PlugLayer admins in the platform UI/API. When deploy_image uses mirroring, the backend picks a registry the current user is allowed to use and keeps Kubernetes pull secrets in sync automatically.
Tool | Description |
| Show the Authentik-backed user and |
| List authenticated user's projects |
| Create a new project namespace |
| Get project details |
| Show account-level personal + shared compute capacity |
| List accessible compute nodes |
| Add a personal SSH node usable by all of the user's projects |
| List the registries currently available to the user |
| Mirror a Docker image into PlugLayer's managed Docker Hub namespace, then deploy it after backend compute checks |
| Deploy from docker-compose.yml after backend compute checks |
| List running apps/deployments |
| Check app status and URL |
| Get app logs |
| Redeploy an app |
| Roll back to previous version |
| Delete an app |
| List custom domains for a project |
| Add a single or wildcard custom domain and return DNS records |
| Verify TXT/CNAME DNS and activate if attached |
| Attach a verified custom domain to an app |
| Detach a domain while keeping verification |
| Remove a domain and its route |
| Poll async operation progress |
| Admin-only platform summary |
| Admin-only default compute quota metadata |
| Admin-only mark node shared/private |
| Admin-only add shared PlugLayer SSH compute |
| Get CI/CD pipeline YAML |
| Check cluster status |
Example Conversations
Deploy your first app:
"I have a FastAPI app at
ghcr.io/myorg/api:latestthat runs on port 8000. Deploy it to myproductionproject."
Convert docker-compose:
"Here's my docker-compose.yml: [paste]. Deploy this to PlugLayer."
Add a node:
"Add my server at 192.168.1.100 as personal compute. Here's my SSH key: [paste]"
CI/CD setup:
"Generate a GitHub Actions workflow for my
apideployment so it auto-deploys on push to main."
Add a custom domain:
"Add
api.example.comto my production project, show me the DNS records, then verify it and attach it to my API app."
Getting Your API Key
Go to PlugLayer Settings
Create a PlugLayer API token
Copy it once and store it safely
Use it as
PLUGLAYER_API_KEYfor MCP, editor plugins, and CI/CD webhook deploys
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/pluglayer/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server