Skip to content

Conversation

@domdomegg
Copy link
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 <domdomegg@users.noreply.github.com>
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
6 checks passed
@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 <domdomegg@users.noreply.github.com>
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

3 participants