File tree Expand file tree Collapse file tree 8 files changed +151
-15
lines changed Expand file tree Collapse file tree 8 files changed +151
-15
lines changed Original file line number Diff line number Diff line change
1
+ # Version control
2
+ .git
3
+ .gitignore
4
+
5
+ # Node.js
6
+ node_modules
7
+ npm-debug.log
8
+
9
+ # Build artifacts
10
+ client /dist
11
+ client /build
12
+ server /dist
13
+ server /build
14
+
15
+ # Environment variables
16
+ .env
17
+ .env.local
18
+ .env.development
19
+ .env.test
20
+ .env.production
21
+
22
+ # Editor files
23
+ .vscode
24
+ .idea
25
+
26
+ # Logs
27
+ logs
28
+ * .log
29
+
30
+ # Testing
31
+ coverage
32
+
33
+ # Docker
34
+ Dockerfile
35
+ .dockerignore
Original file line number Diff line number Diff line change 65
65
- run : npm run publish-all
66
66
env :
67
67
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
68
+
69
+ publish-github-container-registry :
70
+ runs-on : ubuntu-latest
71
+ if : github.event_name == 'release'
72
+ environment : release
73
+ needs : build
74
+ permissions :
75
+ contents : read
76
+ packages : write
77
+ attestations : write
78
+ id-token : write
79
+ steps :
80
+ - uses : actions/checkout@v4
81
+
82
+ - name : Log in to the Container registry
83
+ uses : docker/login-action@v3
84
+ with :
85
+ registry : ghcr.io
86
+ username : ${{ github.actor }}
87
+ password : ${{ secrets.GITHUB_TOKEN }}
88
+
89
+ - name : Extract metadata (tags, labels) for Docker
90
+ id : meta
91
+ uses : docker/metadata-action@v5
92
+ with :
93
+ images : ghcr.io/${{ github.repository }}
94
+
95
+ - name : Set up QEMU
96
+ uses : docker/setup-qemu-action@v3
97
+
98
+ - name : Set up Docker Buildx
99
+ uses : docker/setup-buildx-action@v3
100
+
101
+ - name : Build and push Docker image
102
+ id : push
103
+ uses : docker/build-push-action@v6
104
+ with :
105
+ context : .
106
+ push : true
107
+ platforms : linux/amd64,linux/arm64
108
+ tags : ${{ steps.meta.outputs.tags }}
109
+ labels : ${{ steps.meta.outputs.labels }}
110
+
111
+ - name : Generate artifact attestation
112
+ uses : actions/attest-build-provenance@v2
113
+ with :
114
+ subject-name : ghcr.io/${{ github.repository }}
115
+ subject-digest : ${{ steps.push.outputs.digest }}
116
+ push-to-registry : true
Original file line number Diff line number Diff line change
1
+ # Build stage
2
+ FROM node:24-slim AS builder
3
+
4
+ # Set working directory
5
+ WORKDIR /app
6
+
7
+ # Copy package files for installation
8
+ COPY package*.json ./
9
+ COPY .npmrc ./
10
+ COPY client/package*.json ./client/
11
+ COPY server/package*.json ./server/
12
+ COPY cli/package*.json ./cli/
13
+
14
+ # Install dependencies
15
+ RUN npm ci --ignore-scripts
16
+
17
+ # Copy source files
18
+ COPY . .
19
+
20
+ # Build the application
21
+ RUN npm run build
22
+
23
+ # Production stage
24
+ FROM node:24-slim
25
+
26
+ WORKDIR /app
27
+
28
+ # Copy package files for production
29
+ COPY package*.json ./
30
+ COPY .npmrc ./
31
+ COPY client/package*.json ./client/
32
+ COPY server/package*.json ./server/
33
+ COPY cli/package*.json ./cli/
34
+
35
+ # Install only production dependencies
36
+ RUN npm ci --omit=dev --ignore-scripts
37
+
38
+ # Copy built files from builder stage
39
+ COPY --from=builder /app/client/dist ./client/dist
40
+ COPY --from=builder /app/client/bin ./client/bin
41
+ COPY --from=builder /app/server/build ./server/build
42
+ COPY --from=builder /app/cli/build ./cli/build
43
+
44
+ # Set default port values as environment variables
45
+ ENV CLIENT_PORT=6274
46
+ ENV SERVER_PORT=6277
47
+
48
+ # Document which ports the application uses internally
49
+ EXPOSE ${CLIENT_PORT} ${SERVER_PORT}
50
+
51
+ # Use ENTRYPOINT with CMD for arguments
52
+ ENTRYPOINT ["npm" , "start" ]
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @modelcontextprotocol/inspector-cli" ,
3
- "version" : " 0.14.1 " ,
3
+ "version" : " 0.14.2 " ,
4
4
"description" : " CLI for the Model Context Protocol inspector" ,
5
5
"license" : " MIT" ,
6
6
"author" : " Anthropic, PBC (https://anthropic.com)" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @modelcontextprotocol/inspector-client" ,
3
- "version" : " 0.14.1 " ,
3
+ "version" : " 0.14.2 " ,
4
4
"description" : " Client-side application for the Model Context Protocol inspector" ,
5
5
"license" : " MIT" ,
6
6
"author" : " Anthropic, PBC (https://anthropic.com)" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @modelcontextprotocol/inspector" ,
3
- "version" : " 0.14.1 " ,
3
+ "version" : " 0.14.2 " ,
4
4
"description" : " Model Context Protocol inspector" ,
5
5
"license" : " MIT" ,
6
6
"author" : " Anthropic, PBC (https://anthropic.com)" ,
43
43
"check-version" : " node scripts/check-version-consistency.js"
44
44
},
45
45
"dependencies" : {
46
- "@modelcontextprotocol/inspector-cli" : " ^0.14.1 " ,
47
- "@modelcontextprotocol/inspector-client" : " ^0.14.1 " ,
48
- "@modelcontextprotocol/inspector-server" : " ^0.14.1 " ,
46
+ "@modelcontextprotocol/inspector-cli" : " ^0.14.2 " ,
47
+ "@modelcontextprotocol/inspector-client" : " ^0.14.2 " ,
48
+ "@modelcontextprotocol/inspector-server" : " ^0.14.2 " ,
49
49
"@modelcontextprotocol/sdk" : " ^1.12.1" ,
50
50
"concurrently" : " ^9.0.1" ,
51
51
"open" : " ^10.1.0" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @modelcontextprotocol/inspector-server" ,
3
- "version" : " 0.14.1 " ,
3
+ "version" : " 0.14.2 " ,
4
4
"description" : " Server-side application for the Model Context Protocol inspector" ,
5
5
"license" : " MIT" ,
6
6
"author" : " Anthropic, PBC (https://anthropic.com)" ,
You can’t perform that action at this time.
0 commit comments