302AI 浏览器用MCP服务端具备动态加载和多模式支持等功能,能自动更新工具列表,可本地使用也能托管为远程服务器,还可与多种应用集成,为用户提供便捷的浏览器自动化服务。
npm install
npm run build
npm run watch
stdin
模式,也可以托管为远程HTTP服务器在 MacOS 系统中,编辑文件 ~/Library/Application Support/Claude/claude_desktop_config.json
在 Windows 系统中,编辑文件 %APPDATA%/Claude/claude_desktop_config.json
添加以下内容:
{
"mcpServers": {
"302ai-browser-use-mcp": {
"command": "npx",
"args": ["-y", "@302ai/browser-use-mcp"],
"env": {
"302AI_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
添加以下内容:
{
"mcpServers": {
"Li2ZXXJkvhAALyKOFeO4N": {
"name": "302ai-browser-use-mcp",
"description": "",
"isActive": true,
"registryUrl": "",
"command": "npx",
"args": [
"-y",
"@302ai/browser-use-mcp"
],
"env": {
"302AI_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
将以下内容复制到剪贴板:
{
"mcpServers": {
"302ai-sandbox-mcp": {
"command": "npx",
"args": ["-y", "@302ai/browser-use-mcp"],
"env": {
"302AI_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
然后打开 ChatWise 设置 -> 工具 -> 添加按钮 -> 选择从剪贴板导入
由于 MCP 服务器通过标准输入输出进行通信,调试可能具有一定挑战性。我们推荐使用 MCP Inspector 工具。
运行以下命令启动 inspector:
npm install -g @302ai/mcp-inspector
mcp-inspector
如果你对我们的开发工作感兴趣,欢迎加入我们的团队!
请联系:contact@302ai.com