# Connect Pipelines as Code to Your AI Agent (Universal MCP)

> Use your AI to build software, run deployments, and track issues in Pipelines as Code — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http pipelines-as-code https://api.universalmcp.app/mcp/pipelines-as-code`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/pipelines-as-code` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "pipelines-as-code", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: Pipelines as Code | Category: DevOps & IT/Security (Pipelines as Code) | Auth: Encrypted API credentials or guided on-prem setup | Deployment: on-prem
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Pipeline run logs, Cluster scheduling data, Rerun requests; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=pipelines-as-code | Guide: https://universalmcp.app/mcp/pipelines-as-code
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across pipeline run logs, cluster scheduling data, and rerun requests. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Pipeline run logs (1):** Pipeline run logs (write)
- **Cluster scheduling data (1):** Cluster scheduling data (write)
- **Rerun requests (1):** Rerun requests (write)

## Example Prompts for Pipelines as Code
- **Failed run triage:** "List the failed Pipelines as Code runs on main this week with the task name and the error message from each."
- **Cluster capacity:** "Show pending pod times on tekton-prod-02 by hour and flag node pools that exceed their scheduling threshold."
- **Flaky test trend:** "Summarize which integration-test steps in Pipelines as Code timed out most often over the last two weeks."
- **Guarded rerun:** "Draft a rerun request for the four failed build-api-v3 runs in Pipelines as Code, but hold it until I approve."
