# Connect TogetherDB to Your AI Agent (Universal MCP)

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

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

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

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across query statistics, schema drafts, and credentials and roles. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Query statistics (1):** Query statistics (write)
- **Schema drafts (1):** Schema drafts (write)
- **Credentials and roles (1):** Credentials and roles (write)

## Example Prompts for TogetherDB
- **Slow query list:** "List the TogetherDB slow queries on orders_prod ordered by total execution time for the past day."
- **Index review:** "Show TogetherDB indexes on the orders table and flag any missing indexes for customer_id."
- **Schema snapshot:** "Summarize the TogetherDB schema for the customers and orders tables, including column types and keys."
- **Index change draft:** "Draft a TogetherDB CREATE INDEX statement for orders.customer_id and hold it until I approve."
