From 6973dfff0c1f7dad393dfbcef00f9071b5c801d6 Mon Sep 17 00:00:00 2001 From: "smithery-ai[bot]" <194235850+smithery-ai[bot]@users.noreply.github.com> Date: Sat, 15 Mar 2025 23:07:00 +0000 Subject: [PATCH 1/2] Add Dockerfile --- Server/Dockerfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Server/Dockerfile diff --git a/Server/Dockerfile b/Server/Dockerfile new file mode 100644 index 00000000..fc6c3ba4 --- /dev/null +++ b/Server/Dockerfile @@ -0,0 +1,23 @@ +# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile +FROM node:lts-alpine + +# Create app directory +WORKDIR /app + +# Copy package.json and package-lock.json if exists +COPY package*.json ./ + +# Install dependencies, skipping prepare scripts to avoid unwanted builds +RUN npm install --ignore-scripts + +# Copy the rest of the project source +COPY . . + +# Build the project +RUN npm run build + +# Expose WebSocket port, default 8080 +EXPOSE 8080 + +# Command to run the MCP server +CMD ["node", "build/index.js"] From b757768c41123fac39b7045413fd11d58cd68014 Mon Sep 17 00:00:00 2001 From: "smithery-ai[bot]" <194235850+smithery-ai[bot]@users.noreply.github.com> Date: Sat, 15 Mar 2025 23:07:01 +0000 Subject: [PATCH 2/2] Update README --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 0cc4a269..2689b984 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,14 @@ await tools.execute_menu_item({ ## Installation +### Installing via Smithery + +To install MCP Unity for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@CoderGamester/mcp-unity): + +```bash +npx -y @smithery/cli install @CoderGamester/mcp-unity --client claude +``` + ### Installing the Unity MCP Server package via Unity Package Manager 1. Open the Unity Package Manager (Window > Package Manager) 2. Click the "+" button in the top-left corner