File tree Expand file tree Collapse file tree 2 files changed +21
-4
lines changed Expand file tree Collapse file tree 2 files changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ COPY . ./
17
17
RUN --mount=type=cache,target=/root/.cache/go-build CGO_ENABLED=0 go build -ldflags="-s -w -X main.version=${VERSION} -X main.commit=$(git rev-parse HEAD) -X main.date=$(date -u +%Y-%m-%dT%H:%M:%SZ)" \
18
18
-o github-mcp-server cmd/github-mcp-server/main.go
19
19
20
- # Make a stage to run the app
21
- FROM gcr.io/distroless/base-debian12
20
+ # Make a stage to run the app - using debian:12-slim instead of distroless
21
+ # This provides a shell that Smithery.ai requires
22
+ FROM debian:12-slim
22
23
# Set the working directory
23
24
WORKDIR /server
24
25
# Copy the binary from the build stage
25
26
COPY --from=build /build/github-mcp-server .
26
27
# Command to run the server
27
- ENTRYPOINT ["./github-mcp-server" ]
28
- CMD ["stdio" ]
28
+ CMD ["./github-mcp-server" , "stdio" ]
Original file line number Diff line number Diff line change
1
+ # Smithery.ai configuration for GitHub MCP Server
2
+ startCommand :
3
+ type : stdio
4
+ configSchema :
5
+ # JSON Schema defining the configuration options for the MCP.
6
+ # Update this with any configuration options your MCP server requires
7
+ type : object
8
+ properties : {}
9
+ additionalProperties : false
10
+ commandFunction : |-
11
+ (config) => ({
12
+ "command": "./github-mcp-server",
13
+ "args": [
14
+ "stdio"
15
+ ],
16
+ "env": {}
17
+ })
You can’t perform that action at this time.
0 commit comments