git-mob-mcp-server 1.0.6 → 1.0.8

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
@@ -33,7 +33,8 @@ Built using [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/
33
33
  - `setup_git_mob_globally`: Sets up git-mob globally for the user.
34
34
  - `setup_git_mob_locally`: Sets up git-mob locally for the current repository.
35
35
 
36
- Because resources may not be fully supported in GitHub Copilot Agent mode yet, the some of them are also available as tools:
36
+ Because resources may not be fully supported in GitHub Copilot Agent mode yet, all resources also available as tools:
37
+ - `git_mob_help`: Displays general help and usage information for the Git Mob CLI.
37
38
  - `get_git_mob_version`: The installed version of the Git Mob CLI.
38
39
  - `get_team_members`: List of all the team members that have been added to Git Mob.
39
40
  - `get_mob_session_coauthors`: List of all coauthors currently included in the active mob or pairing session.
@@ -48,7 +49,7 @@ Add this to your `claude_desktop_config.json`:
48
49
  ```json
49
50
  {
50
51
  "mcpServers": {
51
- "gitMob": {
52
+ "git-mob": {
52
53
  "command": "npx",
53
54
  "args": [
54
55
  "-y",
@@ -73,7 +74,7 @@ Optionally, you can add it to a file called `.vscode/mcp.json` in your workspace
73
74
  {
74
75
  "mcp": {
75
76
  "servers": {
76
- "gitMob": {
77
+ "git-mob": {
77
78
  "command": "npx",
78
79
  "args": [
79
80
  "-y",
@@ -30,5 +30,6 @@ export const createGitMobServer = () => {
30
30
  registerGitMobTool(server, tools.deleteTeamMember);
31
31
  registerGitMobTool(server, tools.setMobSessionCoauthors);
32
32
  registerGitMobTool(server, tools.clearMobSession);
33
+ registerGitMobTool(server, tools.getGitMobHelp);
33
34
  return server;
34
35
  };
@@ -0,0 +1,28 @@
1
+ import { z } from "zod";
2
+ import { getHelp } from "../clients/gitMobClient.js";
3
+ const name = "get_git_mob_help";
4
+ const description = "Displays general help and usage information for the Git Mob CLI. " +
5
+ "You can optionally provide a command ('setup', 'coauthor', or 'help') " +
6
+ "to get detailed help for that specific command.";
7
+ const inputSchema = {
8
+ command: z.enum(["setup", "coauthor", "help"]).optional(),
9
+ };
10
+ const annotations = {
11
+ title: "Git Mob Help",
12
+ readOnlyHint: true,
13
+ destructiveHint: false,
14
+ idempotentHint: true,
15
+ openWorldHint: false,
16
+ };
17
+ const callback = async ({ command }) => {
18
+ const { ok, value } = await getHelp(command);
19
+ return { isError: !ok, content: [{ type: "text", text: value }] };
20
+ };
21
+ const tool = {
22
+ name,
23
+ description,
24
+ inputSchema,
25
+ annotations,
26
+ callback,
27
+ };
28
+ export default tool;
@@ -4,3 +4,4 @@ export { default as addTeamMember } from "./addTeamMember.js";
4
4
  export { default as deleteTeamMember } from "./deleteTeamMember.js";
5
5
  export { default as setMobSessionCoauthors } from "./setMobSessionCoauthors.js";
6
6
  export { default as clearMobSession } from "./clearMobSession.js";
7
+ export { default as getGitMobHelp } from "./getGitMobHelp.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "git-mob-mcp-server",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "MCP Server for git-mob CLI app",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -17,10 +17,9 @@
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
- "start": "node --experimental-strip-types src/index.ts",
21
20
  "test": "jest",
22
21
  "typecheck": "tsc --noEmit",
23
- "watch": "node --experimental-strip-types --watch src/index.ts"
22
+ "watch": "tsc --watch"
24
23
  },
25
24
  "publishConfig": {
26
25
  "access": "public",