heroku/heroku-mcp-server
Heroku Platform MCP Server using the Heroku CLI
4ab5c8e7f177@heroku/mcp-server1.2.15 in package.jsonPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 1 place a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 5 of 43 tools, prompts and resources could not be followed through the code
- 5 tools, prompts and resources registered only in the repository's tests are not counted on this page
Top risks in plain words
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 37 tools, 1 resource. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
deploy_one_off_dyno, deploy_to_herokudeploy_one_off_dyno, deploy_to_heroku, heroku_dev_centerdeploy_one_off_dyno, deploy_to_herokudeploy_one_off_dyno, deploy_to_herokudeploy_one_off_dyno, deploy_to_herokuNo tool was seen to: start other programs on the machine.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
devcenter.heroku.com· heroku_dev_center
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
HEROKU_API_KEY· deploy_one_off_dyno, deploy_to_heroku
4 request addresses could not be settled from the code (built at run time).
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- web or API responses3 tools · deploy_one_off_dyno, deploy_to_heroku, heroku_dev_center
- files2 tools · deploy_one_off_dyno, deploy_to_heroku
All three are present: text from outside could make the agent send private data away. Keep confirmations on for tools that send data.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (38: 37 tools, 1 resource)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
heroku_dev_centerresource This resource provides a summary of Heroku Dev Center articles, and how to use Heroku.Networkoutside text
This resource provides a summary of Heroku Dev Center articles, and how to use Heroku.
create_addontool Create add-on: specify service, plan, custom names
Create add-on: specify service, plan, custom names
create_apptool Create app: custom name, region (US/EU), team, private space
Create app: custom name, region (US/EU), team, private space
deploy_one_off_dynotool Run code/commands in Heroku one-off dyno with network and filesystem access.FilesNetworkCredentialsEnv varsSensitive pathsoutside text
Run code/commands in Heroku one-off dyno with network and filesystem access.
Requirements:
- Show command output
- Use app_info for buildpack detection
- Support shell setup commands
- Use stdout/stderr
Features:
- Network/filesystem access
- Environment variables
- File operations
- Temp directory handling
Usage:
1. Use Heroku runtime
2. Proper syntax/imports
3. Organized code structure
4. Package management:
- Define dependencies
- Minimize external deps
- Prefer native modules
Example package.json:
```json
{
"type": "module",
"dependencies": {
"axios": "^1.6.0"
}
}
```deploy_to_herokutool FilesNetworkCredentialsEnv varsSensitive pathsoutside text
No description.
get_addon_infotool Get add-on details: plan, state, billing
Get add-on details: plan, state, billing
get_app_infotool Get app details: config, dynos, addons, access, domains
Get app details: config, dynos, addons, access, domains
get_app_logstool App logs: monitor/debug/filter by dyno/process/source
App logs: monitor/debug/filter by dyno/process/source
list_addon_planstool List service plans: features, pricing, availability
List service plans: features, pricing, availability
list_addon_servicestool List available add-on services and features
List available add-on services and features
list_addonstool List add-ons: all apps or specific app, detailed metadata
List add-ons: all apps or specific app, detailed metadata
list_ai_available_modelstool List available AI inference models
List available AI inference models
list_appstool List Heroku apps: owned, collaborator access, team/space filtering
List Heroku apps: owned, collaborator access, team/space filtering
list_private_spacestool Lists Heroku Private Spaces with CIDR blocks, regions, compliance and capacity details. JSON output supported.
Lists Heroku Private Spaces with CIDR blocks, regions, compliance and capacity details. JSON output supported.
list_teamstool Lists accessible Heroku Teams. Use for: viewing teams, checking membership, getting team metadata, and verifying access. JSON output available.
Lists accessible Heroku Teams. Use for: viewing teams, checking membership, getting team metadata, and verifying access. JSON output available.
maintenance_offtool Disable maintenance mode and restore normal app operations
Disable maintenance mode and restore normal app operations
maintenance_ontool Enable maintenance mode and redirect traffic for a Heroku app
Enable maintenance mode and redirect traffic for a Heroku app
make_ai_inferencetool Make inference request to Heroku AI API
Make inference request to Heroku AI API
pg_backupstool Manage backups: schedules, status, verification, recovery
Manage backups: schedules, status, verification, recovery
pg_credentialstool Manage access: credentials, permissions, security, monitoring
Manage access: credentials, permissions, security, monitoring
pg_infotool View database status: config, metrics, resources, health
View database status: config, metrics, resources, health
pg_killtool Stop processes: stuck queries, blocking transactions, runaway operations
Stop processes: stuck queries, blocking transactions, runaway operations
pg_lockstool Analyze locks: blocked queries, deadlocks, concurrency
Analyze locks: blocked queries, deadlocks, concurrency
pg_maintenancetool Track maintenance: windows, schedules, progress, planning
Track maintenance: windows, schedules, progress, planning
pg_outlierstool Find resource-heavy queries: performance, patterns, optimization
Find resource-heavy queries: performance, patterns, optimization
pg_pstool Monitor active queries: progress, resources, performance
Monitor active queries: progress, resources, performance
pg_psqltool Execute SQL queries: analyze, debug, modify schema, manage data
Execute SQL queries: analyze, debug, modify schema, manage data
pg_upgradetool Upgrade PostgreSQL: version migration, compatibility, safety
Upgrade PostgreSQL: version migration, compatibility, safety
pipelinestool Lists and manages Heroku pipelines with configuration visibility
Lists and manages Heroku pipelines with configuration visibility
pipelines_createtool Creates new Heroku deployment pipeline with configurable stages, apps, and team settings
Creates new Heroku deployment pipeline with configurable stages, apps, and team settings
pipelines_infotool Displays detailed pipeline configuration, stages, and connected applications
Displays detailed pipeline configuration, stages, and connected applications
pipelines_listtool Lists accessible Heroku pipelines with ownership and configuration details
Lists accessible Heroku pipelines with ownership and configuration details
pipelines_promotetool Promotes apps between pipeline stages with configurable target applications
Promotes apps between pipeline stages with configurable target applications
provision_ai_modeltool Provision AI model access for app
Provision AI model access for app
ps_listtool List and monitor Heroku app dynos. View running dynos, check status/health, monitor process states, verify configurations.
List and monitor Heroku app dynos. View running dynos, check status/health, monitor process states, verify configurations.
ps_restarttool Restart Heroku app processes. Restart specific dynos, process types, or all dynos. Reset dyno states selectively.
Restart Heroku app processes. Restart specific dynos, process types, or all dynos. Reset dyno states selectively.
ps_scaletool Scale Heroku app dynos. Adjust quantities, change sizes, view formation details, manage resources.
Scale Heroku app dynos. Adjust quantities, change sizes, view formation details, manage resources.
rename_apptool Rename app: validate and update app name
Rename app: validate and update app name
Text the model reads (38)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
list_addons tool
List add-ons: all apps or specific app, detailed metadata
get_addon_info tool
Get add-on details: plan, state, billing
create_addon tool
Create add-on: specify service, plan, custom names
list_addon_services tool
List available add-on services and features
list_addon_plans tool
List service plans: features, pricing, availability
list_ai_available_models tool
List available AI inference models
provision_ai_model tool
Provision AI model access for app
make_ai_inference tool
Make inference request to Heroku AI API
list_apps tool
List Heroku apps: owned, collaborator access, team/space filtering
get_app_info tool
Get app details: config, dynos, addons, access, domains
create_app tool
Create app: custom name, region (US/EU), team, private space
rename_app tool
Rename app: validate and update app name
pg_psql tool
Execute SQL queries: analyze, debug, modify schema, manage data
pg_info tool
View database status: config, metrics, resources, health
pg_ps tool
Monitor active queries: progress, resources, performance
pg_locks tool
Analyze locks: blocked queries, deadlocks, concurrency
pg_outliers tool
Find resource-heavy queries: performance, patterns, optimization
pg_credentials tool
Manage access: credentials, permissions, security, monitoring
pg_kill tool
Stop processes: stuck queries, blocking transactions, runaway operations
pg_maintenance tool
Track maintenance: windows, schedules, progress, planning
pg_backups tool
Manage backups: schedules, status, verification, recovery
pg_upgrade tool
Upgrade PostgreSQL: version migration, compatibility, safety
deploy_to_heroku tool
deploy_one_off_dyno tool
Run code/commands in Heroku one-off dyno with network and filesystem access.
Requirements:
- Show command output
- Use app_info for buildpack detection
- Support shell setup commands
- Use stdout/stderr
Features:
- Network/filesystem access
- Environment variables
- File operations
- Temp directory handling
Usage:
1. Use Heroku runtime
2. Proper syntax/imports
3. Organized code structure
4. Package management:
- Define dependencies
- Minimize external deps
- Prefer native modules
Example package.json:
```json
{
"type": "module",
"dependencies": {
"axios": "^1.6.0"
}
}
```
get_app_logs tool
App logs: monitor/debug/filter by dyno/process/source
maintenance_on tool
Enable maintenance mode and redirect traffic for a Heroku app
maintenance_off tool
Disable maintenance mode and restore normal app operations
pipelines_create tool
Creates new Heroku deployment pipeline with configurable stages, apps, and team settings
pipelines_promote tool
Promotes apps between pipeline stages with configurable target applications
pipelines_list tool
Lists accessible Heroku pipelines with ownership and configuration details
pipelines_info tool
Displays detailed pipeline configuration, stages, and connected applications
pipelines tool
Lists and manages Heroku pipelines with configuration visibility
ps_list tool
List and monitor Heroku app dynos. View running dynos, check status/health, monitor process states, verify configurations.
ps_scale tool
Scale Heroku app dynos. Adjust quantities, change sizes, view formation details, manage resources.
ps_restart tool
Restart Heroku app processes. Restart specific dynos, process types, or all dynos. Reset dyno states selectively.
list_private_spaces tool
Lists Heroku Private Spaces with CIDR blocks, regions, compliance and capacity details. JSON output supported.
list_teams tool
Lists accessible Heroku Teams. Use for: viewing teams, checking membership, getting team metadata, and verifying access. JSON output available.
heroku_dev_center resource
This resource provides a summary of Heroku Dev Center articles, and how to use Heroku.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 38 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 38 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 38 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 38 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 38 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 38 capabilities; 38 more call code the scanner could not follow, where it may happen
- Tools that touch files2 of 38 capabilities touch files; 36 more call code the scanner could not follow, where it may happen
- Tools that call the network3 of 38 capabilities call the network; 35 more call code the scanner could not follow, where it may happen
Where the code is: 38 handlers in 12 files at commit 4ab5c8e7f177
src/resources/dev-center-resource.tsheroku_dev_centersrc/tools/addons.tslist_addons, get_addon_info, create_addon, list_addon_services, list_addon_planssrc/tools/ai.tslist_ai_available_models, provision_ai_model, make_ai_inferencesrc/tools/apps.tslist_apps, get_app_info, create_app, rename_appsrc/tools/data.tspg_psql, pg_info, pg_ps, pg_locks, pg_outliers, pg_credentials, pg_kill, pg_maintenance, pg_backups, pg_upgradesrc/tools/deploy-to-heroku.tsdeploy_to_heroku, deploy_one_off_dynosrc/tools/logs.tsget_app_logssrc/tools/maintenance.tsmaintenance_on, maintenance_offsrc/tools/pipelines.tspipelines_create, pipelines_promote, pipelines_list, pipelines_info, pipelinessrc/tools/ps.tsps_list, ps_scale, ps_restartsrc/tools/spaces.tslist_private_spacessrc/tools/teams.tslist_teams
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: package.json
- Lockfiles checked against OSV1 file resolved and checked against the OSV database
- Known vulnerabilities in production dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependencies4 packages with advisories used only for development, tests or examples; an install of the server leaves them out
- MCP SDK version@modelcontextprotocol/sdk ^1.26.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentials2 of 38 capabilities read credentials; 36 more call code the scanner could not follow, where it may happen
- Environment variables2 capabilities read environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (1 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
No known vulnerabilities in the production dependencies that could be checked.
4 vulnerable packages outside the server itself (used only for development, tests or examples, not shipped)
zodnpm 3.25.76 HIGH 1 advisory 4.6.6
- HIGHGHSA-mrhx-c7xc-m3w5 CVE-2023-54404Zod can exhaust memory while validating oversized constrained collections
globnpm 13.0.6 MEDIUM 1 advisory 14.0.2
- MEDIUMGHSA-3g3m-2fjr-6pw4 CVE-2026-118773Glob: AbortSignal cancellation bypass allows post-timeout filesystem traversal
minimatchnpm 10.2.5 MEDIUM 1 advisory 11.0.1
- MEDIUMGHSA-g3hv-75wg-m249 CVE-2026-118764minimatch has potential denial of service via globparts amplification
minimatchnpm 10.2.6 MEDIUM 1 advisory 11.0.1
- MEDIUMGHSA-g3hv-75wg-m249 CVE-2026-118764minimatch has potential denial of service via globparts amplification
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/sdk ^1.26.0 |
| Servers in the code | 1 (Heroku MCP Server) |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | the policy does not name a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-13 |
| Signed releases | not checked yet |
Where it is published
| Other npm packages | 1 package by other publishers point to this repositoryNot published by the repository's owner; check who publishes a package before you install it. |
|---|---|
| Listed in | 6 catalogs (docker_catalog, github_search, glama, mcp_toplist, mcpservers_org, npm) |
| License | Apache-2.0 |
| Created | 2025-03-26 |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.