fix(scripts): MCP server mapping and CLAUDE.md section markers #395
Reference in New Issue
Block a user
Delete Branch "fix/plugin-install-mcp-mapping"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Fixes two issues in the plugin installation scripts:
Issue 1: Shared MCP Server Mapping
mcp_serversfield toplugin.jsonfor plugins using shared MCP serversprojmanandpr-reviewnow correctly installgiteaMCP servercmdb-assistantnow correctly installsnetboxMCP serverplugin.jsoninstead of assuming plugin name = server nameIssue 2: CLAUDE.md Section Markers
<!-- BEGIN marketplace-plugin: {name} -->and<!-- END marketplace-plugin: {name} -->Bug Fix
((servers_added++))to((++servers_added))to avoid exit code 1 withset -ewhen incrementing from 0Files Changed
plugins/*/plugin.jsonmcp_serversfieldscripts/install-plugin.shmcp_servers, add HTML markersscripts/uninstall-plugin.shmcp_servers, use HTML markersscripts/list-installed.shmcp_serversfieldCHANGELOG.mdTest plan
./scripts/validate-marketplace.sh🤖 Generated with Claude Code