# Connect NixCI to Your AI Agent (Universal MCP)

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

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

## Key Facts
- Software: NixCI | Category: DevOps & IT/Security (NixCI) | Auth: Encrypted workspace API key
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Build logs, Pipeline status, Pull request drafts; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=nixci | Guide: https://universalmcp.app/mcp/nixci
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across build logs, pipeline status, and pull request drafts. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Build logs (1):** Build logs (write)
- **Pipeline status (1):** Pipeline status (write)
- **Pull request drafts (1):** Pull request drafts (write)

## Example Prompts for NixCI
- **Failure triage:** "Summarize NixCI failing jobs on the main branch and the derivation named in each error log."
- **Cache usage:** "Show NixCI binary cache hit rates by runner for the past week, sorted from lowest to highest."
- **Flake lock check:** "In NixCI, compare the flake.lock on main with the last passing build to find changed inputs."
- **Draft fix PR:** "Draft a flake.lock update PR in NixCI for review, but do not merge or trigger a deploy."
