# Connect IceQL to Your AI Agent (Universal MCP)

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

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

## Key Facts
- Software: IceQL | Category: DevOps & IT/Security (Muh Syafiudin) | 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, Query plans, Write statements; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=iceql | Guide: https://universalmcp.app/mcp/iceql
- 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, query plans, and write statements. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Schema metadata (1):** Schema metadata (write)
- **Query plans (1):** Query plans (write)
- **Write statements (1):** Write statements (write)

## Example Prompts for IceQL
- **Slow query list:** "List every PostgreSQL query in IceQL slower than 2 seconds, with its execution plan summary."
- **Schema review:** "Which tables in IceQL's Northwind Supply database lack indexes on foreign key columns?"
- **CSV import check:** "Check the last CSV file imported into IceQL for header mismatches and duplicate primary keys."
- **Draft index change:** "Draft a CREATE INDEX statement for orders in IceQL, saved as a script for DBA review before running."
