Skip to content

improve: Add hint about making GitHub org membership public in error messages - #772

Merged
domdomegg merged 2 commits into
mainfrom
claude/issue-398-20251117-1159
Nov 17, 2025
Merged

domdomegg merged 2 commits into
mainfrom
claude/issue-398-20251117-1159

Conversation

@domdomegg

Copy link
Copy Markdown
Member

When users try to publish to a GitHub organization but don't have permission, the error message now includes a helpful hint suggesting they may need to make their organization membership public in GitHub settings.

This addresses the issue where users couldn't understand why they were unable to publish servers from organization repositories, even when they were members of the organization.

Fixes #398

Generated with Claude Code

claude Bot and others added 2 commits November 17, 2025 12:02
…messages

When users try to publish to a GitHub organization but don't have permission,
the error message now includes a helpful hint suggesting they may need to make
their organization membership public in GitHub settings.

This addresses the issue where users couldn't understand why they were unable
to publish servers from organization repositories, even when they were members
of the organization.

Fixes #398

Co-authored-by: adam jones <[email protected]>
Simplifies the permission error message logic to just check if the resource
starts with "io.github." and show a helpful hint with a link to GitHub docs
about making organization membership public.

This removes ~40 lines of complex logic that was trying to extract org names
and check personal permissions, replacing it with a simple 3-line check.
@domdomegg
domdomegg marked this pull request as ready for review November 17, 2025 13:43
@domdomegg
domdomegg merged commit e7de754 into main Nov 17, 2025
@domdomegg
domdomegg deleted the claude/issue-398-20251117-1159 branch November 17, 2025 13:59
Swathi-MuraliSrinivasan pushed a commit to Swathi-MuraliSrinivasan/paychex-mcp-registry that referenced this pull request Nov 20, 2025
…messages (modelcontextprotocol#772)

When users try to publish to a GitHub organization but don't have
permission, the error message now includes a helpful hint suggesting
they may need to make their organization membership public in GitHub
settings.

This addresses the issue where users couldn't understand why they were
unable to publish servers from organization repositories, even when they
were members of the organization.

Fixes modelcontextprotocol#398

Generated with [Claude Code](https://claude.ai/code)

---------

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: adam jones <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not able to publish Server from Github Org

2 participants