Skip to content

List of organizations owned fails when using Github Enterprise 3.14 #169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
marcellodesales opened this issue Apr 8, 2025 · 1 comment
Closed
Labels
bug Something isn't working llm-context-window

Comments

@marcellodesales
Copy link

Describe the bug

Simple listing of owned organizations fail, setting it up for Github Enterprise 3.14

    "github": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_PERSONAL_ACCESS_TOKEN",
        "-e",
        "GH_HOST",
        "ghcr.io/github/github-mcp-server"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "github_pat_11AAA**************4i1Xss",
        "GH_HOST": "https://git.company.com"
      }
    },

Affected version

Please run docker run -i --rm ghcr.io/github/github-mcp-server ./github-mcp-server --version and paste the output below

$  docker run -i --rm ghcr.io/github/github-mcp-server ./github-mcp-server --version
server version v0.1.1 (7ab5d968e065f13a660cd123c2c5d0be6d8b6dbd) 2025-04-07T16:05:06Z

Steps to reproduce the behavior

1. In the prompt write "Show the github orgs that I own"

Image

2. Give permissions to execute the command

Image

3. Wait for the answer, but Claude shows an error message

Image

Expected vs actual behavior

Claude fails and shows an error message

Logs

keys{/key_id}\",\"labels_url\":\"https://git.company.com/api/v3/repos/mdesales/onboarding/labels{/name}\",\"languages_url\":\"https://git.company.com/api/v3/repos/mdesales/onboarding/languages\",\"merges_url\":\"https://git.company.com/api/v3/repos/mdesales/onboarding/merges\",\"milestones_url\":\"https://git.company.com/api/v3/repos/mdesales/onboarding/milestones{/number}\",\"notifications_url\":\"https://git.company.com/api/v3/repos/mdesales/onboarding/notifications{?since,all,participating}\",\"pulls_url\":\"https://git.company.com/api/v3/repos/mdesales/onboarding/pulls{/number}\",\"releases_url\":\"https://git.company.com/api/v3/repos/mdesales/onboarding/releases{/id}\",\"stargazers_url\":\"https://git.company.com/api/v3/repos/mdesales/onboarding/stargazers\",\"statuses_url\":\"https://git.company.com/api/v3/repos/mdesales/onboarding/statuses/{sha}\",\"subscribers_url\":\"https://git.company.com/api/v3/repos/mdesales/onboarding/subscribers\",\"subscription_url\":\"https://git.company.com/api/v3/repos/mdesales/onboarding/subscription\",\"tags_url\":\"https://git.company.com/api/v3/repos/mdesales/onboarding/tags\",\"trees_url\":\"https://git.company.com/api/v3/repos/mdesales/onboarding/git/trees{/sha}\",\"teams_url\":\"https://git.company.com/api/v3/repos/mdesales/onboarding/teams\"}}]}"}]}}
2025-04-08T00:09:17.181Z [github] [info] Message from server: {"jsonrpc":"2.0","id":37,"result":{"resources":[]}}
2025-04-08T00:09:17.200Z [github] [info] Message from client: {"method":"prompts/list","params":{},"jsonrpc":"2.0","id":38}
2025-04-08T00:09:17.202Z [github] [info] Message from server: {"jsonrpc":"2.0","id":38,"error":{"code":-32601,"message":"prompts not supported"}}
2025-04-08T00:09:22.024Z [github] [info] Message from client: {"method":"resources/list","params":{},"jsonrpc":"2.0","id":39}
2025-04-08T00:09:22.028Z [github] [info] Message from server: {"jsonrpc":"2.0","id":39,"result":{"resources":[]}}
2025-04-08T00:09:22.033Z [github] [info] Message from client: {"method":"prompts/list","params":{},"jsonrpc":"2.0","id":40}
2025-04-08T00:09:22.035Z [github] [info] Message from server: {"jsonrpc":"2.0","id":40,"error":{"code":-32601,"message":"prompts not supported"}}
2025-04-08T00:09:27.024Z [github] [info] Message from client: {"method":"resources/list","params":{},"jsonrpc":"2.0","id":41}
2025-04-08T00:09:27.031Z [github] [info] Message from server: {"jsonrpc":"2.0","id":41,"result":{"resources":[]}}
2025-04-08T00:09:27.036Z [github] [info] Message from client: {"method":"prompts/list","params":{},"jsonrpc":"2.0","id":42}
2025-04-08T00:09:27.044Z [github] [info] Message from server: {"jsonrpc":"2.0","id":42,"error":{"code":-32601,"message":"prompts not supported"}}
@SamMorrowDrums
Copy link
Collaborator

Closing as I have created the feature request in #337 and also added the label to this about issues with too much LLM context, as we believe the bug here was that Claude's context window was exhausted. We can re-open if you still have the issue once there are tools for organization information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working llm-context-window
Projects
None yet
Development

No branches or pull requests

3 participants
@marcellodesales @SamMorrowDrums and others