About Fleet MCP
Fleet MCP is an MCP server published by rossella in the Developer Tools category: mCP server for Fleet. It has been installed 0 times through Conduid.
Six months or more without a commit doesn't mean the server is broken, but check the open issues (0) before depending on it in production.
Install
npx fleet-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Fleet MCP
Powered by Claude · Grounded in docs
Security checks
- ·README presentNot checked yet.
- ·License declaredNot checked yet.
- ·Tests presentNot checked yet.
- ·Dependencies pinnedNot checked yet.
- ·No dynamic code executionNot checked yet.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
Fleet MCP Server
Model Context Protocol (MCP) server for Fleet that enables AI assistants to interact with Fleet's GitOps capabilities.
Prerequisites
- Go 1.21 or later (required by MCP SDK)
- Kubernetes cluster with Fleet installed
- Access credentials (kubeconfig or Rancher token)
Overview
This MCP server exposes Fleet resources (GitRepos, Bundles, BundleDeployments, Clusters, ClusterGroups) and operations through MCP tools, allowing AI assistants to:
- Query GitRepo status and deployments
- List and inspect Bundles and BundleDeployments
- Manage Fleet resources (create, update, delete)
- Diagnose deployment issues
- Monitor cluster health
Architecture
The server follows the architecture patterns from rancher-ai-mcp:
- MCP Server: HTTP handler with SSE streaming support
- Tools: Fleet-specific operations implemented as MCP tools
- Client: Kubernetes dynamic client wrapper
- Converter: Maps Fleet resource kinds to GroupVersionResources
- Response: Formats responses for LLM and UI consumption
Authentication
The server uses Rancher token authentication:
R_token: Rancher bearer token (required)R_url: Rancher server URL (required)
Tools
Read Operations
listGitRepos- List GitRepos in a namespacegetGitRepo- Get specific GitRepo detailsgetGitRepoStatus- Get GitRepo deployment statuslistBundles- List BundlesgetBundle- Get Bundle detailsgetBundleDeployments- List BundleDeployments for a BundlelistClusters- List managed clustersgetCluster- Get cluster detailslistClusterGroups- List cluster groupsinspectGitRepo- Deep inspection with related resources
Write Operations
createGitRepo- Create new GitRepoupdateGitRepo- Update GitRepo specpatchGitRepo- Patch GitRepo with JSON patchdeleteGitRepo- Delete GitRepopauseGitRepo- Pause/unpause GitRepoforceSyncGitRepo- Force GitRepo redeploymentupdateBundleTarget- Modify Bundle targetspauseCluster- Pause/unpause clustercreateClusterGroup- Create cluster groupdeleteClusterGroup- Delete cluster group
Diagnostic Operations
getGitRepoEvents- Get events for a GitRepogetBundleDeploymentDetails- Detailed BundleDeployment troubleshootinggetFleetAgentStatus- Check Fleet agent health
Development
# Build
go build -o fleet-mcp
# Run locally
./fleet-mcp
# Run tests
go test ./...
Deployment
The server is designed to run in a Kubernetes cluster with proper RBAC:
kubectl apply -f package/fleet-mcp.yaml
TLS Configuration
The server expects TLS certificates from Kubernetes secrets:
cattle-mcp-tls- Server certificatecattle-mcp-ca- CA certificate
Set INSECURE_SKIP_TLS=true for development environments.
README mirrored from the source repository 4 months ago. The original is authoritative.