Closed
Description
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"

2. Give permissions to execute the command

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

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"}}