# Connect Midplane to Your AI Agent (Universal MCP)

> Use your AI to audit security, query data, and manage databases in Midplane — and much more.

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

## Key Facts
- Software: Midplane | Category: AI, Data & Automation (Midplane) | Auth: Guided workspace authorization
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Audit log, Table policies, Policy drafts; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://universalmcp.app/mcp/midplane | Guide: https://universalmcp.app/mcp/midplane
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across audit log, table policies, and policy drafts. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Audit log (1):** Audit log (write)
- **Table policies (1):** Table policies (write)
- **Policy drafts (1):** Policy drafts (write)

## Example Prompts for Midplane
- **Blocked queries:** "Ask Midplane to list all blocked agent queries from the past 7 days with the policy name for each."
- **Policy coverage:** "In Midplane, show which tables have per-table policies and which ones still allow unrestricted reads."
- **AST validation:** "Use Midplane to summarize which SQL statement types fail AST validation most often this month."
- **Draft policy change:** "Draft a Midplane policy update to restrict customers_pii reads, held until a data owner approves it."
