modelcontextprotocol / modelcontextprotocol/servers
[Git MCP] Blob or Tree named 'XXX.py^0' not found
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 90.5k
- Forks
- 11.7k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 5
Description
Describe the bug
When ask LLM to use git_show tool to get some infos, get response like Blob or Tree named 'XXX.py^0' not found
- parameter
{
"repo_path": "/home/ahigh/work/Worker3/Workers/message_send",
"revision": "HEAD:logic/position_realtime_infos.py"
}
- response from Git MCP
Blob or Tree named 'position_realtime_infos.py^0' not found
Expected behavior
show correct infos
Anyone encounter this? :)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the git_show call with revision HEAD:logic/position_realtime_infos.py in the issue body, then trace how that revision is parsed before the Git lookup. Done means the request returns the file contents instead of reporting position_realtime_infos.py^0 as missing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100