@andrebuzeli/git-mcp 10.0.2 → 10.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/dist/index.js CHANGED
@@ -82,7 +82,7 @@ async function main() {
82
82
  tools: tools.map(tool => ({
83
83
  name: tool.name,
84
84
  description: tool.description,
85
- inputSchema: {
85
+ inputSchema: tool.inputSchema || {
86
86
  type: 'object',
87
87
  properties: {},
88
88
  additionalProperties: true,
@@ -8,6 +8,7 @@ export declare class GitAnalyticsTool implements Tool {
8
8
  projectPath: {
9
9
  type: string;
10
10
  description: string;
11
+ examples: string[];
11
12
  };
12
13
  action: {
13
14
  type: string;
@@ -10,24 +10,25 @@ export class GitAnalyticsTool {
10
10
  properties: {
11
11
  projectPath: {
12
12
  type: "string",
13
- description: "Absolute path to the project/repository (REQUIRED)"
13
+ description: "The absolute path to the Git repository directory on the local filesystem. This should be the root directory containing the .git folder. For example: '/home/user/my-project' on Linux/Mac or 'C:\\Users\\user\\my-project' on Windows.",
14
+ examples: ["/home/user/my-repo", "C:\\Users\\user\\my-repo"]
14
15
  },
15
16
  action: {
16
17
  type: "string",
17
18
  enum: ["stats", "commits", "contributors"],
18
- description: "Action to perform: stats (get repo statistics), commits (get commit history), contributors (get contributor stats)"
19
+ description: "The analytics operation to perform: 'stats' for repository statistics, 'commits' for commit history analysis, 'contributors' for contributor statistics."
19
20
  },
20
21
  limit: {
21
22
  type: "number",
22
- description: "Maximum number of commits to return (optional for commits action, default: 100)"
23
+ description: "Maximum number of commits to return (optional, default: 100, only used for 'commits' action)"
23
24
  },
24
25
  since: {
25
26
  type: "string",
26
- description: "Start date for commits/contributors query (ISO 8601 format, optional)"
27
+ description: "Start date for filtering commits/contributors in ISO 8601 format (optional, e.g., '2023-01-01T00:00:00Z')"
27
28
  },
28
29
  until: {
29
30
  type: "string",
30
- description: "End date for commits/contributors query (ISO 8601 format, optional)"
31
+ description: "End date for filtering commits/contributors in ISO 8601 format (optional, e.g., '2024-01-01T00:00:00Z')"
31
32
  }
32
33
  },
33
34
  required: ["projectPath", "action"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@andrebuzeli/git-mcp",
3
- "version": "10.0.2",
3
+ "version": "10.0.3",
4
4
  "type": "module",
5
5
  "description": "Professional MCP server for Git operations - STDIO UNIVERSAL: works in ANY IDE (Cursor, VSCode, Claude Desktop, Trae AI, Kiro.dev). Fully autonomous DUAL execution (GitHub + Gitea APIs) with automatic username detection. Smart parameter normalization handles both 'action' and 'command' formats. All tools execute on BOTH providers simultaneously. No manual parameters needed.",
6
6
  "main": "dist/index.js",