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
平均合併
17 小時 10 分鐘
30 天內合併 PR
89

環境準備

在 Codespaces 中開啟

在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/docs 的其他 Issue

查看 github/docs 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。