Heroku MCP Server

Cloudstdiov1.0.0
Repository

Official Heroku MCP server that lets AI agents manage Heroku Platform resources. Supports listing and inspecting apps, scaling dynos, viewing logs, managing config vars and add-ons, and running one-off commands, so deployment and operations tasks can be handled conversationally.

Connect

Add this configuration to .claude/mcp.json

{
  "mcpServers": {
    "heroku": {
      "command": "npx",
      "args": [
        "-y",
        "@heroku/mcp-server"
      ],
      "env": {
        "HEROKU_API_KEY": "<YOUR_HEROKU_API_KEY>"
      }
    }
  }
}

Tools (3)

list_apps

List Heroku apps accessible to the account.

{
  "type": "object",
  "properties": {
    "team": {
      "type": "string",
      "description": "Optional team to scope results"
    }
  }
}

scale_dynos

Scale the dyno formation for an app process type.

{
  "type": "object",
  "required": [
    "app",
    "process_type",
    "quantity"
  ],
  "properties": {
    "app": {
      "type": "string",
      "description": "App name"
    },
    "quantity": {
      "type": "integer",
      "description": "Desired number of dynos"
    },
    "process_type": {
      "type": "string",
      "description": "Process type to scale (e.g., web, worker)"
    }
  }
}

get_logs

Fetch recent log lines for an app.

{
  "type": "object",
  "required": [
    "app"
  ],
  "properties": {
    "app": {
      "type": "string",
      "description": "App name"
    },
    "lines": {
      "type": "integer",
      "description": "Number of log lines to return"
    }
  }
}

Resources

This server does not expose any resources.

Prompts

This server does not expose any prompts.

Server Information

Author
Heroku (@heroku)
Repository
https://github.com/heroku/heroku-mcp-server
License
Apache-2.0
Version
1.0.0
Stars
480
Last Updated
June 24, 2026