@andrebuzeli/git-mcp 7.2.3 → 7.2.5
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 +6 -4
- package/dist/config.js +4 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -67,14 +67,16 @@ This MCP server supports **2 providers** (for remote API operations only):
|
|
|
67
67
|
### Installation & Usage
|
|
68
68
|
|
|
69
69
|
```bash
|
|
70
|
-
#
|
|
71
|
-
npx @andrebuzeli/git-mcp@latest
|
|
72
|
-
|
|
73
|
-
# Or install globally
|
|
70
|
+
# Option 1: Install globally (RECOMMENDED - faster startup)
|
|
74
71
|
npm install -g @andrebuzeli/git-mcp
|
|
75
72
|
git-mcp
|
|
73
|
+
|
|
74
|
+
# Option 2: Run with npx (slower first run, ~2-3min for dependency download)
|
|
75
|
+
npx @andrebuzeli/git-mcp@latest
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
+
**⚡ Performance Note**: Global installation is **10x faster** on startup (~1s vs 2-3min). `npx` needs to download and install all dependencies on first run. For production use, install globally.
|
|
79
|
+
|
|
78
80
|
### Configuration
|
|
79
81
|
|
|
80
82
|
Set up your provider credentials via environment variables:
|
package/dist/config.js
CHANGED
|
@@ -26,8 +26,10 @@ function loadMCPConfig(configPath) {
|
|
|
26
26
|
if (process.env[k] == null) {
|
|
27
27
|
process.env[k] = v;
|
|
28
28
|
}
|
|
29
|
-
// Log
|
|
30
|
-
|
|
29
|
+
// Log to stderr only (stdout is used for MCP protocol)
|
|
30
|
+
if (process.env.DEBUG) {
|
|
31
|
+
console.error(`MCP config: env.${k}=${maskSecret(process.env[k])}`);
|
|
32
|
+
}
|
|
31
33
|
}
|
|
32
34
|
}
|
|
33
35
|
return cfg;
|
package/dist/index.js
CHANGED
|
@@ -75,7 +75,7 @@ async function main() {
|
|
|
75
75
|
// Create MCP Server with STDIO transport
|
|
76
76
|
const server = new index_1.Server({
|
|
77
77
|
name: '@andrebuzeli/git-mcp',
|
|
78
|
-
version: '7.2.
|
|
78
|
+
version: '7.2.5',
|
|
79
79
|
});
|
|
80
80
|
// Register tool list handler
|
|
81
81
|
server.setRequestHandler(types_1.ListToolsRequestSchema, async () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@andrebuzeli/git-mcp",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.5",
|
|
4
4
|
"description": "Professional MCP server for Git operations - STDIO UNIVERSAL: works in ANY IDE (Cursor, VSCode, Claude Desktop). Fully autonomous DUAL execution (GitHub + Gitea APIs) with automatic username detection. All tools execute on BOTH providers simultaneously. No manual parameters needed.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|