Add support for MCP OAuth for Visual Studio (GHE MCP)
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 25/100
- Issue 類型
- 功能
- 描述清晰度
- 需要釐清
- 活躍度
- 冷清
- 技術堆疊
- github
研究方向
首先檢視 1P Entra ID 應用程式註冊,並將 Visual Studio 要求的 OAuth 流程與現有的 VS Code 體驗進行比較。當 Visual Studio 預設可以透過 OAuth 連線到 GitHub Enterprise,且不要求使用者建立和輪換 PATs 時,即表示完成。
由索引模型根據 Issue 內容生成。
描述
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
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
github/github-mcp-server 的其他 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 84/100
github/github-mcp-server#3235 ·
-
enhancement
難度 1/5 1 小時以內 新手友好度 88/100
github/github-mcp-server#3042 · 2 則留言 ·
-
bug
難度 2/5 1-3 小時 新手友好度 72/100
github/github-mcp-server#3032 · 1 個 reaction ·
-
難度 2/5 1-3 小時 新手友好度 74/100
github/github-mcp-server#2803 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 76/100
github/github-mcp-server#2740 ·
查看 github/github-mcp-server 的全部 Issue
相似的 Issue
-
bug github_actions
難度 2/5 1-3 小時 新手友好度 75/100
registrystack/registry-stack#1393 ·
-
難度 2/5 1-3 小時 新手友好度 75/100
JakeChampion/lang#10213 ·
-
難度 2/5 1-3 小時 新手友好度 70/100
oasisprotocol/oasis-sdk#2523 ·
-
難度 2/5 1-3 小時 新手友好度 75/100
-
難度 2/5 1-3 小時 新手友好度 70/100