
Heroku MCP server
Okay, I understand. You want me to translate the phrase "Let's your agent access the Heroku platform" into Chinese. Here are a few options, depending on the nuance you want to convey: **Option 1 (Most Direct):** * **让你的代理访问 Heroku 平台 (Ràng nǐ de dàilǐ fǎngwèn Heroku píngtái)** * This is the most literal translation. * `让 (ràng)`: Let, allow * `你的代理 (nǐ de dàilǐ)`: Your agent * `访问 (fǎngwèn)`: Access, visit * `Heroku 平台 (Heroku píngtái)`: Heroku platform **Option 2 (Slightly More Natural, Implies Permission):** * **允许你的代理访问 Heroku 平台 (Yǔnxǔ nǐ de dàilǐ fǎngwèn Heroku píngtái)** * This emphasizes the granting of permission. * `允许 (yǔnxǔ)`: Allow, permit **Option 3 (Focus on Enabling Access):** * **让你的代理能够访问 Heroku 平台 (Ràng nǐ de dàilǐ nénggòu fǎngwèn Heroku píngtái)** * This emphasizes the capability of accessing. * `能够 (nénggòu)`: Be able to, can **Which option is best depends on the context. If you're simply stating a desire, Option 1 is fine. If you're talking about granting permission, Option 2 is better. If you're talking about ensuring the agent *can* access it, Option 3 is best.** Therefore, I recommend **让你的代理访问 Heroku 平台 (Ràng nǐ de dàilǐ fǎngwèn Heroku píngtái)** as the most generally applicable translation.
README
heroku-mcp-server
概述
Heroku Platform MCP Server 是一个专门的模型上下文协议 (MCP) 实现,旨在促进大型语言模型与 Heroku 平台之间的无缝交互。 该服务器旨在提供一套强大的工具和功能,使 LLM 能够读取、管理和操作 Heroku 平台资源。
主要特性:
- 通过 LLM 驱动的工具直接与 Heroku 平台资源交互
- 安全且经过身份验证的 Heroku 平台 API 访问,利用 Heroku CLI
- 用于 Heroku 平台交互的自然语言界面
注意:Heroku Platform MCP Server 目前处于早期开发阶段。 随着我们不断增强和完善实现,可用的功能和工具可能会不断发展。 我们欢迎反馈和贡献,以帮助塑造该项目的未来。
安装
使用 npm 在全局范围内安装 Heroku Platform MCP Server:
npm -i -g @heroku/mcp-server
配置
身份验证设置
使用以下方法之一生成 Heroku 授权令牌:
- 通过您的 Heroku Dashboard 帐户配置文件
- 使用 Heroku CLI 命令:
heroku authorizations:create
复制令牌并在以下步骤中将其用作您的 HEROKU_API_KEY
。
与 Claude Desktop 一起使用
将其添加到您的 claude_desktop_config.json
:
"mcpServers": {
"heroku": {
"command": "heroku-mcp-server",
"env": {
"HEROKU_API_KEY": "<YOUR_HEROKU_AUTH_TOKEN>"
}
}
}
与 Zed 一起使用
将其添加到您的 Zed settings.json:
"context_servers": [
"heroku-mcp-server": {
"command": {
"path": "heroku-mcp-server",
"env": {
"HEROKU_API_KEY": "<YOUR_HEROKU_AUTH_TOKEN>"
}
}
}
],
与 Cursor 一起使用
将其添加到您的 Cursor mcp.json:
"mcpServers": {
"heroku": {
"command": "heroku-mcp-server",
"env": {
"HEROKU_API_KEY": "<YOUR_HEROKU_AUTH_TOKEN>"
}
},
}
与 Windsurf 一起使用
将其添加到您的 Windsurf mcp_config.json:
"mcpServers": {
"heroku": {
"command": "heroku-mcp-server",
"env": {
"HEROKU_API_KEY": "<YOUR_HEROKU_AUTH_TOKEN>"
}
},
}
调试
您可以使用 MCP 检查器或 vscode 运行/调试来运行和调试服务器。
- 使用项目根目录中的
npm link
将项目链接为全局 CLI - 使用
npm run build:dev
构建,或者; - 要监视文件更改并自动构建,请使用
npm run build:watch
选项 1 - 使用 @modelcontextprotocol/inspector(代码中没有断点):
# 断点不可用
npx @modelcontextprotocol/inspector heroku-mcp-server
选项 2 - 使用 VSCode 运行/调试启动器(代码中具有完整功能的断点):
- 找到并单击运行调试
- 在下拉列表中选择标记为“MCP Server Launcher”的配置
- 单击绿色的运行/调试按钮
或者,如果您已将软件包安装在特定目录中或正在对其进行开发:
cd path/to/servers/src/git
npx @modelcontextprotocol/inspector dist/index.js
VS Code / Cursor 调试设置
要设置带有断点的本地调试:
-
将您的 Heroku 身份验证令牌存储在 VS Code 用户设置中:
- 打开命令面板 (Cmd/Ctrl + Shift + P)
- 键入“Preferences: Open User Settings (JSON)”
- 添加以下内容:
{ "heroku.mcp.authToken": "your-token-here" }
-
创建或更新
.vscode/launch.json
:{ "version": "0.2.0", "configurations": [ { "type": "node", "request": "launch", "name": "MCP Server Launcher", "skipFiles": ["<node_internals>/**"], "program": "${workspaceFolder}/node_modules/@modelcontextprotocol/inspector/bin/cli.js", "outFiles": ["${workspaceFolder}/**/dist/**/*.js"], "env": { "HEROKU_API_KEY": "${config:heroku.mcp.authToken}", "DEBUG": "true" }, "args": ["heroku-mcp-server"], "sourceMaps": true, "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "preLaunchTask": "npm: build:watch" }, { "type": "node", "request": "attach", "name": "Attach to Debug Hook Process", "port": 9332, "skipFiles": ["<node_internals>/**"], "sourceMaps": true, "outFiles": ["${workspaceFolder}/dist/**/*.js"] }, { "type": "node", "request": "attach", "name": "Attach to REPL Process", "port": 9333, "skipFiles": ["<node_internals>/**"], "sourceMaps": true, "outFiles": ["${workspaceFolder}/dist/**/*.js"] } ], "compounds": [ { "name": "Attach to MCP Server", "configurations": ["Attach to Debug Hook Process", "Attach to REPL Process"] } ] }
-
创建
.vscode/tasks.json
:{ "version": "2.0.0", "tasks": [ { "type": "npm", "script": "build:watch", "group": { "kind": "build", "isDefault": true }, "problemMatcher": ["$tsc"] } ] }
-
调试方法:
- 在您的 TypeScript 文件中设置断点
- 按 F5 或使用“运行和调试”侧边栏
- 调试器将在启动之前自动构建您的 TypeScript 文件
推荐服务器

Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。