@cyanheads/git-mcp-server 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.typescriptlang.org/)
|
|
4
4
|
[](https://modelcontextprotocol.io/)
|
|
5
|
-
[](./CHANGELOG.md)
|
|
6
6
|
[](https://opensource.org/licenses/Apache-2.0)
|
|
7
7
|
[](https://github.com/cyanheads/git-mcp-server/issues)
|
|
8
8
|
[](https://github.com/cyanheads/git-mcp-server)
|
|
@@ -17,6 +17,8 @@ Perform all actions for our git wrapup workflow:
|
|
|
17
17
|
3. Update the CHANGELOG with concise, descriptive entries detailing all modifications, clearly indicating their purpose (e.g., bug fix, feature implementation, refactoring). Include specific metrics or identifiers where applicable, such as issue numbers or pull request links, to provide context and traceability for each change. This will help maintain a clear history of changes and their impacts on the project.
|
|
18
18
|
4. Proceed to commit all changes; based on your review of the git_diff and readme, group these changes into logical, atomic commits, each accompanied by a clear and descriptive message adhering to Conventional Commits standards (e.g. "docs(readme): updated readme to include xyz."). Note the 'git_commit' tool allows you to also stage the files while commiting. Ensure commit messages accurately convey the scope and impact of the changes, incorporating specific metrics or identifiers where applicable.
|
|
19
19
|
Note: Be sure to set 'git_set_working_dir' if not already set.
|
|
20
|
+
|
|
21
|
+
Instructions: Now write a concise list of what you must do to complete the git wrapup workflow, then perform all actions. Do not push unless requested.
|
|
20
22
|
`;
|
|
21
23
|
/**
|
|
22
24
|
* Core logic for the git_wrapup_instructions tool.
|
|
@@ -15,7 +15,7 @@ export function initializeGitWrapupInstructionsStateAccessors(getWdFn, getSidFn)
|
|
|
15
15
|
logger.info('State accessors initialized for git_wrapup_instructions tool registration.');
|
|
16
16
|
}
|
|
17
17
|
const TOOL_NAME = 'git_wrapup_instructions';
|
|
18
|
-
const TOOL_DESCRIPTION = 'Provides a standard Git wrap-up workflow. This involves reviewing changes with `git_diff`, updating documentation (README, CHANGELOG), and making logical, descriptive commits using the `git_commit` tool. The tool\'s response also includes the current `git status` output.';
|
|
18
|
+
const TOOL_DESCRIPTION = 'Provides a standard Git wrap-up workflow. This involves reviewing changes with `git_diff`, updating documentation (README, CHANGELOG), and making logical, descriptive commits using the `git_commit` tool. The tool\'s response also includes the current `git status` output. You should set the working directory using `git_set_working_dir` before running this tool.';
|
|
19
19
|
/**
|
|
20
20
|
* Registers the git_wrapup_instructions tool with the MCP server.
|
|
21
21
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cyanheads/git-mcp-server",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "An MCP (Model Context Protocol) server enabling LLMs and AI agents to interact with Git repositories. Provides tools for comprehensive Git operations including clone, commit, branch, diff, log, status, push, pull, merge, rebase, worktree, tag management, and more, via the MCP standard. STDIO & HTTP.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@modelcontextprotocol/inspector": "^0.
|
|
40
|
+
"@modelcontextprotocol/inspector": "^0.14.0",
|
|
41
41
|
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
42
42
|
"@types/jsonwebtoken": "^9.0.9",
|
|
43
|
-
"@types/node": "^
|
|
43
|
+
"@types/node": "^24.0.1",
|
|
44
44
|
"@types/sanitize-html": "^2.16.0",
|
|
45
45
|
"@types/validator": "^13.15.1",
|
|
46
46
|
"chrono-node": "2.8.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"express": "^5.1.0",
|
|
49
49
|
"ignore": "^7.0.5",
|
|
50
50
|
"jsonwebtoken": "^9.0.2",
|
|
51
|
-
"openai": "^5.0
|
|
51
|
+
"openai": "^5.3.0",
|
|
52
52
|
"partial-json": "^0.1.7",
|
|
53
53
|
"sanitize-html": "^2.17.0",
|
|
54
54
|
"tiktoken": "^1.0.21",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"winston": "^3.17.0",
|
|
59
59
|
"winston-daily-rotate-file": "^5.0.0",
|
|
60
60
|
"yargs": "^18.0.0",
|
|
61
|
-
"zod": "^3.25.
|
|
61
|
+
"zod": "^3.25.64"
|
|
62
62
|
},
|
|
63
63
|
"keywords": [
|
|
64
64
|
"typescript",
|
|
@@ -96,6 +96,6 @@
|
|
|
96
96
|
"automation"
|
|
97
97
|
],
|
|
98
98
|
"devDependencies": {
|
|
99
|
-
"@types/express": "^5.0.
|
|
99
|
+
"@types/express": "^5.0.3"
|
|
100
100
|
}
|
|
101
101
|
}
|