# Connect Bastyx to Your AI Agent (Universal MCP)

> Use your AI to audit security, manage employees, and monitor systems in Bastyx — and much more.

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

## Key Facts
- Software: Bastyx | Category: DevOps & IT/Security (Bastyx) | 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 Access grant read, Agent token metadata, Revocation needs approval; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=bastyx | Guide: https://universalmcp.app/mcp/bastyx
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across access grant read, agent token metadata, and revocation needs approval. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Access grant read (1):** Access grant read (write)
- **Agent token metadata (1):** Agent token metadata (write)
- **Revocation needs approval (1):** Revocation needs approval (write)

## Example Prompts for Bastyx
- **Active SSH grants:** "Use Bastyx to list active SSH certificates for the platform team with expiry times and hosts."
- **Agent token inventory:** "Show Bastyx AI agent tokens with owner team, last used date, and linked repositories."
- **Offboarding dry run:** "Simulate a Bastyx offboarding for one engineer and list every access it would revoke."
- **Guarded revoke draft:** "Draft Bastyx revocation for the prod-bastion certificate, but do not execute until I approve."
