refactor: bundle MCP servers inside plugins for cache compatibility #26

Merged
lmiranda merged 1 commits from development into main 2025-12-15 22:23:57 +00:00
Owner

Claude Code only caches the plugin directory when installed from a
marketplace, not parent directories. This broke the shared mcp-servers/
architecture because relative paths like ../../mcp-servers/ resolved
to non-existent locations in the cache.

Changes:

  • Move gitea and wikijs MCP servers into plugins/projman/mcp-servers/
  • Move netbox MCP server into plugins/cmdb-assistant/mcp-servers/
  • Update .mcp.json files to use ${CLAUDE_PLUGIN_ROOT}/mcp-servers/
  • Update setup.sh to handle new bundled structure
  • Add netbox.env config template to setup.sh
  • Update CLAUDE.md and CANONICAL-PATHS.md documentation

This ensures plugins work correctly when installed and cached.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

Claude Code only caches the plugin directory when installed from a marketplace, not parent directories. This broke the shared mcp-servers/ architecture because relative paths like ../../mcp-servers/ resolved to non-existent locations in the cache. Changes: - Move gitea and wikijs MCP servers into plugins/projman/mcp-servers/ - Move netbox MCP server into plugins/cmdb-assistant/mcp-servers/ - Update .mcp.json files to use ${CLAUDE_PLUGIN_ROOT}/mcp-servers/ - Update setup.sh to handle new bundled structure - Add netbox.env config template to setup.sh - Update CLAUDE.md and CANONICAL-PATHS.md documentation This ensures plugins work correctly when installed and cached. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
lmiranda added 1 commit 2025-12-15 22:23:51 +00:00
Claude Code only caches the plugin directory when installed from a
marketplace, not parent directories. This broke the shared mcp-servers/
architecture because relative paths like ../../mcp-servers/ resolved
to non-existent locations in the cache.

Changes:
- Move gitea and wikijs MCP servers into plugins/projman/mcp-servers/
- Move netbox MCP server into plugins/cmdb-assistant/mcp-servers/
- Update .mcp.json files to use ${CLAUDE_PLUGIN_ROOT}/mcp-servers/
- Update setup.sh to handle new bundled structure
- Add netbox.env config template to setup.sh
- Update CLAUDE.md and CANONICAL-PATHS.md documentation

This ensures plugins work correctly when installed and cached.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
lmiranda merged commit 1e63de6679 into main 2025-12-15 22:23:57 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: personal-projects/leo-claude-mktplace#26