@wordlpeace 在 教你如何通过Claude的MCP(模型上下文协议)实现联网搜索,操作数据库,自动化操作浏览器等一系列功能 中发帖
详细的原理不多说了,让我们直接上手操作,官方示例可以看看
安装:
nodejs -版本大于18
Claude Desktop -最新版本
macos:
brew install uv git sqlite3
windows:
winget install --id=astral-sh.uv -e
winget install git.git sqlite.sqlite
接下来打开打开终端,输入
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
(如果有vscode等文件就能直接打开,否则就根据安装路径找到claude_desktop_config.json文件)
这里就可以复制我们所需要的工具,官方给出的有以下几个
[image]
我们就用Puppe...