From 5ba0719d3c84a3739ac9cbd9fe0d3d9d2896d00c Mon Sep 17 00:00:00 2001
From: Henry Mao <1828968+calclavia@users.noreply.github.com>
Date: Fri, 25 Apr 2025 11:33:29 -0700
Subject: [PATCH 1/3] Add Dockerfile
---
Dockerfile | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 Dockerfile
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..90fece0
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,27 @@
+# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
+FROM node:lts-alpine
+
+# Install build dependencies for native modules
+RUN apk add --no-cache python3 make g++
+
+WORKDIR /app
+
+# Copy dependency manifests
+COPY package.json bun.lock esbuild.js tsconfig.json ./
+COPY src ./src
+COPY schemas ./schemas
+COPY resources ./resources
+COPY snippets ./snippets
+COPY esbuild.js .
+
+# Install dependencies without running any prepare scripts
+RUN npm install --ignore-scripts --legacy-peer-deps
+
+# Build the extension and MCP server
+RUN npm run compile
+
+# Expose any needed ports (the server fetches http on localhost:50001 via remote DB service)
+EXPOSE 50001
+
+# Default command to run MCP server
+CMD ["node", "dist/services/mcp/server.js"]
From e20340212ba7b4c706ffcd578030f726132705ac Mon Sep 17 00:00:00 2001
From: Henry Mao <1828968+calclavia@users.noreply.github.com>
Date: Fri, 25 Apr 2025 11:33:30 -0700
Subject: [PATCH 2/3] Add Smithery configuration
---
smithery.yaml | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 smithery.yaml
diff --git a/smithery.yaml b/smithery.yaml
new file mode 100644
index 0000000..c5add9f
--- /dev/null
+++ b/smithery.yaml
@@ -0,0 +1,12 @@
+# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
+
+startCommand:
+ type: stdio
+ configSchema:
+ # JSON Schema defining the configuration options for the MCP.
+ type: object
+ commandFunction:
+ # A JS function that produces the CLI command based on the given config to start the MCP on stdio.
+ |-
+ (config) => ({ command: 'node', args: ['dist/services/mcp/server.js'] })
+ exampleConfig: {}
From 9ad8b150805bbd5ed11ba9a508155f932a322755 Mon Sep 17 00:00:00 2001
From: Henry Mao <1828968+calclavia@users.noreply.github.com>
Date: Fri, 25 Apr 2025 11:33:30 -0700
Subject: [PATCH 3/3] Update README
---
README.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/README.md b/README.md
index 7ca2e11..8606731 100644
--- a/README.md
+++ b/README.md
@@ -5,6 +5,7 @@
+