Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Add support for MCP OAuth for Visual Studio (GHE MCP)

未關閉
#2,669 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
25/100
Issue 類型
功能
描述清晰度
需要釐清
活躍度
冷清
技術堆疊
github

研究方向

首先檢視 1P Entra ID 應用程式註冊,並將 Visual Studio 要求的 OAuth 流程與現有的 VS Code 體驗進行比較。當 Visual Studio 預設可以透過 OAuth 連線到 GitHub Enterprise,且不要求使用者建立和輪換 PATs 時,即表示完成。

由索引模型根據 Issue 內容生成。

描述

enhancement request ai review
Describe the feature or problem you’d like to solve

Visual Studio cannot connect to GitHub enterprise using OAuth. This is very problematic because PAT access tokens are now restricted to 7 days, on top of being a security issue. (Enterprise policy)

Proposed solution

It would be highly valuable to pre-authorize this in the 1P Entra ID app for Visual Studio, so OAuth can be enabled by default.

I’m happy to help facilitate this - I can connect you with the right contact in the Visual Studio team if needed.

This change would significantly improve the experience for enterprise users (including Microsoft), who currently need to manually create and rotate GitHub PATs on a regular basis and configure them locally in Visual Studio. Moving to a seamless OAuth flow would remove this friction and align with modern authentication practices.

Example prompts or workflows (for tools/toolsets only)

We (Microsoft) primarily use Visual Studio (especially after the DevOps migration, where MCP already supported OAuth). Enabling this would let us work without managing recurring GitHub PATs.

Additional context

VS Code already provides a smooth OAuth experience, and Visual Studio should offer the same. From what we understand, this should only require a change in the 1P app registration.

Feel free to reach out on Teams if helpful.

主要語言
Go
星號
33.1k
分支
5k
平均合併
2 天 3 小時
30 天內合併 PR
18

貢獻指南

開啟貢獻指南

從這裡開始

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

github/github-mcp-server 的其他 Issue

查看 github/github-mcp-server 的全部 Issue

相似的 Issue

更多 Go Issue

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

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