# Connect Heroku to Your AI Agent (Universal MCP)

> Use your AI to manage cloud resources, run deployments, and monitor performance in Heroku — and much more.

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

## Key Facts
- Software: Heroku | Category: DevOps & IT/Security (Salesforce) | Auth: OAuth 2.1 (1-click sign-in)
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across App and dyno metrics, Releases and config, Deploy actions; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=heroku | Guide: https://universalmcp.app/mcp/heroku
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (76 actions: 30 Read, 46 Write)
Perform over 70 actions across apps & deployments, data services, runtime & scaling, teams & access, pipelines & review apps, AI & inference, and monitoring & logs. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Apps & Deployments (13):** Get App Details (read), List App Builds (read), List App Releases (read), List Buildpacks (read), List Heroku Apps (read), View Build Logs (read), Assign App Ownership (write), Create Deployment (write), Create Heroku App (write), Create Rollback Release (write), Delete Heroku App (write), Update App Settings (write), Update Buildpacks (write)
- **Data Services (11):** List Database Backups (read), List Postgres Databases (read), Query Dataclip Results (read), Create Database Backup (write), Create Database Follower (write), Create Database Fork (write), Create Database Rollback (write), Create Kafka Cluster (write), Create Key-Value Store Instance (write), Create Postgres Database (write), Update Logical Replication (write)
- **Runtime & Scaling (9):** Check Dyno Formation (read), List Config Vars (read), List Running Dynos (read), Create Dyno Restart (write), Create One-Off Dyno (write), Update App Stack (write), Update Config Vars (write), Update Dyno Formation (write), Update Maintenance Mode (write)
- **Teams & Access (7):** List Team Members (read), List Teams (read), Assign Team Member (write), Create Team (write), Delete Team Member (write), Update Member Role (write), Update SSO Settings (write)
- **Pipelines & Review Apps (6):** List Delivery Pipelines (read), List Review Apps (read), Create Delivery Pipeline (write), Create Pipeline Promotion (write), Create Review App (write), Update GitHub Integration (write)
- **AI & Inference (6):** List Managed Models (read), Search Vector Embeddings (read), Create AI Agent (write), Create MCP Server (write), Create Managed Model (write), Upload Vector Embeddings (write)
- **Monitoring & Logs (5):** Check App Performance Metrics (read), Export App Metrics (read), List Log Drains (read), View App Logs (read), Create Log Drain (write)
- **Add-ons & Elements (5):** List App Add-ons (read), Search Elements Marketplace (read), Create Add-on (write), Delete Add-on (write), Update Add-on Plan (write)
- **Domains & Certificates (5):** Check Certificate Status (read), List Custom Domains (read), Create Custom Domain (write), Delete Custom Domain (write), Upload SSL Certificate (write)
- **Billing & Compliance (5):** Check App Usage Costs (read), Export Audit Logs (read), List Heroku Invoices (read), Create Private Space (write), Update Payment Method (write)
- **Salesforce Connectivity (4):** List Connect Mappings (read), Create AppLink Connection (write), Create Connect Mapping (write), Schedule Connect Sync (write)

## Example Prompts for Heroku
- **Release diff check:** "List the last three Heroku releases for orders-api and show config var changes made in each one."
- **Log error summary:** "Summarize the top error types in Heroku logs for checkout-worker over the past 30 minutes, grouped by count."
- **Add-on cost review:** "Show Heroku add-ons with the highest monthly cost this billing cycle and which apps they are attached to."
- **Draft rollback plan:** "Draft a rollback plan for the orders-api release in Heroku and hold it for my approval before any deploy."
