# Connect SQL Mantra Tools to Your AI Agent (Universal MCP)

> Use your AI to monitor performance, manage databases, and analyze data in SQL Mantra Tools — and much more.

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

## Key Facts
- Software: SQL Mantra Tools | Category: DevOps & IT/Security (SQL Mantra Tools) | Auth: Encrypted API key or guided local/on-prem setup | Deployment: hybrid
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Session telemetry, Query statistics, Index changes; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=sql-mantra-tools | Guide: https://universalmcp.app/mcp/sql-mantra-tools
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across session telemetry, query statistics, and index changes. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Session telemetry (1):** Session telemetry (write)
- **Query statistics (1):** Query statistics (write)
- **Index changes (1):** Index changes (write)

## Example Prompts for SQL Mantra Tools
- **Blocking sessions:** "List Business Central sessions with lock waits over 2 seconds in SQL Mantra Tools, grouped by named user."
- **Slow AL code:** "Show the AL procedures in SQL Mantra Tools that account for most SQL time during the Tuesday posting run."
- **Index review:** "Find missing or unused indexes flagged in SQL Mantra Tools for the Sales Line and Item Ledger Entry tables."
- **Draft tuning ticket:** "Draft a tuning ticket for the slowest Business Central query, to review before filing with my team."
