File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -38,15 +38,18 @@ RUN git clone --depth 1 --branch ${METIS_VERSION} https://github.com/colliery-io
3838USER agent
3939
4040# Clone Metis repo to get plugin files (uses same version as CLI build)
41+ # Marketplace structure requires:
42+ # .claude-plugin/marketplace.json - describes available plugins
43+ # plugins/metis/ - actual plugin content
4144ARG PLUGIN_VERSION=main
42- RUN mkdir -p /home/agent/.claude/plugins/marketplaces/colliery-io-metis/plugins \
45+ RUN mkdir -p /home/agent/.claude/plugins/marketplaces/colliery-io-metis \
4346 && git clone --depth 1 --branch ${PLUGIN_VERSION} https://github.com/colliery-io/metis.git /tmp/metis-plugin \
44- && cp -r /tmp/metis-plugin/plugins/metis /home/agent/.claude/plugins/marketplaces/colliery-io-metis/plugins/ \
47+ && cp -r /tmp/metis-plugin/.claude-plugin /home/agent/.claude/plugins/marketplaces/colliery-io-metis/ \
48+ && cp -r /tmp/metis-plugin/plugins /home/agent/.claude/plugins/marketplaces/colliery-io-metis/ \
4549 && rm -rf /tmp/metis-plugin
4650
47- # Configure MCP server for Metis (project_path is passed per-tool-call, not at startup)
48- RUN mkdir -p /home/agent/.claude && \
49- echo '{"mcpServers":{"metis":{"command":"metis","args":["mcp"]}}}' > /home/agent/.mcp.json
51+ # Configure MCP server for Metis (inside .claude directory)
52+ RUN echo '{"mcpServers":{"metis":{"command":"metis","args":["mcp"]}}}' > /home/agent/.claude/.mcp.json
5053
5154# Back to agent user for runtime
5255WORKDIR /workspace
You can’t perform that action at this time.
0 commit comments