Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Search and execute Heroku Platform API operations
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。
在终端中运行这条命令
浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 dsouzaAnush 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.0)于6个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 MCPB。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A compact MCP server for the Heroku Platform API using a Code Mode pattern:
search+execute+auth_status.
Heroku Code MCP gives agent clients a small, token-efficient control surface for Heroku operations. Pair it with Heroku Skills when you want workflow guidance, safety checks, and Heroku product context alongside live API tools.
Design references:
Default MCP URL: http://127.0.0.1:3000/mcp
git clone https://github.com/dsouzaAnush/heroku-code-mcp.git
cd heroku-code-mcp npm install npm run build npm test
Seed auth from the Heroku CLI:
heroku auth:whoami
npm run seed:token
Start the server:
TOKEN_STORE_PATH=./data/tokens.integration.json \
TOKEN_ENCRYPTION_KEY_BASE64=" " \ PORT=3000 HOST=127.0.0.1 npm run dev
Smoke test:
curl -sS http://127.0.0.1:3000/healthz
MCP_URL=http://127.0.0.1:3000/mcp USER_ID=default npm run smoke:mcp
Before npm publication, the package can also run from GitHub:
HOST=127.0.0.1 PORT=3333 \
TOKEN_STORE_PATH="$HOME/.heroku-code-mcp/tokens.json" \ TOKEN_ENCRYPTION_KEY_BASE64=" " \ WRITE_CONFIRMATION_SECRET=" " \ npx -y github:dsouzaAnush/heroku-code-mcp
Install the companion plugin for skills plus MCP wiring:
claude plugin marketplace add dsouzaAnush/heroku-plugin
claude plugin install heroku@heroku-plugin claude plugin enable heroku@heroku-plugin
Or add the running MCP server directly:
claude mcp add \
--transport http \ --scope local \ heroku-code-mcp \ http://127.0.0.1:3000/mcp \ --header "x-user-id: default"
Use the HTTP endpoint directly when supported:
{
"mcpServers": { "heroku-code-mcp": { "type": "http", "url": "http://127.0.0.1:3000/mcp", "headers": { "x-user-id": "default" } } } }
For Desktop builds that expect stdio servers, bridge through mcp-remote:
{
"mcpServers": { "heroku-code-mcp": { "command": "npx", "args": ["-y", "mcp-remote", "http://127.0.0.1:3000/mcp", "--allow-http", "--header", "x-user-id:default"] } } }
Build a .mcpb bundle with:
npm run build:mcpb
Codex uses Heroku Plugin for skills and optional MCP wiring:
codex plugin marketplace add dsouzaAnush/heroku-plugin --ref main
Enable heroku-plugin@heroku-plugin in the Codex Plugins tab, or add:
[plugins."heroku-plugin@heroku-plugin"]
enabled = true
Run this MCP server on http://127.0.0.1:3333/mcp when you want live Heroku API tools through the plugin.
git clone https://github.com/dsouzaAnush/heroku-plugin.git
cursor agent --plugin-dir heroku-plugin
Add the MCP server to ~/.cursor/mcp.json or project-local .cursor/mcp.json:
{
"mcpServers": { "heroku-code-mcp": { "type": "streamable-http", "url": "http://127.0.0.1:3333/mcp", "headers": { "x-user-id": "default" } } } }
Use streamable HTTP:
{
"mcpServers": { "heroku-code-mcp": { "transport": "streamable_http", "url": "http://127.0.0.1:3000/mcp", "headers": { "x-user-id": "default" } } } }
Or bridge to stdio:
{
"mcpServers": { "heroku-code-mcp": { "command": "npx", "args": ["-y", "mcp-remote", "http://127.0.0.1:3000/mcp", "--allow-http", "--header", "x-user-id:default"] } } }
| Tool | What it does | Why it exists |
|---|---|---|
auth_status | Reports whether the caller is authenticated with Heroku | Lets agents branch cleanly before API work |
search | Ranks Heroku operations from schema and docs context | Avoids exposing dozens of endpoint-shaped tools up front |
execute | Validates params/body and calls the selected Heroku operation | Gives one deterministic execution path |
Typical flow:
auth_status.search with natural language intent.operation_id.execute with path_params, query_params, and body.dry_run=true, then replay with confirm_write_token and ALLOW_WRITES=true.Examples:
{
"query": "list apps", "limit": 5 }
{
"operation_id": "GET /apps" }
{
"operation_id": "PATCH /apps/{app_identity}", "path_params": { "app_identity": "my-app" }, "body": { "maintenance": true }, "dry_run": true }
Mutations (POST, PATCH, PUT, DELETE) are blocked by default. To allow a write, set ALLOW_WRITES=true, request a dry run, and replay with the returned confirm_write_token. Sensitive headers and body fields are redacted.
Key env vars:
ALLOW_WRITESREQUEST_TIMEOUT_MSMAX_RETRIESCATALOG_CACHE_PATHREAD_CACHE_TTL_MSEXECUTE_MAX_BODY_BYTESEXECUTE_BODY_PREVIEW_CHARSFull example: .env.example
Benchmarks were captured on February 22, 2026 on the same machine and account for both implementations.
| Metric | heroku-code-mcp | official Heroku MCP | Delta |
|---|---|---|---|
| Tool count | 3 | 37 | 91.9% lower |
| Tool-list payload bytes | 1,469 | 25,500 | 94.2% lower |
| Tool-list approx tokens | 368 | 6,375 | 94.2% lower |
| Connect avg | 14.8 ms | 10,168.7 ms | 687x faster |
list_tools avg | 4.3 ms | 10.3 ms | 2.4x faster |
| Read op avg | 528.0 ms (execute GET /apps) | 9,697.4 ms (list_apps) | 18.4x faster |
Charts: - -
Full methodology and artifacts live in BENCHMARKS.md and benchmarks/results/.
Validate locally:
npm run build
npm test npm run validate:server npm run publish:dry-run
This repo uses free GitHub Actions:
validate.yml runs build, tests, server.json validation, and npm pack dry-run on PRs and pushes to main.release.yml runs on v* tags, builds the .mcpb, updates release server.json, creates or updates the GitHub Release, and publishes to the MCP Registry through GitHub OIDC.Publish manually when needed:
npm publish --access public
mcp-publisher login github mcp-publisher publish server.json
For CI-based npm publishing, configure npm trusted publishing for repo dsouzaAnush/heroku-code-mcp and workflow release.yml, then run the release workflow with publish_npm=true.
src/schema/*: ingestion, operation normalization, and cachesrc/search/*: search index and rankingsrc/execute/*: validation and Heroku API executionsrc/auth/*: OAuth and encrypted token storagetests/*: catalog, search, and execute testsbenchmarks/results/*: benchmark artifactsserver.json: MCP Registry metadataThis repo includes the official Heroku wordmark and mark under assets. Use them according to the Heroku Brand Guidelines.
Common fixes:
http://127.0.0.1:3000/mcp and server health.AUTH_REQUIRED: seed a token or complete OAuth.ALLOW_WRITES=true and send the dry-run confirmation token.