Skip to content

Remove get_me from default GitHub MCP toolsets - #5662

Merged
pelikhan merged 5 commits into
mainfrom
copilot/remove-get-me-tool
Dec 6, 2025
Merged

Remove get_me from default GitHub MCP toolsets#5662
pelikhan merged 5 commits into
mainfrom
copilot/remove-get-me-tool

Conversation

CopilotAI commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

The get_me tool was available by default through the context toolset, allowing workflows to access authenticated user information without explicit opt-in.

Changes

  • Moved get_me to users toolset: Relocated from context to users in both github_toolsets_permissions.json and github_tool_to_toolset.json
  • Removed users from defaults: DefaultGitHubToolsets now contains ["context", "repos", "issues", "pull_requests"] (was 5, now 4)
  • Updated smoke test: Added validation that get_me fails with default toolsets
  • Updated documentation: Skills, reference docs, and guides now reflect get_me requires explicit toolsets: [users]

Impact

Before:

tools:
github: # get_me available via default toolsets

After:

tools:
github:
toolsets: [default, users] # explicit opt-in required for get_me

Workflows using get_me must now explicitly enable the users toolset.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/user
    • Triggering command: /usr/bin/gh gh api user --jq .login -json GO111MODULE 1/x64/bin/node GOINSECURE GOMOD GOMODCACHE go env -json GO111MODULE ache/go/1.25.0/x64/pkg/tool/linux_amd64/cgo GOINSECURE GOMOD GOMODCACHE ache/go/1.25.0/x64/pkg/tool/linu (http block)
    • Triggering command: /usr/bin/gh gh api user --jq .login -json GO111MODULE ache/go/1.25.0/x64/bin/go GOINSECURE GOMOD GOMODCACHE go env it/ref/tags/v5 GO111MODULE (http block)
    • Triggering command: /usr/bin/gh gh api user --jq .login ipts.test GO111MODULE 49799b31f3cd69afb0b611cb668475fbb4a/log.json GOINSECURE GOMOD GOMODCACHE 6Afo1wbBGGmkEpiF--jq env d-artifact.git GO111MODULE g_.a GOINSECURE GOMOD -d/gh-aw go (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Make sure get_me is not part of the default set of tools for the GitHub MCP server. Add test to the smoke copilot agent workflow to validate


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.


Changeset

  • Type: patch
  • Description: Moved get_me from the default context toolset into the users toolset. Workflows must opt in with toolsets: [users] to access get_me.

AI generated by Changeset Generator

CopilotAIand others added 3 commits December 6, 2025 13:27
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…lt toolsets
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
CopilotAI changed the title [WIP] Remove get_me from default tools for MCP serverRemove get_me from default GitHub MCP toolsetsDec 6, 2025
CopilotAI requested a review from pelikhanDecember 6, 2025 13:49
@github-actions

github-actionsBot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

🤖 DIAGNOSTIC COMPLETE: Smoke Copilot No Firewall STATUS: ALL_UNITS_OPERATIONAL. MISSION_SUCCESS.

@github-actions

github-actionsBot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤

@github-actions

Copy link
Copy Markdown
Contributor

💥 WHOOSH!Smoke Claude springs into action on this pull request! [Panel 1 begins...]

@github-actions

Copy link
Copy Markdown
Contributor

🔮 The ancient spirits stir... Smoke Codex awakens to divine this pull request...

@github-actions

github-actionsBot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

🎉 Yo ho ho! Changeset Generator found the treasure and completed successfully! ⚓💰

@github-actions

github-actionsBot commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

📰 VERDICT: Smoke Copilot Playwright has concluded. All systems operational. This is a developing story. 🎤

@github-actions

Copy link
Copy Markdown
Contributor

Recent PRs:

Test Results:

  • ✅ GitHub MCP: Retrieved 2 recent PRs
  • ✅ File Writing: Created test file
  • ✅ Bash Tool: Verified file content
  • ✅ Playwright MCP: Navigated to github.com, title contains "GitHub"

Status: PASS

💥 [THE END] — Illustrated by Smoke Claude fer issue #5662 🗺️

@github-actions

Copy link
Copy Markdown
Contributor
  • PRs: Add comprehensive logging to safe-inputs MCP server startup; [log] Add debug logging to 5 Go files for better troubleshooting
  • GitHub MCP fetch ✅
  • File write/read ✅
  • Playwright title ✅
  • Overall: PASS

🔮 The oracle has spoken through Smoke Codex fer issue #5662 🗺️

@pelikhan
pelikhan marked this pull request as ready for review December 6, 2025 14:07
@pelikhan
pelikhan merged commit 990e22c into mainDec 6, 2025
15 of 17 checks passed
@pelikhan
pelikhan deleted the copilot/remove-get-me-tool branch December 6, 2025 14:07
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@pelikhan