Skip to content

Commit d78e58c

Browse files
authored
Merge pull request #1 from smithery-ai/smithery/config-1m0c
Deployment: Dockerfile and Smithery config
2 parents ec153ef + 7b1d504 commit d78e58c

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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 files and install dependencies without running prepare scripts
8+
COPY package.json package-lock.json ./
9+
RUN npm install --ignore-scripts
10+
11+
# Copy source files
12+
COPY . .
13+
14+
# Build the TypeScript project
15+
RUN npm run build
16+
17+
# Default command to start the MCP server over stdio
18+
CMD ["node", "build/index.js"]

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# codebase-context-dumper MCP Server
22

3+
[![smithery badge](https://smithery.ai/badge/@lex-tools/codebase-context-dumper)](https://smithery.ai/server/@lex-tools/codebase-context-dumper)
34
[![npm version](https://badge.fury.io/js/%40lex-tools%2Fcodebase-context-dumper.svg)](https://badge.fury.io/js/%40lex-tools%2Fcodebase-context-dumper)
45
[![License: Apache-2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
56

smithery.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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: ['build/index.js'] })
9+
configSchema:
10+
# JSON Schema defining the configuration options for the MCP.
11+
type: object
12+
properties: {}
13+
description: No configuration required to start the server.
14+
exampleConfig: {}

0 commit comments

Comments
 (0)