安装G-Search-MCP需要以下五步流程:
- environmental preparation:需要Node.js 18+运行环境、Git版本控制工具以及现代浏览器(推荐Chromium)
- Code Fetch: By
git clone https://github.com/jae-jae/g-search-mcp.git
Download Project - Dependent Installation: Go to the project directory and execute
npm install
安装Node模块 - 浏览器部署: Run
npx playwright install chromium
配置浏览器环境 - Project construction: Implementation
npm run build
完成编译
高级用户可通过修改claude_desktop_config.json文件实现MCP服务器集成:
- MacOS路径:~/Library/Application Support/Claude/
- Windows路径:%APPDATA%/Claude/
- 需在配置文件中添加g-search命令参数
This answer comes from the articleG-Search-MCP: MCP Server for Free Google SearchThe