# Connect SingleStore to Your AI Agent (Universal MCP)

> Use your AI to manage databases, query data, and analyze data in SingleStore — and much more.

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

## Key Facts
- Software: SingleStore | Category: AI, Data & Automation (SingleStore) | Auth: Guided workspace authorization
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Query statistics, Schema metadata, Index change scripts; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://universalmcp.app/mcp/singlestore | Guide: https://universalmcp.app/mcp/singlestore
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (15 actions: 8 Read, 7 Write)
Perform over 10 actions across transactions and analytics, search, and AI agents. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Transactions and Analytics (5):** Run Transactions on Live Data (write), Run Analytics on Live Data (read), Query Latest Writes (read), Combine Transactions and Analytics (read), Load Application Data (write)
- **Search (5):** Run Vector Search (read), Run Full-Text Search (read), Combine Vector and Full-Text Search (read), Create Vector Index (write), Create Full-Text Index (write)
- **AI Agents (5):** Serve Data to AI Agents (read), Store Agent Memory (write), Retrieve Agent Context (read), Trigger Agent Action on Latest Write (write), Start Free Database Trial (write)

## Example Prompts for SingleStore
- **Find slow queries:** "List the five slowest SingleStore queries from the past week with p95 latency and rows scanned."
- **Schema review:** "Inspect table schemas for orders and shipments and flag columns missing indexes or proper sort keys."
- **Cluster health:** "Summarize SingleStore cluster CPU, memory, and disk usage per leaf node for the last 7 days."
- **Draft index change:** "Draft a columnstore index change for shipment_date as a SQL script for review, without running it."
