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