# Connect osctrl to Your AI Agent (Universal MCP)

> Use your AI to monitor systems, audit security, and query data in osctrl — and much more.

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

## Key Facts
- Software: osctrl | Category: DevOps & IT/Security (osctrl) | 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 Live query read, Host config access, Guarded policy changes; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=osctrl | Guide: https://universalmcp.app/mcp/osctrl
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across live query read, host config access, and guarded policy changes. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Live query read (1):** Live query read (write)
- **Host config access (1):** Host config access (write)
- **Guarded policy changes (1):** Guarded policy changes (write)

## Example Prompts for osctrl
- **Port exposure scan:** "Run an osctrl live query that lists listening ports and the process names bound to them across all hosts."
- **Config drift check:** "Compare osctrl host configs against the approved osquery policy and list hosts that have drifted this week."
- **Log collection status:** "Show which osctrl endpoints sent log batches in the last 3 days and which have stopped reporting."
- **Guarded policy push:** "Draft a new osctrl policy to close the flagged ports and hold it for admin approval before deploying."
