# Connect QueryBear to Your AI Agent (Universal MCP)

> Use your AI to audit security, query data, and manage databases in QueryBear — and much more.

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

## Key Facts
- Software: QueryBear | Category: DevOps & IT/Security (QueryBear) | Auth: Cloud workspace OAuth 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 Audit logs, Allowlist settings, Database connections; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=querybear | Guide: https://universalmcp.app/mcp/querybear
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 1 Read, 2 Write)
Perform 3 actions across audit logs, allowlist settings, and database connections. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Audit logs (1):** Audit logs (write)
- **Allowlist settings (1):** Allowlist settings (read)
- **Database connections (1):** Database connections (write)

## Example Prompts for QueryBear
- **Blocked queries:** "In QueryBear, list agent queries blocked by the allowlist today with the table names and requesting agent."
- **Access review:** "Show QueryBear allowlist entries for Postgres, MySQL and SQLite with the last time each was changed."
- **Audit summary:** "Summarize QueryBear audit events for this week by database and agent, flagging any unusual query volume."
- **Draft policy change:** "Draft a QueryBear allowlist update for the pending schema read and hold it until I approve."
