Heroku Platform MCP Server
Official Heroku MCP server: apps, dynos, add-ons, pipelines, logs and Postgres through the Heroku CLI
- 82 ★ on the repository
- Last commit
- Apache-2.0
Broad access
Why this level
- Runs SQL and kills processes in Postgres databases
- Scales, transfers and deploys apps
- Runs arbitrary code on one-off dynos
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add mcp/heroku-platform-mcp-serverDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewBroad accessThe tool can change data, run commands or handle secrets.
- Runs SQL and kills processes in Postgres databases
- Scales, transfers and deploys apps
- Runs arbitrary code on one-off dynos
This is third-party code. Review the repository files before installing.
What it does
The server lets the agent manage the Heroku platform. The agent creates, renames and transfers apps, deploys projects from app.json and runs code on one-off dynos. It scales and restarts dynos, provisions add-ons, toggles maintenance mode and reads logs. For Heroku Postgres it runs SQL, shows active queries and locks, manages backups and upgrades versions.
Who it is for. For developers and teams whose apps run on Heroku.
Good fit when
- You need logs and a restart for a crashed app
- You need to find slow queries and locks in Heroku Postgres
- You need to promote a build through a pipeline
Not a fit when
- Your apps are not on Heroku
- The agent must not run SQL or kill processes in a production database
Example request
Show recent logs for my-shop and check its database for locksMCP
- Transport
- stdio
- Authentication
- key is optional
Environment variables
HEROKU_API_KEYsecret- Heroku auth token, not needed with heroku mcp:start
MCP_SERVER_REQUEST_TIMEOUT- Command timeout in milliseconds, default 15000
Limitations
Requires Heroku CLI 10.8.1 or later and a Heroku account. The project is in early development and tools may change. Heroku does not serve users in Russia, so the server is of no use without a VPN and a foreign account.
How to disable. Remove the heroku block from the MCP config and restart the client. If you used HEROKU_API_KEY, revoke the authorization in Heroku account settings.
FAQ
Do I need an API key?
Not with heroku mcp:start, which reuses the Heroku CLI session. npx -y @heroku/mcp-server needs HEROKU_API_KEY.
How do I get HEROKU_API_KEY?
Run heroku authorizations:create or heroku auth:token, or create one on the Applications tab of account settings.
Discussion
No questions or reviews yet.
Related
MCP serversSelf-hosted MCP server for running commands on remote servers over SSH, with tokens and roles
Official DigitalOcean MCP server: App Platform, droplets, databases, Kubernetes, networking and storage through an agent
The remote MCP server of Devopness, a platform that builds infrastructure and deploys apps in your own cloud accounts
GitHub's official MCP server: code, issues, pull requests, Actions and security alerts straight from the agent
Google's MCP server for deploying apps to Cloud Run from an agent, with service listing and log reading
A Node.js manager for MCP servers: it starts local servers, connects remote ones and gives a client one address, with a REST API for control
README in short
The README covers two ways to run: heroku mcp:start with CLI auth, and npx with an API key. Each has configs for Claude Desktop, Zed, Cursor, Windsurf, Cline, VS Code and Trae. Tools are grouped by apps, dynos, add-ons, logs, pipelines, teams and Postgres. Apache 2.0 licensed.