MCP ExplorerExplorer

Crossplane Mcp Server

@cychiangon 12 days ago
1 MIT
FreeCommunity
AI Systems
mcp server for Crossplane

Overview

What is Crossplane Mcp Server

crossplane-mcp-server is a Python server that implements the Model Context Protocol (MCP) for Crossplane, enabling large language models (LLMs) to interact with Kubernetes and query Crossplane-related resources such as CompositeResourceDefinitions (XRD), Composition, and ManagedResource (MR).

Use cases

Use cases include automating the management of cloud resources, integrating LLMs with Kubernetes for enhanced resource querying, and facilitating the development of applications that require dynamic resource management.

How to use

To use crossplane-mcp-server in VSCode, add the specified configuration to the ‘mcp.json’ file in your workspace folder. For Claude Desktop, include the provided settings in ‘claude_desktop_config.json’. Both configurations require specifying the command and arguments to run the server.

Key features

Key features include the ability to list and retrieve Compositions, list and retrieve CompositeResourceDefinitions, and support for querying ManagedResources. Additional features are to be confirmed.

Where to use

crossplane-mcp-server is useful in cloud-native environments where Kubernetes is utilized, particularly in scenarios involving resource management and orchestration through Crossplane.

Content

crossplane-mcp-server - WIP

A Python server that implements Model Context Protocol(MCP) for Crossplane. It allows LLM to talk to Kubernetes and query Crossplane-related resources, such as, CompositeResourceDefinition(XRD), Composition, and ManagedResource(MR).

Usage

Using Crossplane MCP Server in vscode, add the following to mcp.json under workspace folder.

{
  "inputs": [],
  "servers": {
    "CrossplaneServer": {
      "type": "stdio",
      "command": "uv",
      "args": [
        "--directory",
        "${PATH_TO_CROSSPLANE_MCP_SERVER}/crossplane-mcp-server",
        "run",
        "src/server.py"
      ]
    }
  }
}

Using Crossplane MCP Server in Claude Desktop, add the following to claude_desktop_config.json.

{
  "mcpServers": {
    "crossplane-mcp-server": {
      "command": "uv",
      "args": [
        "--directory",
        "${PATH_TO_CROSSPLANE_MCP_SERVER}/crossplane-mcp-server",
        "run",
        "src/server.py"
      ]
    }
  }
}

Support tools

[ ] List Compositions
[ ] Get Composition
[ ] List CompositeResourceDefinitions
[ ] Get CompositeResourceDefinition
[ ] …TBC

Tools

No tools

Comments