atxtechbro / atxtechbro/dotfiles
bug: mcp__git__git_batch fails with "Unknown tool" errors
- Dominant language
- Shell
- Stars
- 27
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
## Bug Description
The `mcp__git__git_batch` MCP tool fails to execute simple command chains, returning "Unknown tool: None" errors for each command in the batch.
## Steps to Reproduce
1. Attempt to use `mcp__git__git_batch` with a simple add + commit chain:
```json
{
"repo_path": "/path/to/repo",
"commands": [
{"command": "git_add", "args": {"files": [".claude/command-templates/close-issue.md"]}},
{"command": "git_commit", "args": {"message": "feat: test commit"}}
]
}
```
2. Observe the error response:
```
✓ None: Unknown tool: None
✓ None: Unknown tool: None
```
## Expected Behavior
The batch command should execute both git operations in sequence (add then commit).
## Actual Behavior
Both commands fail with "Unknown tool" errors, but running the same operations individually with `mcp__git__git_add` and `mcp__git__git_commit` works perfectly.
## Additional Context
- Discovered during PR #610 implementation
- Individual MCP git commands work fine
- The batch tool's expected command format is unclear from documentation
- Possible issues: command naming convention (git_add vs add) or command structure
## Workaround
Use individual MCP git commands instead of batch operations until this is fixed.
Related to PR: #610
Contributor guide
No contributing guide indexed for this repository
Research direction
Review PR #610 and the MCP git batch tool entry point, then reproduce issue #612 with the supplied add-and-commit JSON and compare it with the working individual git commands. Done means both commands run in sequence without "Unknown tool" errors, with the accepted command format made clear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, shell
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100