# Connect SQL Manager to Your AI Agent (Universal MCP)

> Use your AI to query data, manage databases, and monitor performance in SQL Manager — and much more.

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

## Key Facts
- Software: SQL Manager | Category: DevOps & IT/Security (SQL Manager) | 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 and query stats, Database roles, Index scripts; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=sql-manager | Guide: https://universalmcp.app/mcp/sql-manager
- 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 and query stats, database roles, and index scripts. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Schema and query stats (1):** Schema and query stats (write)
- **Database roles (1):** Database roles (write)
- **Index scripts (1):** Index scripts (write)

## Example Prompts for SQL Manager
- **Slow query review:** "Rank the slowest SQL Manager queries on orders_prod this week with their execution plans summarized."
- **Index gap scan:** "Which tables in orders_prod have frequent sequential scans and no index on their foreign key columns?"
- **Role permissions:** "List database roles in SQL Manager that hold write access to shipments, with their last login dates."
- **Draft index script:** "Draft a CREATE INDEX script for shipments.carrier_id and hold it for DBA review before running."
