# Connect ZenStack to Your AI Agent (Universal MCP)

> Use your AI to query data, manage databases, and build software in ZenStack — and much more.

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

## Key Facts
- Software: ZenStack | Category: Other B2B Software (ZenStack Modeling Tools) | 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 Schema files, Query logs, Migrations; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=zenstack | Guide: https://universalmcp.app/mcp/zenstack
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across schema files, query logs, and migrations. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Schema files (1):** Schema files (write)
- **Query logs (1):** Query logs (write)
- **Migrations (1):** Migrations (write)

## Example Prompts for ZenStack
- **Policy coverage:** "Which ZenStack models in the schema have no access policy rules defined, and what fields do they expose?"
- **Slow queries:** "Find ZenStack query service calls in the last day that return more than 500 rows without a filter."
- **Migration history:** "Summarize the ZenStack schema migrations applied this month and flag any dropped columns."
- **Guarded draft:** "Draft an @@allow rule for the Invoice model and hold it in review until I approve the migration."
