field-test
Exercise git tools, resources, and prompts against a live HTTP server via MCP JSON-RPC over curl. Starts the server, surfaces the…
File a bug or feature request against this repository (cyanheads/git-mcp-server) using the `gh` CLI. Use for tool logic bugs, git provider misbehavior, transport issues, auth/config problems, or new feature proposals.
$ npx -y skills add cyanheads/git-mcp-server --skill report-issue --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/report-issueContext preview
The summary Claude sees to decide when to auto-load this skill.
File a bug or feature request against this repository (cyanheads/git-mcp-server) using the `gh` CLI. Use for tool logic bugs, git provider misbehavior, transport issues, auth/config problems, or new feature proposals.
name: report-issue description: > File a bug or feature request against this repository (cyanheads/git-mcp-server) using the `gh` CLI. Use for tool logic bugs, git provider misbehavior, transport issues, auth/config problems, or new feature proposals. metadata: author: cyanheads version: '1.0' type: workflow
Typical triggers:
For general `gh` CLI workflows outside issue filing (PRs, workflows, API access), see the `github-cli` skill.
1. **Confirm the repo**:
gh repo view --json nameWithOwner -q '.nameWithOwner'
Should output `cyanheads/git-mcp-server`.
2. **Search existing issues**:
gh issue list --search "your error message or keyword"
3. **Reproduce the issue** — confirm it's reproducible. Note the exact input, transport mode (stdio/http), git provider (cli), and any relevant env vars (`GIT_SIGN_COMMITS`, `GIT_BASE_DIR`, `STORAGE_PROVIDER_TYPE`, etc.).
4. **Check logs** — review server output and, if running HTTP, the response body for structured error details (`McpError` code + context).
5. **Capture versions** — `bun pm ls @cyanheads/git-mcp-server`, `bun --version`, `git --version`, OS version.
Good issues are scannable, concrete, and self-contained. These patterns apply to both bugs and features — the guidance targets any prose block (Description, Additional context, feature proposals).
GitHub issues are **public**. Do not include secrets, credentials, API keys, JWT tokens, or git remote URLs that encode credentials. Redact sensitive values from env vars, headers, logs, and git URLs before submitting. Replace with obvious placeholders: `REDACTED`, `sk-...REDACTED`, `https://REDACTED@github.com/...`. Do not rely on partial masking — partial keys can still be exploited.
This repo does **not** currently ship `.github/ISSUE_TEMPLATE/` YAML form templates, so use free-form titles and bodies. Structure the body with the sections below so the maintainer has everything needed to triage without asking.
gh issue create \
--title "bug(git_merge): conflicts thrown as McpError instead of structured success" \
--label "bug" \
--body "$(cat <<'ISSUE'
### Version
git-mcp-server v2.11.1
### Runtime
Bun 1.2.21 on macOS 15.x
### Transport
http (also reproduces on stdio)
### Git provider
cli (git 2.x)
### Description
`git_merge` currently throws `McpError(INTERNAL_ERROR)` when the merge exits non-zero due to a `CONFLICT` marker. Callers have to parse error messages and re-run `git_status` to recover state, even though `CONFLICT` is a documented success state.
### Steps to reproduce
1. Set up a repo with two divergent branches that touch the same line
2. `git_checkout { "branch": "main" }`
3. `git_merge { "branch": "feature" }` → throws instead of returning conflict info
### Actual behaviorMcpError: INTERNAL_ERROR — git merge failed with exit code 1
### Expected behavior
```json
{
"success": true,
"conflicts": true,
"conflictedFiles": ["path/to/file.ts"],
"message": "Merge had conflicts — resolve and commit to finish"
}`git_rebase`, `git_cherry_pick`, `git_pull` share the same pattern and exhibit the same behavior. ISSUE )"
Clone, commit, diff, branch, merge, rebase, cherry-pick, stash, tag, and manage worktrees in local git repos via MCP. STDIO or Streamable HTTP.
Exercise git tools, resources, and prompts against a live HTTP server via MCP JSON-RPC over curl. Starts the server, surfaces the…
Investigate, adopt, and verify dependency updates. Captures what changed, understands why, cross-references against the codebase,…
Finalize documentation and project metadata for a ship-ready release. Use after implementation is complete, tests pass, and…
Ship a release end-to-end across every registry this project targets (npm, MCP Registry). Runs the final verification gate,…