René's URL Explorer Experiment


Title: VS Code remote GitHub MCP server requests delete_repo scope unconditionally on OAuth login, with no way to grant a subset · Issue #3170 · github/github-mcp-server · GitHub

Open Graph Title: VS Code remote GitHub MCP server requests delete_repo scope unconditionally on OAuth login, with no way to grant a subset · Issue #3170 · github/github-mcp-server

X Title: VS Code remote GitHub MCP server requests delete_repo scope unconditionally on OAuth login, with no way to grant a subset · Issue #3170 · github/github-mcp-server

Description: Describe the bug When authenticating to the remote GitHub MCP server (https://api.githubcopilot.com/mcp/) through VS Code's built-in GitHub OAuth login flow, the consent screen requests the "Delete repositories" permission (delete_repo s...

Open Graph Description: Describe the bug When authenticating to the remote GitHub MCP server (https://api.githubcopilot.com/mcp/) through VS Code's built-in GitHub OAuth login flow, the consent screen requests the "Delete...

X Description: Describe the bug When authenticating to the remote GitHub MCP server (https://api.githubcopilot.com/mcp/) through VS Code's built-in GitHub OAuth login flow, the consent screen requests the &qu...

Opengraph URL: https://github.com/github/github-mcp-server/issues/3170

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"VS Code remote GitHub MCP server requests delete_repo scope unconditionally on OAuth login, with no way to grant a subset","articleBody":"### Describe the bug\n\nWhen authenticating to the remote GitHub MCP server (`https://api.githubcopilot.com/mcp/`) through VS Code's built-in GitHub OAuth login flow, the consent screen requests the \"Delete repositories\" permission (`delete_repo` scope — ability to delete any adminable repository) as part of a single, all-or-nothing authorization request. There is no way to complete login while declining just that scope; the only options are to accept the full requested scope set or cancel authentication entirely (leaving the server unusable, failing with a 401).\n\nI suspect this is a (hopefully unintentional) result of #3076. Based on the comments in that PR, it seems that in at least some circumstances it is not intended that the MCP tool require `delete_repo` scope (as long as the MCP tool to delete a repository isn't used, of course).\n\n### Affected version\n\nConnected via the remote hosted server, not local Docker, so I can't run the local `--version` command. From my VS Code `mcp.json`, the server entry reports:\n```\n\"url\": \"https://api.githubcopilot.com/mcp/\",\n\"version\": \"0.31.0\"\n```\n\nVS Code info:\n```\nVersion: 1.135.0 (user setup)\nCommit: 08d4889f9ec4a1685d257b9b95de036c8e1ce1e5\nDate: 2026-08-25T14:26:52Z\nElectron: 42.8.1\nElectronBuildId: 14906494\nChromium: 148.0.7778.280\nNode.js: 24.18.1\nV8: 14.8.178.38-electron.0\n@github/copilot: 1.0.81-0\n@github/copilot-sdk: 1.0.11\nOS: Windows_NT x64 10.0.26200\n```\n\n### Steps to reproduce the behavior\n\n1. In VS Code, configure the marketplace-installed GitHub MCP server entry (`io.github.github/github-mcp-server`, `type: \"http\"`, `url: https://api.githubcopilot.com/mcp/`), using VS Code's built-in OAuth login (no custom PAT/headers). IIUC this is the default configuration, as I don't recall ever changing it.\n2. Start/reconnect the MCP server so it triggers (re)authentication.\n3. Click the \"Allow\" button on this dialog:\n    \u003cimg width=\"1094\" height=\"250\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/7e61196e-46d1-4adb-9079-be9412de3d80\" />\n4. Click Continue on this dialog:\n    \u003cimg width=\"1044\" height=\"846\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/6d03adbb-f39e-4c3b-9085-1e88202c817e\" />\n5. Panic when you see this page and either click Cancel or close the page:\n    \u003cimg width=\"1160\" height=\"1276\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/24b796a9-b68d-4998-9a07-9e7e4beb98c6\" />\n6. Attempt to use the MCP server again.\n\nI have been using this MCP server for a while, and encountered this yesterday after VS Code updated iteself.\n\n### Expected vs actual behavior\n\n**Expected:** Some way to authenticate and use the remote GitHub MCP server in VS Code without granting the ability to delete repositories.\n\n**Actual:** The consent screen requests `delete_repo` unconditionally with no option to grant a narrower scope set. Declining leaves the server unauthenticated (401), and there is no PAT-free path that avoids this permission.\n\n### Logs\n\n```\n2026-08-27 06:57:15.242 [info] Waiting for server to respond to `initialize` request...\n2026-08-27 06:57:16.399 [warning] Error getting token from server metadata: Error: User did not consent to login.\n2026-08-27 06:57:16.422 [info] Connection state: Error 401 status sending message to https://api.githubcopilot.com/mcp/: bad request: missing required Authorization header\n```\n(Logged after declining the consent prompt requesting `delete_repo`.)\n","author":{"url":"https://github.com/aclight","@type":"Person","name":"aclight"},"datePublished":"2026-08-27T15:13:59Z","url":"https://github.com/github/github-mcp-server/issues/3170"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ebc8c426-958f-fbc4-13ad-5ac2e484f780
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC028:2FDEEB:1CE8DBF:2617F23:6B068564
html-safe-nonce749d82701b23a5714eb02a2ad4af06e040f5a62848a513572d03f181fe96f739
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDI4OjJGREVFQjoxQ0U4REJGOjI2MTdGMjM6NkIwNjg1NjQiLCJ2aXNpdG9yX2lkIjoiMTk2NzI1MjE3MTkyMTk4MjgyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac328a0285e5c1bb1172c4f2d1b511cbcb637ab83e4b36390ff14c8a5336abe877
hovercard-subject-tagissue:5269149877
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/github-mcp-server/3170/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2563219bb847e26220d6aae9fb229ca981fe5a85ac41c00527e2d20792474818/github/github-mcp-server/issues/3170
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2563219bb847e26220d6aae9fb229ca981fe5a85ac41c00527e2d20792474818/github/github-mcp-server/issues/3170
og:image:altDescribe the bug When authenticating to the remote GitHub MCP server (https://api.githubcopilot.com/mcp/) through VS Code's built-in GitHub OAuth login flow, the consent screen requests the "Delete...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameaclight
hostnamegithub.com
expected-hostnamegithub.com
None4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a
turbo-cache-controlno-preview
go-importgithub.com/github/github-mcp-server git https://github.com/github/github-mcp-server.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id942771284
octolytics-dimension-repository_nwogithub/github-mcp-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id942771284
octolytics-dimension-repository_network_root_nwogithub/github-mcp-server
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release6d3909414814ff86ce7da4c51a0f4918a13fb41b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/github/github-mcp-server/issues/3170#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fissues%2F3170
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fissues%2F3170
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=github%2Fgithub-mcp-server
Reloadhttps://github.com/github/github-mcp-server/issues/3170
Reloadhttps://github.com/github/github-mcp-server/issues/3170
Reloadhttps://github.com/github/github-mcp-server/issues/3170
githubhttps://github.com/github
github-mcp-serverhttps://github.com/github/github-mcp-server
Codehttps://github.com/github/github-mcp-server
Issues238 (238)https://github.com/github/github-mcp-server/issues
Pull requests228 (228)https://github.com/github/github-mcp-server/pulls
Discussionshttps://github.com/github/github-mcp-server/discussions
Actionshttps://github.com/github/github-mcp-server/actions
Security and quality2 (2)https://github.com/github/github-mcp-server/security
Insightshttps://github.com/github/github-mcp-server/insights
https://github.com/github/github-mcp-server
New issuehttps://github.com/login?return_to=https://github.com/github/github-mcp-server/issues/3170
New issuehttps://github.com/login?return_to=https://github.com/github/github-mcp-server/issues/3170
#3251https://github.com/github/github-mcp-server/pull/3251
VS Code remote GitHub MCP server requests delete_repo scope unconditionally on OAuth login, with no way to grant a subsethttps://github.com/github/github-mcp-server/issues/3170#top
#3251https://github.com/github/github-mcp-server/pull/3251
bughttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/aclight
aclighthttps://github.com/aclight
on Aug 27, 2026https://github.com/github/github-mcp-server/issues/3170#issue-5269149877
#3076https://github.com/github/github-mcp-server/pull/3076
https://private-user-images.githubusercontent.com/16308324/642242314-7e61196e-46d1-4adb-9079-be9412de3d80.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU1ODk3NzYsIm5iZiI6MTc5NTU4OTQ3NiwicGF0aCI6Ii8xNjMwODMyNC82NDIyNDIzMTQtN2U2MTE5NmUtNDZkMS00YWRiLTkwNzktYmU5NDEyZGUzZDgwLn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MzQ5ZTgxNWY4MDU5MDdkMTUwOTI0ZDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.y-UxVbJGfGWpcJ1C981lKWOrahJOF4jyO4ILqlxG3gQ
https://private-user-images.githubusercontent.com/16308324/642243743-24b796a9-b68d-4998-9a07-9e7e4beb98c6.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU1ODk3NzYsIm5iZiI6MTc5NTU4OTQ3NiwicGF0aCI6Ii8xNjMwODMyNC82NDIyNDM3NDMtMjRiNzk2YTktYjY4ZC00OTk4LTlhMDctOWU3ZTRiZWI5OGM2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTI1VDA2NTExNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQzNjAwMGNkY2U0YTQyZDZhMzAxNDA1ZTY5OTQwMmQ4NjY4NWM1MzFjOWY2YTMzMzZlNGY4ZTE5OTcxZmI4ZDcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.v_TVn663NuR3rr7UnPuryK82c2BNkbukRx36RNEkC7A
aclighthttps://github.com/aclight
bughttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22bug%22
on Aug 27, 2026https://github.com/github/github-mcp-server/issues/3170#event-30113015347
github-actionshttps://github.com/apps/github-actions
request ai reviewhttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22request%20ai%20review%22
on Aug 27, 2026https://github.com/github/github-mcp-server/issues/3170#event-30113026596
https://github.com/dodogeny
dodogenyhttps://github.com/dodogeny
on Sep 1, 2026https://github.com/github/github-mcp-server/issues/3170#issuecomment-5491773386
Apitellahttps://apitella.com/
https://github.com/SamMorrowDrums
SamMorrowDrumshttps://github.com/SamMorrowDrums
on Sep 8, 2026https://github.com/github/github-mcp-server/issues/3170#issuecomment-5590072435
https://github.com/github/github-mcp-server/blob/main/pkg/scopes/scopes.go#L84-L101https://github.com/github/github-mcp-server/blob/main/pkg/scopes/scopes.go#L84-L101
https://api.githubcopilot.com/.well-known/oauth-protected-resource/mcphttps://api.githubcopilot.com/.well-known/oauth-protected-resource/mcp
SamMorrowDrumshttps://github.com/SamMorrowDrums
completedhttps://github.com/github/github-mcp-server/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#3251https://github.com/github/github-mcp-server/pull/3251
on Sep 8, 2026https://github.com/github/github-mcp-server/issues/3170#event-30778290877
https://github.com/SamMorrowDrums
SamMorrowDrumshttps://github.com/SamMorrowDrums
on Sep 8, 2026https://github.com/github/github-mcp-server/issues/3170#issuecomment-5591109543
Sign up for freehttps://github.com/signup?return_to=https://github.com/github/github-mcp-server/issues/3170
Sign in to commenthttps://github.com/login?return_to=https://github.com/github/github-mcp-server/issues/3170
bughttps://github.com/github/github-mcp-server/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.