ai-plugin
AI assistant plugin for Control Plane: Claude Code, Codex, Antigravity, and MCP workflows for deploying, troubleshooting, and managing multi-cloud workloads.
Documentation
Control Plane AI Plugin
Run containerized workloads across AWS, GCP, Azure, OCI, and your own hardware under one API. It loads Control Plane's domain knowledge, production guardrails, and live MCP tools into Claude Code, Codex, and Antigravity CLI so your assistant can deploy, troubleshoot, secure, and migrate workloads with verified `cpln` commands.
Installation
Claude Code
/plugin marketplace add https://github.com/controlplane-com/ai-plugin.git
/plugin install cpln@controlplane
/reload-pluginsUpdate with `/plugin marketplace update controlplane` then `/reload-plugins` (third-party marketplaces don't auto-update unless you enable it in `/plugin` → Marketplaces).
Alternatively, install from Anthropic's community plugin marketplace, where every listing has passed Anthropic's review:
/plugin marketplace add anthropics/claude-plugins-community
/plugin install cpln@claude-community
/reload-pluginsCodex
codex plugin marketplace add https://github.com/controlplane-com/ai-plugin.gitStart Codex, open `/plugins`, and install `cpln`. Guardrail injection needs plugin hooks, which Codex gates off by default — enable them in `~/.codex/config.toml` and restart:
[features]
plugins = true
plugin_hooks = trueUpdate with `codex plugin marketplace upgrade controlplane`, then restart Codex.
Antigravity CLI
Install the plugin with Antigravity CLI (`agy`):
agy plugin install https://github.com/controlplane-com/ai-plugin/plugins/cplnGeneric MCP client
Point any other MCP client at the hosted server:
{
"mcpServers": {
"cpln": {
"type": "http",
"url": "https://mcp.cpln.io/mcp?toolsets=full"
}
}
}Authentication
MCP uses OAuth 2.1 + PKCE. Sign in to let the assistant act on your Control Plane organizations — you choose which orgs it may operate on, and the token is scoped to those orgs and enforced server-side on every call. Sign in again to change the grant. Treat MCP access as production access to the orgs you grant. How to sign in:
- Claude Code — `/mcp`, select `cpln`, sign in (or `claude mcp login cpln`).
- Codex — `codex mcp login cpln`.
- Antigravity CLI — `/mcp`, select `cpln`, authenticate.
Environment variables
Optional — only for the `cpln` CLI workflows some skills generate (CI/CD, Terraform, Pulumi). See `.env.example`.
| Variable | Purpose |
|---|---|
| `CPLN_TOKEN` | Service-account token for `cpln` CLI calls (sensitive). |
| `CPLN_ORG` | Default organization. |
| `CPLN_GVC` | Default GVC. |
| `CPLN_PROFILE` | Local `cpln` CLI profile. |
Usage
Ask in natural language — the assistant routes to the right skill or agent:
- "Troubleshoot why my `payments-api` workload in `production` keeps restarting."
- "Put `app.example.com` in front of my `web` workload with auto-TLS."
- "Give my `analytics` workload credential-free read access to S3 bucket `prod-event-logs` — no IAM keys."
- "Provision a production Postgres with HA failover and S3 backups."
- "Convert this `kustomization.yaml` to Control Plane and apply it to `staging` after I confirm."
Two workflows also have slash commands in Claude Code — `/cpln:troubleshoot WORKLOAD` and `/cpln:migrate-k8s FILE`; in other clients, ask for the same workflows by name.
What's included
- Domain skills across CLI usage, access control, autoscaling, networking, observability, migration, templates, stateful storage, and security.
- Two guided agents: workload troubleshooting and Kubernetes / Compose / Helm migration.
- An always-on guardrail rule the assistant applies in every session.
- Pre-configured access to the hosted Control Plane MCP server.
Security
- MCP access is production access — scoped to the orgs you grant and your own RBAC.
- Destructive actions (deleting resources, shrinking/deleting volumes, replacing workloads, applying to production) require explicit confirmation.
- Secret values are never exposed through the MCP tools — secrets surface as metadata only.
- The plugin stores no logs, secrets, prompts, or telemetry; your AI client and model provider process prompts per their own policies.
Report vulnerabilities per SECURITY.md.
More
- Contributing: CONTRIBUTING.md
- Docs: docs.controlplane.com · Support: `support@controlplane.com` or Slack
- License: MIT — see LICENSE
Frequently asked questions
What is ai-plugin?
ai-plugin is AI assistant plugin for Control Plane: Claude Code, Codex, Antigravity, and MCP workflows for deploying, troubleshooting, and managing multi-cloud workloads.
How do I install ai-plugin?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is ai-plugin open source?
Yes — it is hosted on GitHub at https://github.com/controlplane-com/ai-plugin and has 10 stars.
Related MCP tools
Open-source coding agent memory. Records issues, attempts, fixes and decisions, then warns your agent before it repeats an approach that already failed. Native MCP server for Claude Code, Cursor, Antigravity and Codex. 100% local, no cloud, no telemetry. MIT.
eBPF-powered network observability for Kubernetes. Indexes L4/L7 traffic with full K8s context, decrypts TLS without keys. Queryable by AI agents via MCP and humans via dashboard.
An AI Gateway, registry, and proxy that sits in front of any MCP, A2A, or REST/gRPC APIs, exposing a unified endpoint with centralized discovery, guardrails and management. Optimizes Agent & Tool calling, and supports plugins.
The missing open-source Kubernetes UI with a built-in MCP server for AI agents. See what's broken, why, and what changed. Issues, Topology, event timeline, Helm, GitOps, live service traffic, and cluster audits - all in one Go binary.
👾 Open Computer Use – Open-Source Alternative to Codex Computer Use
MCP server and Claude plugin for Postgres skills and documentation. Helps AI coding tools generate better PostgreSQL code.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP