从 GitHub 添加 MCP 服务器
查找 MCP 服务器
与Cline-胜算云增强版一起建造
User: "Cline, I want to add the MCP server for Brave browser control. Here's the GitHub link: @https://github.com/modelcontextprotocol/servers/tree/main/src/brave-search Can you add it?" Cline: "OK. Cloning the repository to the MCP directory. It needs to be built because it has a 'package.json' file. Should I run 'npm run build'?" User: "Yes, build it." Cline: "Build complete. This server needs a browser path. Where's your Brave browser executable?" User: "It's in '/Applications/Brave Browser.app/Contents/MacOS/Brave Browser'." Cline: "OK. I've updated the server config with that path and added it to 'cline_mcp_settings.json'. Anything else?" User: "No, that's all. Let's test it." Cline: "Great! Starting the MCP Inspector to test the server connection. After that, we can try controlling the browser from Cline."
测试和故障排除
最佳实践
Last updated