Skip to content

Commit 86cc44c

Browse files
Merge pull request #1 from CoderGamester/smithery/config-0703
Deployment: Dockerfile and Smithery config
2 parents 04bfa20 + b757768 commit 86cc44c

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@ await tools.execute_menu_item({
4242

4343
## Installation
4444

45+
### Installing via Smithery
46+
47+
To install MCP Unity for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@CoderGamester/mcp-unity):
48+
49+
```bash
50+
npx -y @smithery/cli install @CoderGamester/mcp-unity --client claude
51+
```
52+
4553
### Installing the Unity MCP Server package via Unity Package Manager
4654
1. Open the Unity Package Manager (Window > Package Manager)
4755
2. Click the "+" button in the top-left corner

Server/Dockerfile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
2+
FROM node:lts-alpine
3+
4+
# Create app directory
5+
WORKDIR /app
6+
7+
# Copy package.json and package-lock.json if exists
8+
COPY package*.json ./
9+
10+
# Install dependencies, skipping prepare scripts to avoid unwanted builds
11+
RUN npm install --ignore-scripts
12+
13+
# Copy the rest of the project source
14+
COPY . .
15+
16+
# Build the project
17+
RUN npm run build
18+
19+
# Expose WebSocket port, default 8080
20+
EXPOSE 8080
21+
22+
# Command to run the MCP server
23+
CMD ["node", "build/index.js"]

0 commit comments

Comments
 (0)