# Connect QueryDeck to Your AI Agent (Universal MCP)

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

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

## Key Facts
- Software: QueryDeck | Category: DevOps & IT/Security (QueryDeck) | 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 Schema metadata, Database queries, Migration files; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=querydeck | Guide: https://universalmcp.app/mcp/querydeck
- 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 metadata, database queries, and migration files. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Schema metadata (1):** Schema metadata (write)
- **Database queries (1):** Database queries (write)
- **Migration files (1):** Migration files (write)

## Example Prompts for QueryDeck
- **Schema drift:** "In QueryDeck, compare Drizzle and Prisma models against the live Postgres schema and list every mismatch."
- **Table overview:** "Show QueryDeck table row counts and indexes for the orders and customers tables in the production database."
- **Slow query check:** "Summarize the slowest QueryDeck queries from the Postgres MCP server this week with their execution times."
- **Draft migration:** "Draft a migration file in QueryDeck for the discount_code column and hold it until I approve running it."
