Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@
"category": "developer",
"agents": ["./agents/error-handling.md", "./agents/s2i-builder-images.md"],
"skills": "./skills"
},
{
"name": "openshift-virtualization",
"description": "OpenShift Virtualization Agentic Collection",
"version": "1.0.0",
"author": {
"name": "Red Hat Ecosystem Engineering",
"email": "eco-engineering@redhat.com"
},
"source": "./rh-virt",
"category": "virtualization",
"skills": "./skills"
}
]
}
13 changes: 13 additions & 0 deletions docs/mcp.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,5 +172,18 @@
"description": "Get the current status of an Ansible playbook execution job. Returns job status, timestamps, and completion information."
}
]
},
"openshift-virtualization": {
"repository": "https://github.com/openshift/openshift-mcp-server",
"tools": [
{
"name": "vm_create",
"description": "Create new VirtualMachine resources in OpenShift Virtualization. Accepts namespace (required), name (required), workload/OS (default: fedora), size (small/medium/large), storage (default: 30Gi), autostart flag (default: false), optional networks (Multus NetworkAttachmentDefinitions), performance family hint (u1/o1/c1/m1), instance type, and preference. Automatically resolves instance types, preferences, and container disk images for common OS distributions (fedora, ubuntu, centos, centos-stream, debian, rhel, opensuse). Returns created VirtualMachine resource or error details."
},
{
"name": "vm_lifecycle",
"description": "Manage VirtualMachine power state and lifecycle operations in OpenShift Virtualization. Accepts namespace (required), name (required), and action (required: start/stop/restart). Start sets runStrategy to Always (VM runs and auto-restarts on crash), stop sets runStrategy to Halted (VM stops and stays off), restart performs stop then start sequence. Returns updated VirtualMachine state or error if VM not found, permission denied, or already in desired state."
}
]
}
}
13 changes: 13 additions & 0 deletions rh-virt/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "openshift-virtualization",
"version": "1.0.0",
"description": "OpenShift Virtualization Agentic Collection",
"author": {
"name": "Red Hat Ecosystem Engineering",
"email": "eco-engineering@redhat.com"
},
"homepage": "https://github.com/RHEcosystemAppEng/agentic-collections",
"repository": "https://github.com/RHEcosystemAppEng/agentic-collections",
"license": "Apache-2.0",
"keywords": ["red-hat", "kubevirt", "openshift", "virtualization"]
}
28 changes: 28 additions & 0 deletions rh-virt/.mcp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"mcpServers": {
"openshift-virtualization": {
"command": "podman",
"args": [
"run",
"--rm",
"-i",
"--network=host",
"--userns=keep-id:uid=65532,gid=65532",
"-v", "${KUBECONFIG}:/kubeconfig:ro,Z",
"--entrypoint", "/app/kubernetes-mcp-server",
"quay.io/ecosystem-appeng/openshift-mcp-server:latest",
"--kubeconfig", "/kubeconfig",
"--toolsets", "core,kubevirt"
],
"env": {
"KUBECONFIG": "${KUBECONFIG}"
},
"description": "Red Hat Openshift MCP server for interacting with Openshift Container Platform clusters and its operators",
"security": {
"isolation": "container",
"network": "local",
"credentials": "env-only"
}
}
}
}
Loading