Crossplane logo

Crossplane

Read and diagnose Crossplane control planes through MCP, with optional guarded provisioning and composition analysis.

Install Crossplane

Run the project’s own setup commands, in order.

Setup steps from the project

Crossplane installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    go install github.com/ravibagri5/crossplane-mcp-server/cmd/crossplane-mcp-server@latest
    
  2. 2. Start the server
    docker run --rm -i \
      -v "${HOME}/.kube:/home/nonroot/.kube:ro" \
      ghcr.io/ravibagri5/crossplane-mcp-server:latest
    
  3. 3. Install
    git clone https://github.com/ravibagri5/crossplane-mcp-server.git
    
  4. 4. Configure
    cd crossplane-mcp-server
    
  5. 5. Install
    make build
    
  6. 6. Check the setup
    ./bin/crossplane-mcp-server tools
    

Overview

The Crossplane MCP server connects AI assistants to a Kubernetes cluster running Crossplane and exposes control-plane-aware tools. It discovers managed resources, composite resources, claims, packages, compositions, and platform APIs, then explains readiness, synchronization, dependency trees, drift, and deletion blockers. Read-only mode is enabled by default; write tools can be registered with --read-only=false for limited Crossplane provisioning, but deletion is never supported. Use it when generic Kubernetes access does not provide enough context about Crossplane relationships or failures.

Use cases

  • Diagnose why a Crossplane claim or managed resource is not ready
  • Trace a claim to the infrastructure resources it created
  • Detect drift between desired and observed infrastructure state
  • Validate or render a Crossplane composition
  • Provision a platform API resource in a development control plane

Key features

  • Read Crossplane resources, claims, packages, and compositions
  • Trace resource references into composition trees
  • Find deepest reconciliation failures
  • Detect infrastructure drift
  • Analyze deletion blockers and impact
  • Optionally provision through discovered platform APIs

Tools33

What Crossplane lets your agent do. Expand a tool for its parameters.

Self-reported~712 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

11/11 checks healthy over the last 43d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars9Stargazers on the source repository.
Last commit27d agoMost recent push to the default branch.
Tools exposed33Callable tools this server registers over MCP.

How Crossplane works

What Crossplane MCP server does

The Crossplane MCP server gives an MCP client read access to a Kubernetes control plane with Crossplane installed. It interprets Crossplane concepts rather than treating every object as an unrelated Kubernetes resource. Discovery is based on Crossplane categories, so the server can work with provider resources without being configured for each provider in advance.

The server can inspect managed resources, composite resources, claims, packages, compositions, and platform APIs declared through XRDs. It reads readiness and synchronization conditions on resources, along with installation and health conditions on packages. It also supports Crossplane v1 and v2 layouts, including namespaced composite resources and the v2 location for Crossplane references.

How it works

The Crossplane MCP server follows resourceRefs to construct a resource tree from a claim or composite resource to the infrastructure beneath it. crossplane_diagnose uses that tree and resource conditions to identify the deepest failing resource instead of reporting only the top-level symptom. crossplane_drift_detect compares desired and observed state, while accounting for paused or Observe-only resources where drift is not automatically corrected.

Other analysis tools identify resources waiting on a Usage, finalizer, or provider, and report the potential impact of a deletion before action is taken. crossplane_composition_render can execute a composition function pipeline offline, but it requires the Crossplane CLI and a container runtime. crossplane_composition_validate provides validation without that rendering runtime.

Setup and configuration

The server requires access to a Kubernetes cluster with Crossplane installed. Crossplane v1 and v2 are supported. Installation options include go install, prebuilt Linux, macOS, and Windows binaries, a container image, or building from source. Installing from source or with go install requires Go 1.26 or newer; binaries and the container do not.

A typical initial check is to run crossplane-mcp-server tools, followed by crossplane-mcp-server call crossplane_status. The container example mounts the local kubeconfig directory read-only.

Tools and capabilities

The Crossplane MCP server is read-only by default. Write tools are not registered unless started with --read-only=false. In write mode, the server can provision through platform APIs discovered from XRD schemas, such as the demonstrated crossplane_database_create operation. It does not delete resources, and write mode is limited to Crossplane kinds rather than arbitrary Kubernetes objects such as Secrets, Deployments, or RBAC rules.

Named capabilities include:

  • crossplane_status for checking control-plane access and status.
  • crossplane_resource_tree for following Crossplane resource references.
  • crossplane_diagnose for locating and explaining deep failures.
  • crossplane_drift_detect for comparing desired and observed state.
  • crossplane_deleting_resources for investigating stalled deletion.
  • crossplane_impact for estimating deletion blast radius.
  • crossplane_composition_render and crossplane_composition_validate for composition analysis.

Limitations and notes

The Crossplane MCP server needs Kubernetes API access and an installed Crossplane control plane; it is not a standalone simulator. Composition rendering is the only described capability that needs both the Crossplane CLI and a container runtime. Provisioning is asynchronous, so callers must inspect the resulting resource tree to monitor reconciliation. The server never deletes resources, including when write mode is enabled.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Crossplane

Crossplane is an MCP server that connects AI assistants to a Kubernetes cluster running Crossplane. Its main tools inspect control-plane status, trace resource trees, diagnose reconciliation failures, detect drift, analyze deletion blockers and impact, validate or render compositions, and optionally provision through discovered platform APIs.

Install it with Go, use a release binary, run the published container image, or build it from source. Go installation requires Go 1.26 or newer. You also need Kubernetes API access to a cluster with Crossplane v1 or v2 installed.

Yes, it is read-only by default. Start it with `--read-only=false` to register supported write tools. Write mode can provision through discovered Crossplane platform APIs, but the server never supports deletion and cannot modify arbitrary Kubernetes objects such as Secrets or Deployments.

Yes, it supports Crossplane v1 and v2 layouts. This includes namespaced composite resources and the Crossplane v2 reference location described in the project documentation.

Yes, `crossplane_composition_render` requires the Crossplane CLI and a container runtime because it executes the composition function pipeline. `crossplane_composition_validate` covers much of the same validation work without requiring a container runtime.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCrossplane AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/crossplane?style=directory)](https://allmcps.com/mcp/crossplane)
HTML Embed
<a href="https://allmcps.com/mcp/crossplane"><img src="https://allmcps.com/api/badge/crossplane?style=directory" alt="Crossplane on AllMCPs" /></a>