What it does
The Heroku Platform MCP Server bridges LLMs and the Heroku Platform, providing 38 tools for reading, managing, and operating Heroku resources directly through natural language. It authenticates either through your existing Heroku CLI session (recommended via heroku mcp:start) or through API key environment variables. The server supports Common Runtime, Cedar Private and Shield Spaces, and Fir Private Spaces deployments. It remains in early development, with functionality and available tools expected to evolve.
Who it's for
Backend engineers and DevOps teams deploying applications on Heroku who want to manage, monitor, and troubleshoot their infrastructure through Claude or other MCP-compatible LLM clients without leaving the editor.
Common use cases
- Query application status, logs, and metrics from Heroku directly via Claude
- Deploy, scale, or restart Heroku applications through natural language commands
- Configure environment variables and manage add-ons for deployed apps
- Monitor application health and troubleshoot issues in context
- Perform CRUD operations on Heroku resources without switching tools
Setup pitfalls
- Requires Heroku CLI v10.8.1 or higher — verify with
heroku --versionbefore configuring the MCP server - When using
npx @heroku/mcp-serverinstead ofheroku mcp:start, you must generate and setHEROKU_API_KEYviaheroku authorizations:createorheroku auth:token— mismatched or expired keys will cause authentication failures - The server reads and writes to your filesystem — ensure your MCP client sandbox or file permissions align with the Heroku configuration directories it accesses
- Early development status means breaking changes are possible; monitor releases regularly