npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@heroku-mcp/platform

v1.1.0

Published

MCP tools for the Heroku Platform API: apps, dynos, builds, releases, config vars, addons, teams, spaces, webhooks, and more.

Readme

@heroku-mcp/platform

MCP server exposing the Heroku Platform API as tools for AI clients like Claude Desktop and Claude Code.

Part of herokumcp. For full documentation, deployment guides, and the broader project context, see the main repo.

Not affiliated with Salesforce or Heroku. See TRADEMARKS.md.

Install

npm install @heroku-mcp/platform

Requires Node ≥ 24.

Usage — stdio (for local AI clients)

Stdio is the canonical mode for desktop/CLI AI clients like Claude Desktop and Claude Code.

# 1. Generate a Heroku API token
heroku authorizations:create -d "herokumcp"

# 2. Set it in the environment and run
export HEROKUMCP_TOKEN="HRKU-..."
npx @heroku-mcp/platform

Or use it directly in a Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "heroku": {
      "command": "npx",
      "args": ["-y", "@heroku-mcp/platform"],
      "env": {
        "HEROKUMCP_TOKEN": "HRKU-your-token-here"
      }
    }
  }
}

Restart Claude Desktop, then in a new conversation: "What Heroku apps do I have?"

Usage — HTTP (for hosted, multi-user deployments)

For a team that wants Claude to manage shared Heroku resources behind per-user OAuth sign-in, deploy @heroku-mcp/http-server instead. It registers these Platform tools (plus the Postgres, Key-Value, and Kafka tool packages) behind one OAuth-protected /mcp endpoint. See the project README.

Tool surface

This package exposes 127 tools covering the Heroku Platform API. Tools are gated by runtime capability probing — the set a client sees depends on what its specific token can do. By category:

| Category | What it covers | |---|---| | Account | Account info, features, SMS/2FA number, invoices, credits | | Apps | App lifecycle, config vars, formation/scaling, dynos, releases, logs, domains, SSL/SNI, buildpacks, slugs, collaborators, review apps | | Builds | Build creation and inspection | | Add-ons | Add-on provisioning, plans, attachments, config, webhooks, regions, services | | Teams | Team membership, apps, invitations, and team-scoped add-ons | | Enterprise | Enterprise accounts, members, and identity (SSO) | | Spaces | Private Spaces, VPN connections, peerings, trusted IP ranges | | Pipelines | Pipelines, couplings, and promotions | | OAuth & keys | OAuth authorizations/clients, account keys | | Diagnostics | whoami, schema/capability probes, telemetry, audit |

Full catalog with parameters and endpoint mappings: TOOLS.md.

Safety

Every destructive operation supports two protections:

// Preview without executing
apps_delete({ app: "my-app", dry_run: true })
// → { ok: true, dry_run: true, data: { request, description } }

// Execute requires explicit confirmation matching the target name
apps_delete({ app: "my-app", confirm: "my-app" })
// → { ok: true, data: { ... } }

The MCP server itself never auto-fills confirm; the AI client must obtain explicit user acknowledgment before passing it.

Environment variables

| Variable | Required | Purpose | |---|---|---| | HEROKUMCP_TOKEN | yes (if no --token) | The Heroku API token to authenticate as | | HEROKUMCP_HOME | no | Override the config directory (default: ~/.config/herokumcp) | | HEROKUMCP_LOG_LEVEL | no | debug / info / warn / error (default: info) | | HEROKUMCP_LOG_FILE | no | Mirror stderr to a file |

Documentation

Related

License

Apache-2.0.