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 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"]