# Connect Hexgate to Your AI Agent (Universal MCP)

> Use your AI to audit security, monitor compliance, and track issues in Hexgate — and much more.

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

## Key Facts
- Software: Hexgate | Category: AI, Data & Automation (Hexgate) | 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 Rule decisions, Per-user rule sets, Rule change drafts; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=hexgate | Guide: https://universalmcp.app/mcp/hexgate
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across rule decisions, per-user rule sets, and rule change drafts. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Rule decisions (1):** Rule decisions (write)
- **Per-user rule sets (1):** Per-user rule sets (write)
- **Rule change drafts (1):** Rule change drafts (write)

## Example Prompts for Hexgate
- **Blocked calls:** "Summarize Hexgate blocked tool calls from the past week, grouped by agent framework and the rule that fired."
- **Rule coverage:** "Which agents in Hexgate have no per-user rules attached, and which tools do they reach without a check?"
- **Policy drift:** "Compare Hexgate rule sets across LangChain and OpenAI Agents this month and flag any mismatched permissions."
- **Draft rule change:** "Draft a new Hexgate rule that limits export_csv for analyst users and hold it for approval before deploying."
