# Connect Temporal to Your AI Agent (Universal MCP)

> Use your AI to schedule jobs, monitor systems, and track issues in Temporal — and much more.

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

## Key Facts
- Software: Temporal | Category: Other B2B Software (Temporal) | 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 Workflow histories, Namespaces and schedules, Retry policy edits; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=temporal | Guide: https://universalmcp.app/mcp/temporal
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (52 actions: 18 Read, 34 Write)
Perform over 50 actions across workflow executions, activities & retries, schedules & timers, namespaces & cloud access, workers & task queues, search & visibility, and nexus operations. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Workflow Executions (10):** Get Workflow Details (read), List Workflow Executions (read), Query Workflow Counts (read), Create Workflow Execution (write), Delete Workflow Execution (write), Send Workflow Cancellation (write), Send Workflow Pause (write), Send Workflow Resume (write), Submit Workflow Reset (write), Submit Workflow Termination (write)
- **Activities & Retries (10):** Get Standalone Activity Result (read), Create Standalone Activity (write), Delete Activity (write), Send Activity Cancellation (write), Send Activity Pause (write), Send Activity Unpause (write), Submit Activity Reset (write), Submit Activity Termination (write), Update Activity Options (write), Update Retry Policy (write)
- **Schedules & Timers (7):** Get Schedule Details (read), List Schedules (read), Create Schedule (write), Delete Schedule (write), Submit Immediate Schedule Run (write), Update Schedule (write), Update Schedule Status (write)
- **Namespaces & Cloud Access (5):** List Namespaces (read), Create Cloud API Key (write), Create Namespace (write), Delete Namespace (write), Update Namespace Settings (write)
- **Workers & Task Queues (4):** Get Task Queue Details (read), Get Worker Versioning Rules (read), Assign Worker Build Version (write), Create Local Dev Server (write)
- **Search & Visibility (4):** Export Workflow Records (read), List Search Attributes (read), Create Search Attribute (write), Update Workflow Search Attributes (write)
- **Nexus Operations (4):** Get Nexus Operation Result (read), List Nexus Endpoints (read), Create Nexus Endpoint (write), Create Standalone Nexus Operation (write)
- **Messages & Human Input (3):** Query Workflow State (read), Send Workflow Signal (write), Send Workflow Update (write)
- **Debugging & History (3):** Check Workflow Replay (read), Get Workflow Event History (read), Pull Workflow Failure Details (read)
- **Security & Data Encoding (2):** Check Encryption Key Status (read), Update Codec Server Settings (write)

## Example Prompts for Temporal
- **Failed workflow runs:** "Which Temporal workflow runs failed in the payments namespace today, grouped by workflow type?"
- **Activity timeout trend:** "In Temporal, show the activity timeouts per hour for the last 6 hours and flag any spikes."
- **Schedule health:** "List Temporal schedules that missed their last run, along with each next scheduled start time."
- **Draft retry policy:** "Draft a new retry policy for ChargeCustomer with a higher max attempt count, held until I approve."
