π¦
Crossplane MCP Server
MCP server for Crossplane enabling AI agents to interact with and manage cloud infrastructure declaratively via Kubernetes.
0 installs
Trust: 34 β Low
Science
Ask AI about Crossplane MCP Server
Powered by Claude Β· Grounded in docs
I know everything about Crossplane MCP Server. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Loading tools...
Reviews
Documentation
crossplane-mcp-server
An MCP server that exposes Crossplane resources to any MCP-compatible AI agent. Lets agents inspect, debug, and manage XRs, compositions, providers, and managed resources and more through natural language.
Prerequisites
| Requirement | Details |
|---|---|
Kubernetes cluster | with Crossplane installed |
kubectl | configured with cluster access |
helm | >= 3 |
MCP-compatible agent | kagent(tested), Claude, etc. |
Installation
Via Helm (from this repo)
helm install crossplane-mcp-server ./charts/crossplane-mcp-server \
--namespace crossplane-system \
--create-namespace
Via manifest
kubectl apply -f manifest.yaml
Via binary
go build -o bin/server cmd/server/main.go
Configuration
Edit charts/crossplane-mcp-server/values.yaml:
image:
repository: ghcr.io/<your-org>/crossplane-mcp-server
tag: latest
replicaCount: 1
Available Tools
| Tool | Description |
|---|---|
get_xr_tree | Full resource tree of a composite resource |
list_xrs | List all composite resources |
list_xrds | List all composite resource definitions |
describe_xrd | Describe a specific XRD |
validate_xr | Validate a composite resource against its XRD |
debug_xr | Debug a composite resource |
debug_mr | Debug a managed resource |
debug_composition | Debug a composition |
debug_provider | Debug a Crossplane provider |
explain_composition | Explain what a composition does in plain language |
get_managed_resource | Get details of a managed resource |
dependency_graph | Generate a dependency graph for resources |
provider_health | Check provider health status |
check_provider_config | Validate a provider config |
events | Fetch Kubernetes events for a resource |
condition | Get conditions of a resource |
annotate_reconcile | Trigger reconciliation via annotation |
Development
Requires Taskfile.
task --list # see all available tasks
task build # build the binary
task test # run tests
task run # run locally
Build the Docker image:
docker build -t crossplane-mcp-server .
Repository Structure
.
βββ charts/crossplane-mcp-server/ # Helm chart
βββ cmd/server/ # Server entrypoint
βββ internal/
β βββ logging/ # Structured logging
β βββ metrics/ # Metrics instrumentation
β βββ tools/ # Tool registration and Kubernetes clients
βββ tools/ # MCP tool implementations
βββ Dockerfile
βββ manifest.yaml # Raw Kubernetes manifest
βββ Taskfile.yml
Helm Chart Releases
Packaged charts are in docs/ and served as a Helm repo. To use:
helm repo add crossplane-mcp-server https://shilucloud.github.io/crossplane-mcp-server
helm repo update
