@andrebuzeli/git-mcp 3.2.0 → 3.2.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/dist/server.js +9 -9
- package/package.json +2 -2
package/dist/server.js
CHANGED
|
@@ -7,21 +7,19 @@ const types_js_1 = require("@modelcontextprotocol/sdk/types.js");
|
|
|
7
7
|
const config_js_1 = require("./config.js");
|
|
8
8
|
const index_js_2 = require("./providers/index.js");
|
|
9
9
|
/**
|
|
10
|
-
* Importação de todas as ferramentas MCP disponíveis (
|
|
10
|
+
* Importação de todas as ferramentas MCP disponíveis (19 tools ativas)
|
|
11
11
|
*
|
|
12
|
-
* GIT CORE (
|
|
12
|
+
* GIT CORE (19 tools) - Funcionam com GitHub + Gitea:
|
|
13
13
|
* - git-repositories: Gerenciamento de repositórios
|
|
14
14
|
* - git-commits: Operações com commits
|
|
15
|
-
* - git-pulls: Pull requests e merges
|
|
16
15
|
* - git-branches: Operações com branches
|
|
17
16
|
* - git-tags: Gerenciamento de tags
|
|
18
17
|
* - git-files: Gerenciamento de arquivos
|
|
19
|
-
* - git-upload-project: Upload completo de projeto
|
|
20
18
|
* - git-update-project: Atualização incremental de projeto
|
|
21
19
|
* - git-initialize: Inicialização completa de repositório
|
|
22
20
|
* - git-issues: Gerenciamento de issues
|
|
21
|
+
* - git-pulls: Pull requests e merges
|
|
23
22
|
* - git-releases: Gerenciamento de releases
|
|
24
|
-
* - git-webhooks: Gerenciamento de webhooks
|
|
25
23
|
* - git-reset: Operações de reset
|
|
26
24
|
* - git-revert: Operações de revert
|
|
27
25
|
* - git-stash: Gerenciamento de stash
|
|
@@ -31,8 +29,10 @@ const index_js_2 = require("./providers/index.js");
|
|
|
31
29
|
* - git-sync: Sincronização de repositórios
|
|
32
30
|
* - git-packages: Gerenciamento de pacotes
|
|
33
31
|
* - git-projects: Gerenciamento de projetos
|
|
32
|
+
*
|
|
33
|
+
* NOTA: webhooksTool comentado pois ainda não foi implementado
|
|
34
34
|
*/
|
|
35
|
-
// Git Core Tools (
|
|
35
|
+
// Git Core Tools (19)
|
|
36
36
|
const git_repositories_js_1 = require("./tools/git-repositories.js");
|
|
37
37
|
const git_commits_js_1 = require("./tools/git-commits.js");
|
|
38
38
|
const git_branches_js_1 = require("./tools/git-branches.js");
|
|
@@ -193,7 +193,7 @@ const prompts = [
|
|
|
193
193
|
];
|
|
194
194
|
exports.prompts = prompts;
|
|
195
195
|
/**
|
|
196
|
-
* Array de todas as ferramentas disponíveis (
|
|
196
|
+
* Array de todas as ferramentas disponíveis (19 tools)
|
|
197
197
|
*
|
|
198
198
|
* ESTRUTURA:
|
|
199
199
|
* - Cada tool deve implementar a interface Tool
|
|
@@ -201,7 +201,7 @@ exports.prompts = prompts;
|
|
|
201
201
|
* - Handler deve ser assíncrono e retornar resultado
|
|
202
202
|
*
|
|
203
203
|
* ORGANIZAÇÃO:
|
|
204
|
-
* - Git Core (
|
|
204
|
+
* - Git Core (19): Funcionam com GitHub + Gitea
|
|
205
205
|
*
|
|
206
206
|
* USO:
|
|
207
207
|
* - Para listagem de tools disponíveis
|
|
@@ -209,7 +209,7 @@ exports.prompts = prompts;
|
|
|
209
209
|
* - Para validação de parâmetros
|
|
210
210
|
*/
|
|
211
211
|
const tools = [
|
|
212
|
-
// Git Core Tools (
|
|
212
|
+
// Git Core Tools (19) - GitHub + Gitea
|
|
213
213
|
git_repositories_js_1.gitRepositoriesTool,
|
|
214
214
|
git_commits_js_1.commitsTool,
|
|
215
215
|
git_branches_js_1.branchesTool,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@andrebuzeli/git-mcp",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"description": "MCP server for Gitea and GitHub integration with 20 comprehensive DevOps tools - 100% AUTO-SUFFICIENT: Complete Git/GitHub functionality with ALL methods implemented, GitOperations class, FileOperations, TerminalOperations, Unified git-update-project with 9 actions (init, update, status, diff, log, reset, stash, pull, sync), Git Initialize, Packages, Projects - NO external dependencies, NO terminal commands, FULLY IMPLEMENTED - Enhanced validation with REQUIRED provider parameter, Label search implementation for Gitea, Debug logs removed, Code cleanup, FIXED: git-stash, git-archive, git-config, git-remote errors resolved - CRITICAL FIXES: URL malformed error correction, addComment and searchIssues implementation, improved authentication handling, enhanced parameter validation",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"test-tools": "node test-tools.js",
|
|
15
15
|
"lint": "echo \"No linting configured\" && exit 0",
|
|
16
16
|
"prepublishOnly": "npm run build",
|
|
17
|
-
"postpublish": "echo 'Git MCP v3.2.
|
|
17
|
+
"postpublish": "echo 'Git MCP v3.2.1 published successfully - FINAL FIXES: Corrected documentation (19 tools confirmed), projectPath validation global, 6 MCP resources, 4 MCP prompts, 100% MCP compliance, production ready with full documentation and templates!'"
|
|
18
18
|
|
|
19
19
|
},
|
|
20
20
|
"keywords": [
|