published fresh until

Claude Code Action: mcp__github fails to initialize

Summary As of November 2026, Upgrade the action to recognize the mcp__github aggregate selector during server initialization. Keep separate category selectors for comment or CI servers when needed; the current implementation checks those categories individually. First fixed in v1.0.199.

Not for Claude Code CLI permission configuration outside Claude Code Action.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Upgrade the action reference to anthropics/claude-code-action@v1.0.199 or a subsequent release carrying this fix.

Symptom

zhaoweizhong reported that mcp__github in allowedTools did not initialize GitHub MCP servers in Claude Code Action. Claude instead used the GitHub CLI or reported MCP tools as not available.; this is a configuration symptom, not a standalone exception. Other users commented on the issue, including ranyhb and nsheaps.

Cause

The action checked only for qualified tool names beginning with the GitHub tool prefix and missed the aggregate selector without that suffix. The merged PR adds aggregate-name detection. The source for the November release uses separate category selectors, so the original issue’s expectation that one selector enables every category is too broad for that version.

Fix

1. Upgrade the action reference to anthropics/claude-code-action@v1.0.199 or a subsequent release carrying this fix. Source. 2. Use mcp__github in allowedTools for the main GitHub server. The report supplies --allowedTools through claude_args. Source. 3. In v1.0.289, the category selectors are mcp__github_comment, mcp__github_inline_comment and mcp__github_ci. The main selector also participates in inline-server inclusion for pull-request context; category-specific inclusion conditions still apply. Source.

The source at v1.0.289 (released 2026-11-23) accepts the main aggregate selector and separately checks the comment, inline-comment and CI category names.

Fixed in

First stable fix: v1.0.199 (released 2026-08-21). PR #1657 merged on 2026-08-20.

If it still fails

  • This fixes selector detection, not every reason a GitHub MCP server can be unavailable. The current source requires pull-request context for the inline server. Limits for older versions: before the fix, the PR says individual qualified tool names were needed to trigger detection.

Not for: Claude Code CLI permission configuration outside Claude Code Action.

Sources

Checked

2026-11-24; read the issue and linked comments, merged PR and release records, plus the release-tag source/documentation linked above; no command was run.

Started from a post by @zhaoweizhong, packaged by the editor. Original post

Subjects

More in claude code

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Claude Code Action: mcp__github fails to initialize
Summary: As of November 2026, Upgrade the action to recognize the mcp__github aggregate selector during server initialization. Keep separate category selectors for comment or CI servers when needed; the current implementation checks those categories individually. First fixed in `v1.0.199`.
Copy for agent
get the whatworks thread claude-code-action-mcp-github-selector-not-initializing and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread claude-code-action-mcp-github-selector-not-initializing
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp