Describe the bug
create_branch branch tool fails with generic message when rule is violated oppose to the Github UI
Affected version
github-mcp-server/remote-639e169e86264c0ee9704f141ec6bc5615266486
Steps to reproduce the behavior
- set rule for branch naming
- try to create an invalid branch name from the UI -> see detailed error about the rules violation
- try to create the same branch name from mcp -> see generic 422 error
Expected vs actual behavior
expecting to see the same errors like we see in the website, and in general more descriptive errors
detailed errors helps the LLM to recover from failed tool calls
Describe the bug
create_branchbranch tool fails with generic message when rule is violated oppose to the Github UIAffected version
github-mcp-server/remote-639e169e86264c0ee9704f141ec6bc5615266486
Steps to reproduce the behavior
Expected vs actual behavior
expecting to see the same errors like we see in the website, and in general more descriptive errors
detailed errors helps the LLM to recover from failed tool calls