Skip to content
AI Dev Toolkit.
Esc
  • Loading…

MCP server · Cloud and DevOps

Heroku Platform MCP server

The Heroku MCP server is Heroku’s official Platform MCP server. It lets an assistant create, deploy, scale and restart apps, read logs, manage add-ons and pipelines, and query Heroku Postgres. It runs locally with heroku mcp:start (Heroku CLI 10.8.1 or newer) and acts with your Heroku account.

Maintainer
Heroku (Salesforce) (official)
Licence
Apache-2.0
Runs
Locally (heroku)
Sign-in
OAuth sign-in in the app
Last activity
2026-10-12

Overview

What can the Heroku Platform MCP server do?

The Heroku Platform MCP Server connects an assistant to Heroku through the Heroku CLI. The recommended setup runs heroku mcp:start, which reuses your existing CLI login, so there is no API key to store in a config file. It needs Heroku CLI 10.8.1 or newer. As an alternative you can run the @heroku/mcp-server npm package with a HEROKU_API_KEY environment variable. It works on the Common Runtime, Cedar Private and Shield Spaces, and Fir Private Spaces.

Tools are grouped into application management, process and dyno management, add-ons, maintenance and logs, pipelines, teams and spaces, and PostgreSQL. An agent can deploy a project with app.json, run code on a one-off dyno, scale dynos, turn on maintenance mode, promote a pipeline stage or run SQL and diagnostics on Heroku Postgres. Heroku describes the server as in early development, so tools may change.

Tools

Tools it gives the assistant

  • Application management: list, create, rename, transfer and deploy apps
  • Run commands on a one-off dyno
  • Dynos: list, scale and restart
  • Add-ons: list, inspect and provision
  • Maintenance mode and application logs
  • Pipelines: create, list, inspect and promote
  • Heroku Postgres: run SQL, inspect queries and locks, manage backups and upgrades

Install

How do I install Heroku Platform MCP in Claude Code, Cursor or VS Code?

You need:

  • Heroku CLI 10.8.1 or newer, signed in with heroku login
  • A Heroku account

Run in your project. --scope local keeps the servers private to you in this project; use user for every project.

Terminal
claude mcp add --scope local heroku -- heroku mcp:start
Native Windows (PowerShell)
claude mcp add --scope local heroku -- heroku mcp:start

Need another app? Open Heroku Platform MCP Server in the MCP config generator for a shared project .mcp.json, Devin, or several servers at once; it writes one file per app. The snippets follow the setup in the server’s README, checked on 2026-10-14.

Is the Heroku Platform MCP server safe? Check before you install

  • The server acts with your Heroku account and can deploy, scale, transfer apps, kill database processes and run SQL against production Postgres.
  • The README documents no read-only flag, so keep tool-call approval switched on in your client.
  • A local MCP server runs with your user account’s permissions. Install it only from the source linked above. See how to choose a safe server.

FAQ

Heroku Platform MCP questions

Is the Heroku Platform MCP server official?

Yes. Heroku (Salesforce) publishes and maintains it, under the Apache-2.0 licence. Install it only from the source linked on this page, not from a copy in another directory.

Is Heroku Platform MCP server remote or local?

Local. Your MCP app starts it on your machine with heroku, and it runs with your user account’s permissions.

Does Heroku Platform MCP server need an API key or account?

Yes, an account. It uses the sign-in you already made with the vendor’s command-line tool, and acts with that account’s permissions. You also need: Heroku CLI 10.8.1 or newer, signed in with heroku login; A Heroku account.

Why it’s listed

Why we list it

Heroku’s own server, with a release this month, covering apps, dynos, pipelines and Postgres through the familiar CLI login.

Related

All MCP serversMCP config generatorGuide: MCP servers in Claude CodeGuide: what is MCP?