From cb3f6e197e5685a6a4fc91b29ed56398d6e8c6a1 Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Sun, 9 Mar 2025 15:03:08 +0800 Subject: [PATCH 1/3] Add Dockerfile --- Dockerfile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..26d8f54 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,22 @@ +# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile +FROM node:lts-alpine + +# Set working directory +WORKDIR /app + +# Copy package files +COPY package.json package-lock.json ./ + +# Install dependencies +RUN npm install --ignore-scripts + +# Copy source code +COPY . . + +# Build the project +RUN npm run build + +# Expose port if needed (MCP uses stdio so not required) + +# Command to run the MCP server +CMD [ "node", "dist/index.js" ] From 2f7e1d4a4dfe46f122211460b4843785b44d0a7f Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Sun, 9 Mar 2025 15:03:09 +0800 Subject: [PATCH 2/3] Add Smithery configuration --- smithery.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 smithery.yaml diff --git a/smithery.yaml b/smithery.yaml new file mode 100644 index 0000000..c58adc2 --- /dev/null +++ b/smithery.yaml @@ -0,0 +1,13 @@ +# 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: 'node', args: ['dist/index.js'] }) + exampleConfig: {} From 15abfac7f492969872dca846d010bc72379580e5 Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Sun, 9 Mar 2025 15:03:10 +0800 Subject: [PATCH 3/3] Update README --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index f43eca9..4bdc148 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Claude Code MCP +[![smithery badge](https://smithery.ai/badge/@auchenberg/claude-code-mcp)](https://smithery.ai/server/@auchenberg/claude-code-mcp) + Claude Code MCP is an implementation of [Claude Code](https://gist.github.com/transitive-bullshit/487c9cb52c75a9701d312334ed53b20c) as a [Model Context Protocol (MCP)](https://modelcontextprotocol.io) server. This project allows you to use Claude Code's powerful software engineering capabilities through the standardized MCP interface. ## What is Claude Code? @@ -36,6 +38,15 @@ By implementing Claude Code as an MCP server, we make its capabilities available ## Installation +### Installing via Smithery + +To install Claude Code MCP Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@auchenberg/claude-code-mcp): + +```bash +npx -y @smithery/cli install @auchenberg/claude-code-mcp --client claude +``` + +### Installing Manually ```bash # Clone the repository git clone https://github.com/auchenberg/claude-code-mcp.git