Heroku MCP Server

Cloudstdiov1.0.0
代码仓库

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.

连接

将此配置添加到 .claude/mcp.json

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

工具 (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"
    }
  }
}

资源

此服务器未提供任何资源。

提示词

此服务器未提供任何提示词。

服务器信息

作者
Heroku (@heroku)
代码仓库
https://github.com/heroku/heroku-mcp-server
许可证
Apache-2.0
版本
1.0.0
星标
480
最后更新
2026年6月24日