Connect to AI
Platform as a Service Bearer Token

Heroku REST API

Cloud platform API for deploying and managing applications

Heroku is a cloud platform that enables developers to build, run, and operate applications entirely in the cloud. The Heroku Platform API allows programmatic access to manage apps, dynos, add-ons, builds, releases, and other platform resources. Developers use this API to automate deployments, scale applications, manage configurations, and integrate Heroku into their CI/CD pipelines.

Base URL https://api.heroku.com

API Endpoints

MethodEndpointDescription
GET/appsList all applications accessible to the authenticated user
POST/appsCreate a new application with specified configuration
GET/apps/{app_id_or_name}Retrieve details about a specific application
PATCH/apps/{app_id_or_name}Update application configuration and settings
DELETE/apps/{app_id_or_name}Delete an application and all associated resources
GET/apps/{app_id_or_name}/dynosList all dynos (containers) running for an application
POST/apps/{app_id_or_name}/dynosCreate a new one-off dyno to run a command
POST/apps/{app_id_or_name}/formationScale application dynos by changing formation
GET/apps/{app_id_or_name}/config-varsRetrieve all environment variables for an application
PATCH/apps/{app_id_or_name}/config-varsUpdate environment variables for an application
GET/apps/{app_id_or_name}/releasesList all releases for an application
POST/apps/{app_id_or_name}/buildsCreate a new build from source code URL
GET/apps/{app_id_or_name}/addonsList all add-ons provisioned for an application
POST/apps/{app_id_or_name}/addonsProvision a new add-on for an application
GET/apps/{app_id_or_name}/logsStream application logs in real-time

Code Examples

curl -X GET https://api.heroku.com/apps \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/vnd.heroku+json; version=3"

Use Heroku from Claude / Cursor / ChatGPT

Get a hosted MCP endpoint for Heroku. Paste your Heroku API key, copy back one URL, drop it into Claude Desktop, Cursor, or any AI client that supports remote MCP. Your AI calls Heroku directly with your credentials — no local install, works on mobile.

deploy_application Deploy a new version of an application from a Git repository or source tarball URL
scale_dynos Scale application dynos up or down by modifying the formation (web, worker, etc.)
manage_config_vars Read, update, or delete environment variables for applications
provision_addon Provision and configure add-ons like databases, caching, monitoring, and logging services
query_logs Retrieve and search application logs for debugging and monitoring purposes

Connect in 60 seconds

Paste your Heroku key → get an MCP URL → paste into Claude/Cursor. Hosted by IOX, encrypted at rest.

Connect Heroku to your AI →

Related APIs