# Heroku MCP Server

Heroku’s MCP server for managing apps, dynos, add-ons and Postgres through the Heroku CLI.

The Heroku MCP server lets agents manage Heroku apps through the Heroku CLI: deploy and scale apps, read logs, manage add-ons and pipelines, and work with Heroku Postgres.

- Canonical URL: https://meetnewai.com/mcp/heroku-mcp
- Official URL: https://github.com/heroku/heroku-mcp-server
- Pricing: Open source
- Verified: Checked Oct 18, 2026
- Repository: https://github.com/heroku/heroku-mcp-server
- License: Apache-2.0

## MCP Install Config

```json
{
  "name": "heroku",
  "remote": false,
  "launch": "npx -y @heroku/mcp-server",
  "source": "https://github.com/heroku/heroku-mcp-server",
  "checked": "2026-10-18",
  "snippets": [
    {
      "id": "json",
      "code": "{\n  \"mcpServers\": {\n    \"heroku\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@heroku/mcp-server\"\n      ],\n      \"env\": {\n        \"HEROKU_API_KEY\": \"<HEROKU_API_KEY>\"\n      }\n    }\n  }\n}"
    },
    {
      "id": "vscode",
      "code": "{\n  \"servers\": {\n    \"heroku\": {\n      \"type\": \"stdio\",\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@heroku/mcp-server\"\n      ],\n      \"env\": {\n        \"HEROKU_API_KEY\": \"<HEROKU_API_KEY>\"\n      }\n    }\n  }\n}"
    },
    {
      "id": "claude",
      "code": "claude mcp add heroku -e HEROKU_API_KEY='<HEROKU_API_KEY>' -- npx -y @heroku/mcp-server"
    }
  ]
}
```
