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:
@@ -16,5 +16,6 @@
|
||||
"agile",
|
||||
"lessons-learned"
|
||||
],
|
||||
"mcp_servers": ["gitea"],
|
||||
"commands": ["./commands/"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user