GitStuffServer
0
Git Stuff Server is a Node.js application functioning as an MCP server, providing tools for generating diffs for Git merge commits. It utilizes a PowerShell script for processing the commit hash to generate diffs, handling MCP requests via stdio communication.
Git Stuff Server
Features
- Runs as an MCP server using stdio for communication.
- get_git_merge_diff Tool:
- Accepts a Git merge commit hash.
- Executes a PowerShell script to generate a diff.
Prerequisites
- Node.js, npm, Git, and PowerShell (or pwsh) are required.
Installation
- Clone the repository.
- Install dependencies.
Usage
- Build the TypeScript code.
- Run the server, either in compiled mode or development mode.
How it Works
- Server receives a request for the tool.
- Validates input and executes a PowerShell script.
- Generates and returns the diff content to the MCP client.