Cloud-native CI/CD pipelines for Kubernetes.
## Tekton MCP Server: Kubernetes-Native CI/CD The **Tekton MCP Server** integrates the Kubernetes-native pipeline framework into Google Antigravity, enabling developers to build and run cloud-native CI/CD pipelines as Kubernetes resources. ### Why Tekton MCP? - **Kubernetes-native** - Pipelines as K8s custom resources - **Reusable components** - Tasks and pipelines as building blocks - **Event-driven** - Trigger pipelines from various events - **Catalog access** - Community task and pipeline catalog - **GitOps ready** - Version control your pipelines ### Key Features #### 1. Pipeline Runs ```python # Create pipeline run run = await mcp.call("tekton", "create_pipeline_run", { "namespace": "default", "pipeline": "build-and-deploy", "params": [ {"name": "git-url", "value": "https://github.com/org/repo"}, {"name": "image", "value": "registry.example.com/app:latest"} ] }) print(f"PipelineRun: {run[\"metadata\"][\"name\"]}") # Get run status status = await mcp.call("tekton", "get_pipeline_run", { "namespace": "default", "name": run["metadata"]["name"] }) ``` #### 2. Task Management ```python # List tasks tasks = await mcp.call("tekton", "list_tasks", { "namespace": "default" }) for task in tasks: print(f"{task[\"name\"]}: {task[\"steps\"]} steps") # Create task run task_run = await mcp.call("tekton", "create_task_run", { "namespace": "default", "task": "run-tests", "params": [{"name": "path", "value": "./tests"}] }) ``` #### 3. Triggers ```python # Create event listener await mcp.call("tekton", "create_event_listener", { "namespace": "default", "name": "github-listener", "triggers": [{ "bindings": [{"ref": "github-push-binding"}], "template": {"ref": "build-template"} }] }) # Get trigger bindings bindings = await mcp.call("tekton", "list_trigger_bindings", { "namespace": "default" }) ``` #### 4. Catalog Resources ```python # Install from Tekton Hub await mcp.call("tekton", "install_task", { "namespace": "default", "name": "git-clone", "version": "0.9" }) # List installed catalog tasks catalog = await mcp.call("tekton", "list_catalog_tasks", { "namespace": "default" }) ``` ### Configuration ```json { "mcpServers": { "tekton": { "command": "npx", "args": ["-y", "@anthropic/mcp-tekton"], "env": { "KUBECONFIG": "~/.kube/config", "TEKTON_NAMESPACE": "tekton-pipelines" } } } } ``` ### Use Cases **Cloud-Native CI/CD**: Kubernetes-native pipeline execution. **Reusable Tasks**: Build library of reusable components. **Event-Driven Builds**: Trigger from Git, webhooks, or events. **GitOps Pipelines**: Version control your CI/CD. The Tekton MCP Server enables Kubernetes-native CI/CD.
{
"mcpServers": {
"tekton": {}
}
}