We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Can not commit and push to self host Github Enterprise
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
GitHub MCP Server Version: v0.2.1 Commit: 9fa582d8d63522d70ce8f3af58265effb9645323 Build Date: 2025-04-21T23:03:01Z
use example mcp.json in vscode and add "-e", "GITHUB_HOST" in args, add "GITHUB_HOST": "<ghe_domain>" in env,
"-e", "GITHUB_HOST"
"GITHUB_HOST": "<ghe_domain>"
#push_files push new added or changed files to remote
MPC -32603: failed to create tree: POST [GHE domain]): 422 Invalid tree info []
should commit files to remote
{"jsonrpc":"2.0","id":3,"error":{"code":-32603,"message":"failed to create tree: POST https://<ghe_domain>/api/v3/repos//vector/git/trees: 422 Invalid tree info []"}}
The text was updated successfully, but these errors were encountered:
I think this is more evidence for needing access to the HTTP logs, I will be creating an issue to track this later.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Can not commit and push to self host Github Enterprise
Affected version
Please run
docker run -i --rm ghcr.io/github/github-mcp-server ./github-mcp-server --version
and paste the output belowSteps to reproduce the behavior
use example mcp.json in vscode and add
"-e", "GITHUB_HOST"
in args, add"GITHUB_HOST": "<ghe_domain>"
in env,#push_files push new added or changed files to remote
/MPC -32603: failed to create tree: POST [GHE domain]): 422 Invalid tree info []
Expected vs actual behavior
should commit files to remote
Logs
{"jsonrpc":"2.0","id":3,"error":{"code":-32603,"message":"failed to create tree: POST https://<ghe_domain>/api/v3/repos//vector/git/trees: 422 Invalid tree info []"}}
The text was updated successfully, but these errors were encountered: