# Connect Agent Zero to Your AI Agent (Universal MCP)

> Use your AI to build software, monitor performance, and track issues in Agent Zero — and much more.

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

## Key Facts
- Software: Agent Zero | Category: AI, Data & Automation (Agent Zero) | Auth: Encrypted API key or guided local/on-prem setup | Deployment: hybrid
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Run and task status, Docker workspace files, Run control; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=agent-zero | Guide: https://universalmcp.app/mcp/agent-zero
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across run and task status, docker workspace files, and run control. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Run and task status (1):** Run and task status (write)
- **Docker workspace files (1):** Docker workspace files (write)
- **Run control (1):** Run control (write)

## Example Prompts for Agent Zero
- **Stuck run triage:** "List Agent Zero runs that have been on the same step for over 20 minutes, with the tool name and call count."
- **Token usage:** "Summarize Agent Zero token use per task type for the past 7 days and flag any run above 50K tokens."
- **Tool error patterns:** "Group Agent Zero tool errors from the last 2 days by tool name and show the three most frequent failures."
- **Guarded task restart:** "Draft a restart plan for the looping research-brief-07 run in Agent Zero and wait for my approval first."
