From afd4c44d114504a2571d9ddbd8f407418c309cc4 Mon Sep 17 00:00:00 2001 From: lmiranda Date: Thu, 29 Jan 2026 12:12:08 -0500 Subject: [PATCH] fix(mcp): consolidate all MCP servers at marketplace root Move all MCP server declarations from individual plugin .mcp.json files to a single .mcp.json at the marketplace root. This fixes MCP loading failures where only one plugin's MCP would load. - Add .mcp.json at marketplace root with all 5 servers - Remove plugin-level .mcp.json files (projman, pr-review, cmdb-assistant, data-platform, viz-platform, contract-validator) - Update CLAUDE.md to reflect new architecture Co-Authored-By: Claude Opus 4.5 --- .mcp.json | 24 ++++++++++++++++++++++++ CLAUDE.md | 8 ++++---- plugins/cmdb-assistant/.mcp.json | 8 -------- plugins/contract-validator/.mcp.json | 9 --------- plugins/data-platform/.mcp.json | 9 --------- plugins/pr-review/.mcp.json | 8 -------- plugins/projman/.mcp.json | 8 -------- plugins/viz-platform/.mcp.json | 9 --------- 8 files changed, 28 insertions(+), 55 deletions(-) create mode 100644 .mcp.json delete mode 100644 plugins/cmdb-assistant/.mcp.json delete mode 100644 plugins/contract-validator/.mcp.json delete mode 100644 plugins/data-platform/.mcp.json delete mode 100644 plugins/pr-review/.mcp.json delete mode 100644 plugins/projman/.mcp.json delete mode 100644 plugins/viz-platform/.mcp.json diff --git a/.mcp.json b/.mcp.json new file mode 100644 index 0000000..4379e58 --- /dev/null +++ b/.mcp.json @@ -0,0 +1,24 @@ +{ + "mcpServers": { + "gitea": { + "command": "/home/lmiranda/.claude/plugins/marketplaces/leo-claude-mktplace/mcp-servers/gitea/run.sh", + "args": [] + }, + "netbox": { + "command": "/home/lmiranda/.claude/plugins/marketplaces/leo-claude-mktplace/mcp-servers/netbox/run.sh", + "args": [] + }, + "viz-platform": { + "command": "/home/lmiranda/.claude/plugins/marketplaces/leo-claude-mktplace/mcp-servers/viz-platform/run.sh", + "args": [] + }, + "data-platform": { + "command": "/home/lmiranda/.claude/plugins/marketplaces/leo-claude-mktplace/mcp-servers/data-platform/run.sh", + "args": [] + }, + "contract-validator": { + "command": "/home/lmiranda/.claude/plugins/marketplaces/leo-claude-mktplace/mcp-servers/contract-validator/run.sh", + "args": [] + } + } +} diff --git a/CLAUDE.md b/CLAUDE.md index 9abc42e..6b68c0e 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -108,7 +108,7 @@ leo-claude-mktplace/ ├── plugins/ │ ├── projman/ # Sprint management │ │ ├── .claude-plugin/plugin.json -│ │ ├── .mcp.json +│ │ # .mcp.json removed - now at marketplace root │ │ ├── mcp-servers/gitea -> ../../../mcp-servers/gitea # SYMLINK │ │ ├── commands/ # 14 commands (incl. setup, debug, suggest-version) │ │ ├── hooks/ # SessionStart: mismatch detection + sprint suggestions @@ -120,7 +120,7 @@ leo-claude-mktplace/ │ │ └── agents/ │ ├── pr-review/ # Multi-agent PR review │ │ ├── .claude-plugin/plugin.json -│ │ ├── .mcp.json +│ │ # .mcp.json removed - now at marketplace root │ │ ├── mcp-servers/gitea -> ../../../mcp-servers/gitea # SYMLINK │ │ ├── commands/ # 6 commands (incl. setup) │ │ ├── hooks/ # SessionStart mismatch detection @@ -131,14 +131,14 @@ leo-claude-mktplace/ │ │ └── agents/ │ ├── data-platform/ # Data engineering (NEW v4.0.0) │ │ ├── .claude-plugin/plugin.json -│ │ ├── .mcp.json +│ │ # .mcp.json removed - now at marketplace root │ │ ├── mcp-servers/ # pandas, postgresql, dbt MCPs │ │ ├── commands/ # 7 commands │ │ ├── hooks/ # SessionStart PostgreSQL check │ │ └── agents/ # 2 agents │ ├── viz-platform/ # Visualization (NEW v4.0.0) │ │ ├── .claude-plugin/plugin.json -│ │ ├── .mcp.json +│ │ # .mcp.json removed - now at marketplace root │ │ ├── mcp-servers/ # viz-platform MCP │ │ ├── commands/ # 7 commands │ │ ├── hooks/ # SessionStart DMC check diff --git a/plugins/cmdb-assistant/.mcp.json b/plugins/cmdb-assistant/.mcp.json deleted file mode 100644 index e2d04f5..0000000 --- a/plugins/cmdb-assistant/.mcp.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "mcpServers": { - "netbox": { - "command": "${CLAUDE_PLUGIN_ROOT}/mcp-servers/netbox/run.sh", - "args": [] - } - } -} diff --git a/plugins/contract-validator/.mcp.json b/plugins/contract-validator/.mcp.json deleted file mode 100644 index 52301f0..0000000 --- a/plugins/contract-validator/.mcp.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "mcpServers": { - "contract-validator": { - "type": "stdio", - "command": "${CLAUDE_PLUGIN_ROOT}/mcp-servers/contract-validator/run.sh", - "args": [] - } - } -} diff --git a/plugins/data-platform/.mcp.json b/plugins/data-platform/.mcp.json deleted file mode 100644 index a36ff8f..0000000 --- a/plugins/data-platform/.mcp.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "mcpServers": { - "data-platform": { - "type": "stdio", - "command": "${CLAUDE_PLUGIN_ROOT}/mcp-servers/data-platform/run.sh", - "args": [] - } - } -} diff --git a/plugins/pr-review/.mcp.json b/plugins/pr-review/.mcp.json deleted file mode 100644 index 1015f9c..0000000 --- a/plugins/pr-review/.mcp.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "mcpServers": { - "gitea": { - "command": "${CLAUDE_PLUGIN_ROOT}/mcp-servers/gitea/run.sh", - "args": [] - } - } -} diff --git a/plugins/projman/.mcp.json b/plugins/projman/.mcp.json deleted file mode 100644 index 1015f9c..0000000 --- a/plugins/projman/.mcp.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "mcpServers": { - "gitea": { - "command": "${CLAUDE_PLUGIN_ROOT}/mcp-servers/gitea/run.sh", - "args": [] - } - } -} diff --git a/plugins/viz-platform/.mcp.json b/plugins/viz-platform/.mcp.json deleted file mode 100644 index d05ee28..0000000 --- a/plugins/viz-platform/.mcp.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "mcpServers": { - "viz-platform": { - "type": "stdio", - "command": "${CLAUDE_PLUGIN_ROOT}/mcp-servers/viz-platform/run.sh", - "args": [] - } - } -} -- 2.49.1