git-mob-mcp-server 1.0.2 → 1.0.3
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 +5 -3
- package/dist/gitMobServerFactory.js +0 -0
- package/dist/index.js +6 -3
- package/package.json +1 -28
package/README.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Git Mob MCP Server
|
2
2
|
|
3
|
+

|
4
|
+

|
5
|
+
[](https://codecov.io/gh/Mubashwer/git-mob-mcp-server)
|
6
|
+

|
7
|
+
|
3
8
|
Node.js server implementing Model Context Protocol (MCP) for [`git mob` CLI app](https://github.com/Mubashwer/git-mob)
|
4
9
|
|
5
10
|
Built using [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk)
|
@@ -63,9 +68,6 @@ Optionally, you can add it to a file called `.vscode/mcp.json` in your workspace
|
|
63
68
|
|
64
69
|
> Note that the `mcp` key is not needed in the `.vscode/mcp.json` file.
|
65
70
|
|
66
|
-
You can provide sandboxed directories to the server by mounting them to `/projects`. Adding the `ro` flag will make the directory readonly by the server.
|
67
|
-
|
68
|
-
|
69
71
|
### NPX
|
70
72
|
|
71
73
|
```json
|
File without changes
|
package/dist/index.js
CHANGED
@@ -1,9 +1,12 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
2
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
3
3
|
import { createGitMobServer } from "./gitMobServerFactory.js";
|
4
|
-
|
4
|
+
async function main() {
|
5
5
|
const server = createGitMobServer();
|
6
|
-
// Start receiving messages on stdin and sending messages on stdout
|
7
6
|
const transport = new StdioServerTransport();
|
8
7
|
await server.connect(transport);
|
9
|
-
}
|
8
|
+
}
|
9
|
+
main().catch((error) => {
|
10
|
+
console.error("Server error:", error);
|
11
|
+
process.exit(1);
|
12
|
+
});
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "git-mob-mcp-server",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.3",
|
4
4
|
"description": "MCP Server for git-mob CLI app",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"type": "module",
|
@@ -17,7 +17,6 @@
|
|
17
17
|
"format": "prettier --write \"**/*.{js,mjs,cjs,ts}\"",
|
18
18
|
"lint": "npm-run-all typecheck eslint",
|
19
19
|
"lint:fix": "npm-run-all format typecheck eslint:fix",
|
20
|
-
"prepare": "npm run build",
|
21
20
|
"start": "node --experimental-strip-types src/index.ts",
|
22
21
|
"test": "jest",
|
23
22
|
"typecheck": "tsc --noEmit",
|
@@ -59,31 +58,5 @@
|
|
59
58
|
},
|
60
59
|
"dependencies": {
|
61
60
|
"@modelcontextprotocol/sdk": "^1.11.4"
|
62
|
-
},
|
63
|
-
"jest": {
|
64
|
-
"preset": "ts-jest/presets/default-esm",
|
65
|
-
"testEnvironment": "node",
|
66
|
-
"extensionsToTreatAsEsm": [
|
67
|
-
".ts"
|
68
|
-
],
|
69
|
-
"transform": {
|
70
|
-
"^.+\\.ts$": [
|
71
|
-
"ts-jest",
|
72
|
-
{
|
73
|
-
"useESM": true,
|
74
|
-
"tsconfig": "<rootDir>/tsconfig.json"
|
75
|
-
}
|
76
|
-
]
|
77
|
-
},
|
78
|
-
"moduleNameMapper": {
|
79
|
-
"^(\\.{1,2}/.*)\\.js$": "$1"
|
80
|
-
},
|
81
|
-
"collectCoverageFrom": [
|
82
|
-
"<rootDir>/src/**/*"
|
83
|
-
],
|
84
|
-
"testPathIgnorePatterns": [
|
85
|
-
"/node_modules",
|
86
|
-
"/dist"
|
87
|
-
]
|
88
61
|
}
|
89
62
|
}
|