# Heroku Platform MCP Server

Lets an AI assistant read and manage Heroku Platform resources through a local MCP server that needs a Heroku API key.

MCP server by Heroku. Category: Shipping and ops.

## Install

Project (for this project only):

```sh
npx add-mcp @heroku/mcp-server --env 'HEROKU_API_KEY=${HEROKU_API_KEY}'
```

Works with: Claude Code, Codex CLI, Cursor, Copilot CLI, opencode.

Global (for every project on this machine):

```sh
npx add-mcp @heroku/mcp-server --env 'HEROKU_API_KEY=${HEROKU_API_KEY}' -g
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

## Where it runs

Your computer.

## What it needs

Environment variables:

- `HEROKU_API_KEY` (required): Your Heroku authorization token. Required only for the npx method.

## Tags

- Runs on your computer: It runs as a program on your machine, with your access.
- Needs a key or account: It asks for an API key or a sign in before it works.

## Source

[Open the source](https://devcenter.heroku.com/articles/heroku-mcp-server). Checked 2026-10-10. This summary may contain AI-generated text, so it can be wrong. Check the source before you rely on it.

- Previous: [Heptabase MCP](https://syn4pse.dev/terminal/heptabase-mcp.md)
- Next: [HeyGen MCP](https://syn4pse.dev/terminal/heygen-mcp.md)
- [Terminal](https://syn4pse.dev/terminal.md)
- [Suggest a change](mailto:terminal@syn4pse.dev?subject=Terminal%20suggestion)
