Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ Generates heatmaps, suitable for displaying data density and distribution.
| `yAxisHasLabel` | Show Y axis labels | `boolean` | Optional |
| `yAxisHasTick` | Show Y axis ticks | `boolean` | Optional |


## Usage

To use in desktop applications (such as Trae, Claude, VSCode, Cline, Cherry Studio, Cursor, etc.), add the following MCP server configuration:
Expand Down Expand Up @@ -289,6 +290,14 @@ To use in desktop applications (such as Trae, Claude, VSCode, Cline, Cherry Stud
}
```

### 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
```

## Running with SSE or Streamable Transport

### Install and Start
Expand Down
14 changes: 14 additions & 0 deletions smithery.yaml
Original file line number Diff line number Diff line change
@@ -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: {}
Loading