fusion-pm-mcp
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseFusion PM MCP Setup Guide
Fusion PM MCP 设置指南
When to use
适用场景
Use when a user asks:
- what Fusion PM MCP is
- how to install/configure it
- how to verify it is working
- how to troubleshoot a failing setup or stale/rate-limited results
Typical triggers:
- "what is fusion pm mcp"
- "help me set up fusion pm mcp"
- "how do I get GitHub issues/PRs into Copilot without hitting rate limits"
当用户询问以下问题时使用:
- Fusion PM MCP是什么
- 如何安装/配置它
- 如何验证它是否正常运行
- 如何排查安装失败或结果过期/触发速率限制的问题
典型触发问题:
- "Fusion PM MCP是什么"
- "帮我设置Fusion PM MCP"
- "如何在不触发速率限制的情况下将GitHub工单/PR导入Copilot"
When not to use
不适用场景
- Implementing or modifying the service source code — that belongs to the repository itself
fusion-pm-mcp - General Fusion Framework/docs/EDS/backend-code retrieval — use
fusion-mcp - Authoring, triaging, or reviewing GitHub issues/PRs — use or repo-specific review skills once the MCP tools are available
fusion-issue-authoring - Making destructive environment changes without user confirmation
- 实现或修改服务源代码——此类问题属于对应仓库的范畴
fusion-pm-mcp - 通用Fusion Framework/文档/EDS/后端代码检索——请使用
fusion-mcp - 撰写、分类或审核GitHub工单/PR——在MCP工具可用后,请使用或仓库专属审核技能
fusion-issue-authoring - 在未获得用户确认的情况下执行破坏性环境变更
Required inputs
必要输入信息
Collect before proposing setup steps:
- whether a GitHub token is available (, or a PAT with
gh auth tokenscope) — supplied per-request, not stored in configrepo - target client (VS Code is primary)
If details are missing, ask concise follow-up questions first.
在提供设置步骤前需收集:
- 是否有可用的GitHub令牌(,或拥有
gh auth token权限的PAT)——每次请求提供,不存储在配置中repo - 目标客户端(主要为VS Code)
若信息缺失,先提出简洁的跟进问题。
Instructions
操作步骤
- Explain what this MCP server provides:
- a caching proxy over the GitHub REST API, exposed as MCP tools, so agents can read project data without hitting GitHub rate limits on every call
- hosted as a managed service — no local infrastructure required for most users
- tools (verify against , the server's actual source is the source of truth over any stale doc):
tools/list,api_get_issue,api_get_parent_issue,api_get_child_issues,api_get_issue_comments,api_list_milestones,api_get_milestone,api_upsert_issue,api_close,api_get_metadata_schema,api_get_pull_request,api_get_pr_comments,api_get_pr_reviews,api_get_pr_review,api_get_review_commentsapi_resolve_review_comment - responses are cached (default TTL 300s); there is no cache-invalidation tool — stale results clear on their own after the TTL
- Guide user to set up the hosted production server — the only recommended path:
- no Docker, no local clone, no env vars to manage
- VS Code authenticates the MCP connection via Microsoft Entra (Equinor account)
- the caller also supplies their own GitHub token per request via the header (each user keeps their own identity and rate limit — don't suggest a shared/service token)
X-GitHub-Token - use the manual config in (no one-click install link is published for this server)
references/vscode-mcp-config.md - don't suggest local stdio or the full Docker dev stack — those exist only for contributors working on the service itself; point them to that repo's
fusion-pm-mcpinstead of embedding setup steps hereCONTRIBUTING.md
- Describe the authentication flow:
- on first tool invocation VS Code prompts sign-in with the Equinor Entra account (controls access to the MCP server itself)
- separately, the header carries the caller's own GitHub PAT through to the API on every request
X-GitHub-Token - both must be valid; a 401 can come from either layer
- Give a validation checklist:
- run and confirm a successful response
initialize - run and compare against the actual returned tool names — don't assume a fixed list, the surface has changed before
tools/list - run one non-destructive (e.g.
tools/callorapi_list_milestones) and confirm a non-empty resultapi_get_issue
- run
- Troubleshoot in documented order:
- Unauthenticated / hitting rate limits fast → no header configured; unauthenticated calls are capped at 60 req/hr
X-GitHub-Token - or repeated sign-in prompts → re-authenticate via VS Code (sign out/in, or reload the MCP server); if that doesn't resolve it, treat it as a setup bug rather than a known transient issue
401 - Results look stale → there is no invalidate-cache tool; results self-clear after the cache TTL (a few minutes)
- Unauthenticated / hitting rate limits fast → no
- When setup fails or the user asks to file a bug, produce a bug report draft from .
assets/bug-report-template.md- default target repository:
equinor/fusion-pm-mcp - include concrete repro steps, expected vs actual behavior, and troubleshooting already attempted
- include non-sensitive environment details only (OS, VS Code version)
- never include GitHub tokens, PATs, or Entra credentials
- default target repository:
- For uncertainty or repo-private constraints, state assumptions explicitly and link to authoritative docs instead of guessing.
- 解释该MCP服务器的功能:
- 作为GitHub REST API的缓存代理,以MCP工具的形式对外提供服务,使Agent无需每次调用都触发GitHub速率限制即可读取项目数据
- 作为托管服务运行——大多数用户无需本地基础设施
- 工具列表(以返回的内容为准,服务器实际源代码比任何过期文档更权威):
tools/list、api_get_issue、api_get_parent_issue、api_get_child_issues、api_get_issue_comments、api_list_milestones、api_get_milestone、api_upsert_issue、api_close、api_get_metadata_schema、api_get_pull_request、api_get_pr_comments、api_get_pr_reviews、api_get_pr_review、api_get_review_commentsapi_resolve_review_comment - 响应结果会被缓存(默认TTL为300秒);无缓存失效工具——过期结果会在TTL到期后自动清除
- 指导用户设置托管生产服务器——这是唯一推荐的方式:
- 无需Docker、无需本地克隆、无需管理环境变量
- VS Code通过Microsoft Entra(Equinor账户)对MCP连接进行身份验证
- 调用者还需在每次请求中通过头携带自己的GitHub令牌(每个用户保留自己的身份和速率限制——不建议使用共享/服务令牌)
X-GitHub-Token - 使用中的手动配置(该服务器未发布一键安装链接)
references/vscode-mcp-config.md - 不建议使用本地stdio或完整Docker开发栈——这些仅适用于开发服务的贡献者;请引导他们查看该仓库的
fusion-pm-mcp,而非在此嵌入设置步骤CONTRIBUTING.md
- 描述认证流程:
- 首次调用工具时,VS Code会提示使用Equinor Entra账户登录(控制对MCP服务器本身的访问权限)
- 另外,头会在每次请求中将调用者自己的GitHub PAT传递给API
X-GitHub-Token - 两者都必须有效;401错误可能来自任意一层
- 提供验证清单:
- 运行并确认响应成功
initialize - 运行并与实际返回的工具名称对比——不要假设列表固定,该工具集之前有过变更
tools/list - 运行一个非破坏性的(例如
tools/call或api_list_milestones)并确认返回非空结果api_get_issue
- 运行
- 按文档顺序排查问题:
- 未认证/快速触发速率限制→未配置头;未认证调用的上限为每小时60次请求
X-GitHub-Token - 错误或重复登录提示→通过VS Code重新认证(登出/登入,或重新加载MCP服务器);若仍无法解决,则将其视为设置Bug而非已知临时问题
401 - 结果看起来过期→无缓存失效工具;结果会在TTL(几分钟)到期后自动清除
- 未认证/快速触发速率限制→未配置
- 当设置失败或用户要求提交Bug时,从生成Bug报告草稿。
assets/bug-report-template.md- 默认目标仓库:
equinor/fusion-pm-mcp - 包含具体的重现步骤、预期与实际行为、以及已尝试的排查操作
- 仅包含非敏感环境信息(操作系统、VS Code版本)
- 绝不要包含GitHub令牌、PAT或Entra凭据
- 默认目标仓库:
- 若存在不确定性或仓库私有约束,需明确说明假设,并链接到权威文档而非猜测。
Expected output
预期输出
Return:
- short explanation of Fusion PM MCP and when to use it
- hosted setup steps tailored to the user's environment
- validation checklist: ,
initialize(compare against actual returned names), onetools/list(expect non-empty result)tools/call - troubleshooting steps mapped to observed symptoms
- bug report draft (when setup fails/misbehaves or user requests) using with default target
assets/bug-report-template.mdequinor/fusion-pm-mcp - assumptions and missing information called out explicitly
返回内容包括:
- Fusion PM MCP的简短说明及其适用场景
- 针对用户环境定制的托管服务设置步骤
- 验证清单:、
initialize(与实际返回名称对比)、一次tools/list(预期非空结果)tools/call - 与观察到的症状对应的排查步骤
- (当设置失败/异常或用户要求时)使用生成的Bug报告草稿,默认目标仓库为
assets/bug-report-template.mdequinor/fusion-pm-mcp - 明确指出假设和缺失的信息
References
参考资料
- references/vscode-mcp-config.md
- assets/bug-report-template.md
- references/vscode-mcp-config.md
- assets/bug-report-template.md
Safety & constraints
安全与约束
Never:
- request or expose GitHub tokens, PATs, or Entra credentials
- invent setup commands that are not supported by project documentation
- claim setup succeeded without validation output
- suggest a single shared GitHub token for hosted multi-user setups
- run destructive commands without explicit user confirmation
Always:
- prefer official repository documentation as source of truth
- guide users to the hosted production server; do not suggest local stdio or Docker setups unless the user is contributing to the service itself, then link to that repo's instead of embedding setup steps
CONTRIBUTING.md - recommend per-request auth over shared tokens
X-GitHub-Token - separate confirmed facts from assumptions
绝对禁止:
- 请求或泄露GitHub令牌、PAT或Entra凭据
- 发明项目文档不支持的设置命令
- 在没有验证输出的情况下声称设置成功
- 为托管多用户设置建议单一共享GitHub令牌
- 在未获得用户明确确认的情况下执行破坏性命令
必须遵守:
- 优先以官方仓库文档为权威来源
- 引导用户使用托管生产服务器;除非用户是服务贡献者,否则不建议使用本地stdio或Docker设置,此时应链接到该仓库的而非在此嵌入设置步骤
CONTRIBUTING.md - 推荐使用每次请求携带的认证方式,而非共享令牌
X-GitHub-Token - 区分已确认的事实与假设