Copilot cloud agent: the Atlassian MCP example uses a local npm bridge for a remote server

未关闭
#46,357 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@playb0t 已经在做这个了。

开始于 2026年10月17日。

  • #46358 来自 @playb0t —— 未关闭

评估

难度
1/5
预计耗时
1-3 小时
新手友好度
45/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
github, typescript

调研方向

Find the page source for /copilot/how-tos/copilot-on-github/customize-copilot/configure-mcp-servers and read the Atlassian example alongside the remote server examples. Update the example to use the proposed HTTP URL and Authorization header, then check that its configuration matches the page’s documented remote server format. The issue author says they have the change ready and will open a pull request, so check the thread before starting.

由索引模型根据 Issue 内容生成。

描述

content copilot

Page: /copilot/how-tos/copilot-on-github/customize-copilot/configure-mcp-servers, section "Example: Atlassian".

The example sets the Atlassian MCP server as "type": "local". It spawns npx mcp-remote@latest to reach https://mcp.atlassian.com/v1/mcp. The API token travels through env and a --header argument.

Three things point to a direct configuration instead:

  • The same page documents remote servers: "type": "http" with url and headers, and $COPILOT_MCP_* substitution in string fields. The Cloudflare example on the page already uses a remote type.
  • Atlassian's page on API-token authentication shows a direct url plus headers entry on https://mcp.atlassian.com/v2/mcp. It uses no bridge.
  • The Atlassian server README recommends /v2/mcp for all clients while keeping the v1 endpoints supported. Every client snippet there uses v2/mcp.

Proposed change: "type": "http", "url": "https://mcp.atlassian.com/v2/mcp", and an "Authorization": "Basic $COPILOT_MCP_ATLASSIAN_API_KEY" header. The agent then talks to the server directly. No third-party package is installed at run time in the agent's environment, and the secret goes straight to the server. I have the change ready and will open a pull request against this issue.

主要语言
TypeScript
星标
21.1k
派生
69.3k
平均合并
11 小时 17 分钟
30 天内合并 PR
83

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/docs 的其他 Issue

查看 github/docs 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。