fix(scripts): MCP server mapping and CLAUDE.md section markers
Issue 1 - MCP Server Mapping: - Add mcp_servers field to plugin.json for plugins using shared MCP servers - projman/pr-review now install gitea MCP server - cmdb-assistant now installs netbox MCP server - Scripts read MCP server names from plugin.json Issue 2 - CLAUDE.md Section Markers: - Install wraps content with HTML comment markers for precise removal - Uninstall uses markers first, falls back to legacy header detection - Fixes code block false positives during uninstall Bug fix: - Change ((servers_added++)) to ((++servers_added)) to avoid exit code 1 with set -e when incrementing from 0 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -19,5 +19,6 @@
|
||||
"data-quality",
|
||||
"validation"
|
||||
],
|
||||
"mcp_servers": ["netbox"],
|
||||
"commands": ["./commands/"]
|
||||
}
|
||||
|
||||
@@ -17,5 +17,6 @@
|
||||
"interfaces",
|
||||
"cross-plugin"
|
||||
],
|
||||
"mcp_servers": ["contract-validator"],
|
||||
"commands": ["./commands/"]
|
||||
}
|
||||
|
||||
@@ -18,5 +18,6 @@
|
||||
"etl",
|
||||
"dataframe"
|
||||
],
|
||||
"mcp_servers": ["data-platform"],
|
||||
"commands": ["./commands/"]
|
||||
}
|
||||
|
||||
@@ -16,5 +16,6 @@
|
||||
"performance",
|
||||
"multi-agent"
|
||||
],
|
||||
"mcp_servers": ["gitea"],
|
||||
"commands": ["./commands/"]
|
||||
}
|
||||
|
||||
@@ -16,5 +16,6 @@
|
||||
"agile",
|
||||
"lessons-learned"
|
||||
],
|
||||
"mcp_servers": ["gitea"],
|
||||
"commands": ["./commands/"]
|
||||
}
|
||||
|
||||
@@ -19,5 +19,6 @@
|
||||
"visualization",
|
||||
"dmc"
|
||||
],
|
||||
"mcp_servers": ["viz-platform"],
|
||||
"commands": ["./commands/"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user