AI Skill Hub 推荐使用:renovate-mcp 是一款优质的MCP工具。AI 综合评分 7.1 分,在同类工具中表现稳健。如果你正在寻找可靠的MCP工具解决方案,这是一个值得深入了解的选择。
renovate-mcp 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
renovate-mcp 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/tibuntu/renovate-mcp
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"renovate-mcp": {
"command": "npx",
"args": ["-y", "renovate-mcp"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 renovate-mcp 执行以下任务... Claude: [自动调用 renovate-mcp MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"renovate-mcp": {
"command": "npx",
"args": ["-y", "renovate-mcp"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
An MCP server for designing Renovate configurations interactively. Point it at a local repo and let an LLM help you read, validate, preview, and save renovate.json.
Required
package.json declares "os": ["darwin", "linux"], so npm i surfaces an EBADPLATFORM warning on Windows, and the server exits with a clear stderr message at startup. Run on WSL2 or a Linux/macOS host instead.Renovate ships bundled — the renovate package is a runtime dependency, so validate_config, dry_run, and write_config work out of the box with no separate install. The offline tools (read_config, resolve_config, explain_config, preview_custom_manager, lint_config) never spawn Renovate at all.
Optional
RENOVATE_BIN / RENOVATE_CONFIG_VALIDATOR_BIN — override the bundled binaries (e.g., to point at a different Renovate install). When set, the override always wins.RENOVATE_MCP_REQUIRE_CLI=false — suppress the startup "partial availability" notice when you only intend to use the offline tools.RENOVATE_PLATFORM, RENOVATE_ENDPOINT, and a token (RENOVATE_TOKEN / GITHUB_TOKEN / GITLAB_TOKEN). Needed for dry_run against a remote platform and for resolve_config with externalPresets: true. See Platform setup for the matrix and a worked example.dry_run — whatever Renovate itself would need at lookup time (COMPOSER_AUTH, NPM_TOKEN / .npmrc, Docker registry creds, or a RENOVATE_HOST_RULES JSON blob). Alternatively encode these as hostRules in the Renovate config, or pass them per-call via the hostRules input on dry_run (no MCP restart needed). Per-call hostRules are appended to whatever the repo's own config declares. Values reach Renovate as JSON through the tool-call transport, so the calling LLM sees them in its context — prefer the env route if that matters. Without any of these, Renovate's lookup often returns 0 updates silently; dry_run scans its logs for auth failures and surfaces them under problems.Note: all env vars (tokens,COMPOSER_AUTH,RENOVATE_HOST_RULES, binary overrides, …) must be set on the MCP server process itself — via theenvkey inclaude_desktop_config.json/.mcp.json, not your shell — since the MCP server runs as a child of the client and does not inherit shell env.
npx fetches the published package on demand — no manual install needed. For local development, clone and build first:
npm install
npm run build
Add the following mcpServers entry to your client's config file:
{
"mcpServers": {
"renovate": {
"command": "npx",
"args": ["-y", "renovate-mcp"]
}
}
}
For local development, swap to "command": "node" with "args": ["/absolute/path/to/renovate-mcp/dist/index.js"].
The four common configurations differ in three settings: RENOVATE_PLATFORM, RENOVATE_ENDPOINT, and which token env var you set. Pick the row that matches your environment and put the values in your client's mcpServers.renovate.env block.
| Setup | RENOVATE_PLATFORM | RENOVATE_ENDPOINT | Token env var |
|---|---|---|---|
| github.com | github | (omit — defaults to https://api.github.com) | RENOVATE_TOKEN *or* GITHUB_TOKEN |
| GitHub Enterprise | github | https://github.example.com/api/v3/ | RENOVATE_TOKEN *or* GITHUB_TOKEN |
| gitlab.com | gitlab | (omit — defaults to https://gitlab.com/api/v4) | RENOVATE_TOKEN *or* GITLAB_TOKEN |
| Self-hosted GitLab | gitlab | https://gitlab.example.com/api/v4/ | RENOVATE_TOKEN *or* GITLAB_TOKEN |
Notes that apply to every row:
env key in .mcp.json / claude_desktop_config.json, not your shell, since the MCP server runs as a child of the client and does not inherit shell env.RENOVATE_TOKEN wins when both it and the platform-specific var are set. dry_run and resolve_config honour the same precedence; for dry_run the platform-specific var is auto-translated to RENOVATE_TOKEN for the spawned Renovate CLI (Renovate itself only reads that one var).group/subgroup/project, not just group/project.read_config, resolve_config without externalPresets, preview_custom_manager, lint_config), you can skip all of the above.{
"mcpServers": {
"renovate": {
"command": "npx",
"args": ["-y", "renovate-mcp"],
"env": {
"RENOVATE_PLATFORM": "gitlab",
"RENOVATE_ENDPOINT": "https://gitlab.example.com/api/v4/",
"GITLAB_TOKEN": "<your token>"
}
}
}
}
This is enough for both dry_run (remote-platform runs) and resolve_config (private preset fetches). With this set, dry_run against group/subgroup/project works without passing platform / endpoint / token per call: RENOVATE_PLATFORM and the auto-translated GITLAB_TOKEN cover the platform side, and RENOVATE_ENDPOINT is inherited naturally by the spawned Renovate CLI. For resolve_config, platform and endpoint are tool inputs (not env vars) — pass them when you need local> presets routed through your host, since resolve_config is in-process and doesn't read RENOVATE_* env vars itself.
Once the server is wired up, try prompts like these. They're written for Claude but work with any MCP-capable client.
Understanding an existing config
presetsUnresolved, with the reason for each."prCreation set to not-pending? Use explain_config to trace which preset set it."Browsing presets
config namespace." (uses the renovate://presets/config sub-resource — cheaper than pulling the whole index)config:recommended actually enable? Show me its expanded JSON."Self-hosted GitLab / GitHub Enterprise (env set per Platform setup)
gitlab>platform/renovate-presets from our self-hosted GitLab at https://gitlab.example.com/api/v4. Route local> presets through the same host."github>acme/renovate-config//base from our GitHub Enterprise at https://github.acme.corp/api/v3."infrastructure/kubernetes/our-platform (a nested-group GitLab project) so Renovate can fetch the local> presets the config extends."Authoring a custom manager (regex)
# renovate: datasource=docker depName=... comments above image tags in my Dockerfiles. Draft a customManagers regex entry and preview it against this repo so I can see what it extracts."customManagers entry — preview it and tell me which files match, which lines hit each matchStrings regex, and what dep info gets extracted."Validating, previewing, saving
:semanticCommits to my extends, validate it, and save back to renovate.json."A transcript-style walkthrough: design a Dockerfile custom manager from scratch, validate it, dry-run, and save. Turns are abbreviated — your client will show the actual tool-call JSON.
You: I've got# renovate: datasource=docker depName=<image>comments aboveFROMlines in my Dockerfiles. Draft acustomManagersentry and preview it against this repo. Claude callspreview_custom_managerwith a first-draftfileMatch+matchStrings. → 4 Dockerfiles matchedfileMatch, 0 lines matchedmatchStrings. The regex anchored onARG, but the Dockerfiles useFROM. You: RewritematchStringsto anchor on the renovate comment, thenFROM <image>:<version>on the next line. Claude callspreview_custom_manageragain with the fixed regex. → 4 files, 4 line hits. Extracted:postgres:15.3-alpine,redis:7.2,nginx:1.25,node:20.11. Named groupsdepNameandcurrentValuepopulated on every hit. You: Good. Validate the full config inline, with thiscustomManagersentry alongside my existingextends. Claude callsvalidate_configwith the inline config. → valid. You: Now dry-run so I can see what Renovate would actually open. Claude callsdry_run. → 2 updates:postgres15.3-alpine → 15.5-alpine,redis7.2 → 7.4. No entries inproblems. You: Save it. Claude callswrite_configonrenovate.json. → validated, written atomically.
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
总体来看,renovate-mcp 是一款质量良好的MCP工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | renovate-mcp |
| 原始描述 | 开源MCP工具:An MCP server for designing Renovate configurations interactively。⭐6 · TypeScript |
| Topics | aimcpmcp-serverrenovatetypescript |
| GitHub | https://github.com/tibuntu/renovate-mcp |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-05-21 · 更新时间:2026-05-22 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端