# Connect TablePlus to Your AI Agent (Universal MCP)

> Use your AI to query data, update records, and manage databases in TablePlus — and much more.

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

## Key Facts
- Software: TablePlus | Category: DevOps & IT/Security (TablePlus) | Auth: Encrypted API key or guided local/desktop setup | Deployment: desktop
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Query statistics, Schemas and tables, Database roles; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=tableplus | Guide: https://universalmcp.app/mcp/tableplus
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (16 actions: 6 Read, 10 Write)
Perform over 10 actions across query & data, schema, connections, and licensing & versions. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Query & Data (6):** Run SQL Query (read), Edit Table Rows (write), Insert Table Row (write), Delete Table Records (write), Filter Table Data (read), Export Query Results (read)
- **Schema (4):** Inspect Table Structure (read), Create Database Table (write), Alter Table Columns (write), Create Table Index (write)
- **Connections (3):** Connect Database Server (write), Save Connection Profile (write), Browse Database Schemas (read)
- **Licensing & Versions (3):** Activate License Key (write), Manage License Seats (write), Review Version History (read)

## Example Prompts for TablePlus
- **Slow query scan:** "List PostgreSQL queries in TablePlus over 2 seconds from the past 7 days with their execution plans."
- **Index gaps:** "Show tables in TablePlus with sequential scans above 1M rows and no matching index on filter columns."
- **Schema review:** "Summarize TablePlus table schemas that lack primary keys or foreign key constraints across all replicas."
- **Guarded index change:** "Draft a CREATE INDEX statement for TablePlus orders, then wait for my approval before running it."
