# Connect Flox to Your AI Agent (Universal MCP)

> Use your AI to build software, run deployments, and track issues in Flox — and much more.

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

## Key Facts
- Software: Flox | Category: DevOps & IT/Security (Flox) | Auth: Encrypted API key or guided local/desktop setup | Deployment: desktop
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Manifest files, CI build records, Merge proposals; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=flox | Guide: https://universalmcp.app/mcp/flox
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (16 actions: 8 Read, 8 Write)
Perform over 10 actions across governance and provenance, environment setup, version pinning, drift control, and agent and test runs. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Governance and Provenance (4):** Review Environment Provenance (read), Trace Package Origin (read), Enforce Environment Policy (write), Export Environment Manifest (read)
- **Environment Setup (3):** Initialize Project Environment (write), Install Toolchain Packages (write), Activate Shared Environment (read)
- **Version Pinning (3):** Pin Python Version (write), Pin Node.js Runtime (write), Pin PostgreSQL Version (write)
- **Drift Control (3):** Compare Laptop and CI Versions (read), Detect Environment Drift (read), Reproduce CI Toolchain Locally (write)
- **Agent and Test Runs (3):** Run Test Suite in Pinned Environment (read), Launch Coding Agent in Environment (write), Debug Failing Tests (read)

## Example Prompts for Flox
- **Environment drift:** "Which Flox environments differ from their declared manifest, and which packages changed since the last commit?"
- **Build reproducibility:** "List every Flox-built CI job from this week that failed to reproduce its environment on a clean runner."
- **Agent access log:** "Summarize which agents and developers pulled the production Flox environment in the last seven days."
- **Draft lock update:** "Draft a pull request that bumps nodejs in the staging Flox manifest, but wait for my approval to merge."
