From 923f5d847a01d4cc32575bab5153763ba8f16a99 Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Wed, 9 Apr 2025 14:03:10 -0700 Subject: [PATCH 1/3] Add Dockerfile --- Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e8804fd --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile +FROM python:3.12-slim + +WORKDIR /app + +# Copy project files +COPY . /app + +# Install build dependencies and compile the project +RUN pip install --no-cache-dir hatchling && \ + pip install --no-cache-dir . + +# Expose a port if needed (not strictly required for stdio based MCP servers) + +# Default command to run the MCP server +CMD ["codemcp"] From 730bab96939fc1eec8f66263c4ae9bdcad32d659 Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Wed, 9 Apr 2025 14:03:10 -0700 Subject: [PATCH 2/3] Add Smithery configuration --- smithery.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 smithery.yaml diff --git a/smithery.yaml b/smithery.yaml new file mode 100644 index 0000000..0c30d87 --- /dev/null +++ b/smithery.yaml @@ -0,0 +1,16 @@ +# 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: {} + commandFunction: + # A JS function that produces the CLI command based on the given config to start the MCP on stdio. + |- + (config) => ({ + command: 'codemcp', + args: [] + }) + exampleConfig: {} From c08331d50d8543dafcf6ce68c2d989ee8c010ee7 Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Wed, 9 Apr 2025 14:03:11 -0700 Subject: [PATCH 3/3] Update README --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 9fc8e49..ef1375a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # codemcp +[![smithery badge](https://smithery.ai/badge/@ezyang/codemcp)](https://smithery.ai/server/@ezyang/codemcp) Make Claude Desktop a pair programming assistant by installing codemcp. With it, you can directly ask Claude to implement features, fix bugs and do @@ -59,6 +60,14 @@ Restart the Claude Desktop app after modifying the JSON. If the MCP successfully loaded, a hammer icon will appear and when you click it "codemcp" will be visible. +### Installing via Smithery + +To install Deskaid for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@ezyang/codemcp): + +```bash +npx -y @smithery/cli install @ezyang/codemcp --client claude +``` + ### Global install with pip If you don't want to use uv, you can also globally pip install the latest