git-rebase-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| rebase_statusA | Report what the rebase in Call this before amending, continuing or resolving. In particular
|
| rebase_conflictsA | Report each conflict as what the two sides did, rather than as markers. Per contested region you get two diffs from the common base: one for the
branch built so far, one for the commit being replayed. Read them as two
intents and compose them -- "wrap this block in an Regions only one side changed are not listed: git merged those already.
|
| rebase_resolveA | Stage the resolved content for one conflicted path. Three ways, in rough order of how much they cost to use:
Every route refuses content that still contains conflict markers. Staging
one is how a commit ends up with |
| rebase_todoA | Read the steps a running rebase has left, or replace them. Worth having because the need shows up mid-run: a Replacing the list can drop commits exactly as writing one badly can, so
the same check applies: a commit in the remaining steps and not in the
replacement is refused unless |
| rebase_preflightA | Check what a rebase would do, without starting it or changing anything. Reports commits the todo would drop silently, commits it names that are not in the range, commits whose change is already in the base under a different sha, anything already in progress or uncommitted, and untracked files a replayed commit would collide with. |
| rebase_startA | Begin a rebase onto Refuses anything rebase_preflight called unsafe, unless
|
| rebase_amendA | Amend the commit this rebase has just applied. Refused at every other kind of stop. At a conflicted stop the commit being replayed has not been created yet, so HEAD is still the one before it and amending would fold two commits into one -- silently, and reported by git as success.
|
| rebase_continueB | Carry on with the rebase, and report where it stops next. Refused while any path is still unmerged, which is the other way a marker reaches a commit.
|
| rebase_finishA | Check the finished rebase against the tip it started from, and tidy up. What must stay the same is the change the branch makes to its base -- not the resulting tree, which legitimately changes when the rebase also moves onto newer upstream work. A difference here is a report of damage: a commit dropped from the todo, or a conflict resolved the wrong way. Every rewritten commit is also scanned for conflict markers, since one committed part-way and tidied up later still leaves a commit nobody can build. The backup tag is kept either way; deleting the only record of where the branch was is not this tool's decision to make. |
| rebase_skipA | Drop the commit being replayed and carry on. For a commit whose change is already in the base under a different sha, or one whose conflict resolves to "the branch already says this". Git offers it at every conflict; without it here the only way to take that offer is to reach past these tools and run git by hand, which is how a rebase ends up half driven from each side. Refused when nothing is being replayed: skipping is a decision about a
commit, and at a |
| rebase_abortA | Abandon the rebase and put back anything that was moved aside. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aaron-riact/git-rebase-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server