feat: add 9 plugins, sync to new provider format, add 6 new MCP packages

This commit is contained in:
2026-06-15 21:51:14 +08:00
parent bc32c98e50
commit a3c4024f5f
3 changed files with 144 additions and 89 deletions
+6 -9
View File
@@ -200,8 +200,12 @@ GLOBAL_PACKAGES=(
"@playwright/mcp"
"@upstash/context7-mcp"
"mcp-remote"
"jina-mcp-tools"
"git-mcp-server"
"chrome-devtools-mcp"
)
# Install npm global deps (git-mcp-server replaces Python mcp-server-git)
for pkg in "${GLOBAL_PACKAGES[@]}"; do
echo -e "${DARKGRAY} Installing $pkg...${NC}" -n
if npm install -g "$pkg" 2>/dev/null; then
@@ -211,23 +215,16 @@ for pkg in "${GLOBAL_PACKAGES[@]}"; do
fi
done
# Install Python git MCP
echo -e "${DARKGRAY} Installing Python git MCP...${NC}" -n
if python3 -m pip install mcp-server-git 2>/dev/null || python -m pip install mcp-server-git 2>/dev/null; then
echo -e "${GREEN} OK${NC}"
else
echo -e "${YELLOW} SKIP${NC}"
fi
echo ""
echo -e "${CYAN}========================================${NC}"
echo -e "${GREEN} Installation Complete! ${NC}"
echo -e "${CYAN}========================================${NC}"
echo ""
echo -e "${WHITE}Next steps:${NC}"
echo -e " 1. Restart opencode to load new config"
echo -e " 1. Restart opencode to load new config (plugins auto-install on startup)"
echo -e " 2. Run 'opencode' in your project directory"
echo -e " 3. Initialize CodeGraph: codegraph init"
echo -e " 4. For smart-tree MCP: install from https://github.com/anomalyco/smart-tree"
echo ""
echo -e "${DARKGRAY}Config location: $CONFIG_DIR${NC}"
echo ""