From 81e962d5f134a53ae918a76aaee548b186fddca8 Mon Sep 17 00:00:00 2001
From: Henry Mao <1828968+calclavia@users.noreply.github.com>
Date: Thu, 27 Mar 2025 17:05:01 -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..26fd62d
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,27 @@
+# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
+FROM python:3.10-slim
+
+# Install required system dependencies
+RUN apt-get update && apt-get install -y \
+ build-essential \
+ cmake \
+ make \
+ gcc \
+ git \
+ curl \
+ bash \
+ && rm -rf /var/lib/apt/lists/*
+
+WORKDIR /app
+
+# Copy the entire repository into the container
+COPY . .
+
+# Set up Python virtual environment and install dependencies
+RUN python -m venv diffugen_env \
+ && . diffugen_env/bin/activate \
+ && pip install --upgrade pip \
+ && pip install -r requirements.txt
+
+# Use bash explicitly for the entrypoint as diffugen.sh uses bash-specific syntax.
+ENTRYPOINT [ "bash", "diffugen.sh" ]
From ce6e33f6c520687f5277cbd2958e0528d4121250 Mon Sep 17 00:00:00 2001
From: Henry Mao <1828968+calclavia@users.noreply.github.com>
Date: Thu, 27 Mar 2025 17:05:02 -0700
Subject: [PATCH 2/3] Add Smithery configuration
---
smithery.yaml | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 smithery.yaml
diff --git a/smithery.yaml b/smithery.yaml
new file mode 100644
index 0000000..0f2cd1b
--- /dev/null
+++ b/smithery.yaml
@@ -0,0 +1,20 @@
+# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
+
+startCommand:
+ type: stdio
+ configSchema:
+ # JSON Schema defining the configuration options for the MCP.
+ type: object
+ properties: {}
+ default: {}
+ description: No configuration required for DiffuGen server. All parameters are
+ set via environment variables or default values.
+ commandFunction:
+ # A JS function that produces the CLI command based on the given config to start the MCP on stdio.
+ |-
+ (config) => ({
+ command: 'bash',
+ args: ['diffugen.sh'],
+ env: { }
+ })
+ exampleConfig: {}
From 46bce426323691f30be20e719290104345520812 Mon Sep 17 00:00:00 2001
From: Henry Mao <1828968+calclavia@users.noreply.github.com>
Date: Thu, 27 Mar 2025 17:05:03 -0700
Subject: [PATCH 3/3] Update README
---
README.md | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 52f8645..594960f 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@
-