Skip to content

Commit 24395ef

Browse files
fix: correct MCP server path and invocation
Fix MCP server startup failures by using correct dist/ path and node invocation. Changes: - Dockerfile.b00t: Update symlink to dist/plantuml-mcp-server.js (not bin/) - supervisord.conf: Use 'node /path/to/plantuml-mcp-server.js' instead of command name Fixes: supervisord error 'can't find command plantuml-mcp-server'
1 parent 1cbd960 commit 24395ef

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Dockerfile.b00t

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,9 @@ COPY --from=mcp-builder /usr/local/lib/node_modules/plantuml-mcp-server \
5656
/usr/local/lib/node_modules/plantuml-mcp-server
5757

5858
# Create symlink for MCP server binary
59-
RUN ln -s /usr/local/lib/node_modules/plantuml-mcp-server/bin/plantuml-mcp-server \
60-
/usr/local/bin/plantuml-mcp-server
59+
RUN ln -s /usr/local/lib/node_modules/plantuml-mcp-server/dist/plantuml-mcp-server.js \
60+
/usr/local/bin/plantuml-mcp-server && \
61+
chmod +x /usr/local/bin/plantuml-mcp-server
6162

6263
# Copy supervisord configuration
6364
COPY supervisord.conf /etc/supervisord.conf

supervisord.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ stderr_logfile_maxbytes=0
1818
priority=100
1919

2020
[program:mcp-server]
21-
command=plantuml-mcp-server
21+
command=node /usr/local/lib/node_modules/plantuml-mcp-server/dist/plantuml-mcp-server.js
2222
directory=/opt/mcp
2323
autostart=true
2424
autorestart=true

0 commit comments

Comments
 (0)