From 8fd0387857fa6ee698d55cc04ddf13f21d116f37 Mon Sep 17 00:00:00 2001 From: "smithery-ai[bot]" <194235850+smithery-ai[bot]@users.noreply.github.com> Date: Fri, 11 Jul 2025 08:01:01 +0000 Subject: [PATCH 1/3] Add Dockerfile --- Dockerfile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..040ea56 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,24 @@ +# Generated by https://smithery.ai. See: https://smithery.ai/docs/build/project-config +# Builder stage +FROM node:lts-alpine as builder +WORKDIR /app + +# Install all dependencies (including dev) without running prepare +COPY package.json package-lock.json tsconfig.json ./ +RUN npm install --ignore-scripts + +# Copy source and build +COPY src ./src +RUN npm run build + +# Final stage +FROM node:lts-alpine +WORKDIR /app + +# Copy build output and dependencies from builder +COPY --from=builder /app/build ./build +COPY --from=builder /app/node_modules ./node_modules +COPY package.json ./package.json + +# Expose no ports since stdio +ENTRYPOINT ["node", "build/index.js"] From 55a76765bc97390961c7450f926d831a3518679a Mon Sep 17 00:00:00 2001 From: "smithery-ai[bot]" <194235850+smithery-ai[bot]@users.noreply.github.com> Date: Fri, 11 Jul 2025 08:01:02 +0000 Subject: [PATCH 2/3] Add Smithery configuration --- smithery.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 smithery.yaml diff --git a/smithery.yaml b/smithery.yaml new file mode 100644 index 0000000..7ec48aa --- /dev/null +++ b/smithery.yaml @@ -0,0 +1,14 @@ +# Smithery configuration file: https://smithery.ai/docs/build/project-config + +startCommand: + type: stdio + commandFunction: + # A JS function that produces the CLI command based on the given config to start the MCP on stdio. + |- + (config) => ({ command: 'node', args: ['build/index.js'] }) + configSchema: + # JSON Schema defining the configuration options for the MCP. + type: object + properties: {} + description: No configuration required. + exampleConfig: {} From ccf813a7e966b293a6d9a80be026c7b64f15c25f Mon Sep 17 00:00:00 2001 From: "smithery-ai[bot]" <194235850+smithery-ai[bot]@users.noreply.github.com> Date: Fri, 11 Jul 2025 08:01:03 +0000 Subject: [PATCH 3/3] Update README --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 3386815..a5af1cb 100644 --- a/README.md +++ b/README.md @@ -280,6 +280,14 @@ Used to generate heatmaps, suitable for displaying data density and distribution ## Installation +### Installing via Smithery + +To install vchart-mcp-server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@VisActor/vchart-mcp-server): + +```bash +npx -y @smithery/cli install @VisActor/vchart-mcp-server --client claude +``` + ### Prerequisites - Node.js 18 or higher