# Crossplane [Health: Active]

**Category:** ☁️ Cloud Platforms  
**Repository:** https://github.com/ravibagri5/crossplane-mcp-server  
**GitHub Stars:** 9  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/crossplane

## Description
Read-only access to a Crossplane control plane: resources, claims, packages, compositions.

## Tools
Capabilities this server exposes over MCP:

- **crossplane_managed_resources_summary** — How many managed resources exist, by kind, and how many are Ready and Synced
- **crossplane_managed_resources_list** — Which managed resources exist, optionally only the failing ones
- **crossplane_composite_resources_list** — Which composite resources (XRs) exist and which Composition each selected
- **crossplane_claims_list** — Which claims exist and which composite each is bound to
- **crossplane_resource_get** — Everything about one resource: conditions, external name, events, manifest
- **crossplane_resource_tree** — The composition tree below a claim or composite, with per-resource status
- **crossplane_resource_events** — The events Crossplane recorded against one resource
- **crossplane_diagnose** — Why a resource is not Ready, and which resource is actually at fault
- **crossplane_drift_detect** — Which infrastructure no longer matches its declared spec, and whether that will be corrected
- **crossplane_providers_list** — Which providers are installed and healthy
- **crossplane_functions_list** — Which composition functions are installed and healthy
- **crossplane_configurations_list** — Which configurations are installed and healthy
- **crossplane_package_get** — One package plus its revisions, where image pull and dependency errors appear
- **crossplane_xrds_list** — Which platform APIs this control plane offers
- **crossplane_xrd_schema** — The fields a platform API takes, with a ready-to-edit example manifest
- **crossplane_compositions_list** — Which Compositions exist and what pipeline they run
- **crossplane_composition_get** — The full definition of one Composition
- **crossplane_composition_validate** — Why a Composition does not work, without running anything
- **crossplane_composition_render** — What a Composition would actually create, as a dry run
- **crossplane_environment_configs_list** — Which EnvironmentConfigs exist and what data they hold
- **crossplane_deployment_runtime_configs_list** — Which runtime configs exist and which packages use them
- **crossplane_managed_resource_definitions_list** — Which managed resource kinds are Active, on Crossplane v2
- **crossplane_managed_resource_activation_policies_list** — Which policies activate those definitions
- **crossplane_clusters_list** — Which control planes this server can reach
- **crossplane_status** — The overall health of the control plane in one call
- **crossplane_unhealthy_resources** — Everything that is currently failing, and why
- **crossplane_deleting_resources** — What is stuck deleting, and what is holding it up
- **crossplane_usages_list** — What is protected from deletion, and what needs it
- **crossplane_impact** — What a deletion would destroy, and whether it would be blocked
- **crossplane_api_resources** — The Crossplane API surface, to find exact kinds and groups
- **crossplane_database_create** — Asks the control plane's own database API for a database, filling in the fields its XRD declares
- **crossplane_workload_create** — The same for a workload, app or service
- **crossplane_resource_apply** — Applies a Crossplane manifest, for XRDs, Compositions and specs you built yourself

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/ravibagri5/crossplane-mcp-server), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
go install github.com/ravibagri5/crossplane-mcp-server/cmd/crossplane-mcp-server@latest
```

2. Start the server:

```sh
docker run --rm -i \
  -v "${HOME}/.kube:/home/nonroot/.kube:ro" \
  ghcr.io/ravibagri5/crossplane-mcp-server:latest
```

3. Install:

```sh
git clone https://github.com/ravibagri5/crossplane-mcp-server.git
```

4. Configure:

```sh
cd crossplane-mcp-server
```

5. Install:

```sh
make build
```

6. Check the setup:

```sh
./bin/crossplane-mcp-server tools
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/crossplane/readme_

