# Connect SPIFFE to Your AI Agent (Universal MCP)

> Use your AI to audit security, manage cloud resources, and monitor systems in SPIFFE — and much more.

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

## Key Facts
- Software: SPIFFE | Category: DevOps & IT/Security (SPIFFE) | Auth: Guided self-hosted connector setup | Deployment: self-hosted
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Workload registry, Trust bundles, Registration changes; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://universalmcp.app/mcp/spiffe | Guide: https://universalmcp.app/mcp/spiffe
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (14 actions: 2 Read, 12 Write)
Perform over 10 actions across workload identity, service communication, cross-platform federation, zero trust, and deployment. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Workload Identity (4):** Issue Workload Identities (write), Attest Workloads (write), Rotate X.509 Certificates (write), Review Workload Identities (read)
- **Service Communication (4):** Secure Microservices Communication (write), Configure Envoy Identity (write), Authenticate Workloads Without API Keys (write), Authenticate to Databases Without Passwords (write)
- **Cross-Platform Federation (3):** Bridge Kubernetes Workloads (write), Federate Trust Across Organizations (write), Extend Service Mesh Across Organizations (write)
- **Zero Trust (2):** Enforce Cross-Service Authentication (write), Verify JWT Identities (read)
- **Deployment (1):** Deploy SPIRE Server (write)

## Example Prompts for SPIFFE
- **Identity audit:** "In SPIFFE, list workload entries whose selectors changed this week and show which trust domain they belong to."
- **SVID expiry:** "Using SPIFFE, report X.509 and JWT SVIDs expiring within 7 days, grouped by node agent and workload name."
- **Trust bundles:** "In SPIFFE, check federated trust bundles for stale roots and confirm which peer domains need a refresh."
- **Draft registration:** "Draft a SPIFFE registration entry for a new payments worker, then wait for my approval before creating it."
