@andrebuzeli/git-mcp 15.11.5 → 15.11.6
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/package.json +2 -2
- package/src/index.js +1 -1
- package/src/resources/index.js +11 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@andrebuzeli/git-mcp",
|
|
3
|
-
"version": "15.11.
|
|
3
|
+
"version": "15.11.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "MCP server para Git com operações locais e sincronização paralela GitHub/Gitea",
|
|
6
6
|
"license": "MIT",
|
|
@@ -26,4 +26,4 @@
|
|
|
26
26
|
"archiver": "^7.0.0",
|
|
27
27
|
"axios": "^1.7.7"
|
|
28
28
|
}
|
|
29
|
-
}
|
|
29
|
+
}
|
package/src/index.js
CHANGED
|
@@ -48,7 +48,7 @@ if (!hasGitHub && !hasGitea) {
|
|
|
48
48
|
|
|
49
49
|
const transport = new StdioServerTransport();
|
|
50
50
|
const server = new Server(
|
|
51
|
-
{ name: "git-mcpv2", version: "15.11.
|
|
51
|
+
{ name: "git-mcpv2", version: "15.11.6" },
|
|
52
52
|
{ capabilities: { tools: {}, resources: {}, prompts: {} } }
|
|
53
53
|
);
|
|
54
54
|
server.connect(transport);
|
package/src/resources/index.js
CHANGED
|
@@ -27,6 +27,17 @@ Operações Git essenciais.
|
|
|
27
27
|
|
|
28
28
|
---
|
|
29
29
|
|
|
30
|
+
## git-update (NOVO)
|
|
31
|
+
Atualização completa e automatizada (status → add → commit → push).
|
|
32
|
+
|
|
33
|
+
| Action | Descrição | Parâmetros |
|
|
34
|
+
|--------|-----------|------------|
|
|
35
|
+
| (execução) | status + add + commit + push | message="msg", files=["."], force=true, dryRun=true, skipIfClean=true |
|
|
36
|
+
|
|
37
|
+
**Uso:** Automatiza o ciclo repetitivo de salvar e enviar código. Substitui múltiplos passos manuais.
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
30
41
|
## git-branches
|
|
31
42
|
Gerenciar branches.
|
|
32
43
|
|