File tree Expand file tree Collapse file tree 3 files changed +43
-0
lines changed Expand file tree Collapse file tree 3 files changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Generated by https://smithery.ai. See: https://smithery.ai/docs/build/project-config
2
+ FROM node:lts-alpine
3
+
4
+ # Create app directory
5
+ WORKDIR /app
6
+
7
+ # Copy package.json and package-lock for dependencies
8
+ COPY package*.json ./
9
+
10
+ # Install dependencies without running any prepare scripts
11
+ RUN npm ci --ignore-scripts
12
+
13
+ # Copy the rest of the application code
14
+ COPY . .
15
+
16
+ # Use a non-root user (optional)
17
+ # RUN addgroup -S appgroup && adduser -S appuser -G appgroup
18
+ # USER appuser
19
+
20
+ # Set the entrypoint for stdio server
21
+ ENTRYPOINT ["node" , "src/index.js" ]
Original file line number Diff line number Diff line change @@ -4,9 +4,18 @@ A Node.js implementation of a Git repository browser using the Model Context Pro
4
4
5
5
[ ![ GitHub Repository] ( https://img.shields.io/badge/GitHub-Repository-blue.svg )] ( https://github.com/bsreeram08/git-commands-mcp )
6
6
[ ![ npm package] ( https://img.shields.io/npm/v/git-commands-mcp.svg )] ( https://www.npmjs.com/package/git-commands-mcp )
7
+ [ ![ smithery badge] ( https://smithery.ai/badge/@Jeetanshu18/git-commands-mcp )] ( https://smithery.ai/server/@Jeetanshu18/git-commands-mcp )
7
8
8
9
## Installation
9
10
11
+ ### Installing via Smithery
12
+
13
+ To install git-commands-mcp for Claude Desktop automatically via [ Smithery] ( https://smithery.ai/server/@Jeetanshu18/git-commands-mcp ) :
14
+
15
+ ``` bash
16
+ npx -y @smithery/cli install @Jeetanshu18/git-commands-mcp --client claude
17
+ ```
18
+
10
19
### NPM (Recommended)
11
20
12
21
``` bash
Original file line number Diff line number Diff line change
1
+ # Smithery configuration file: https://smithery.ai/docs/build/project-config
2
+
3
+ startCommand :
4
+ type : stdio
5
+ commandFunction :
6
+ # A JS function that produces the CLI command based on the given config to start the MCP on stdio.
7
+ |-
8
+ (config) => ({ command : ' node' , args: ['src/index.js'], env: {} })
9
+ configSchema :
10
+ # JSON Schema defining the configuration options for the MCP.
11
+ type : object
12
+ properties : {}
13
+ exampleConfig : {}
You can’t perform that action at this time.
0 commit comments