Steel MCP Server
用于与钢铁网页浏览器交互的MCP Server。
Steel MCP 服务器让 Claude 能够通过 Puppeteer 工具在网络上导航和执行操作。基于 Web Voyager 框架,提供网页操作和截屏功能。
🚀 快速开始
先决条件
- 安装 Git 和 Node.js
- 安装 Claude Desktop
- (可选)自托管需要 Steel Docker 镜像
- (可选)Steel Cloud 需要 API 密钥
选项 A: 使用 Steel Cloud
-
克隆并构建项目:
git clone https://github.com/steel-dev/steel-mcp-server.git cd steel-mcp-server npm install npm run build
-
配置 Claude Desktop: 编辑
~/Library/Application Support/Claude/claude_desktop_config.json
:{ "mcpServers": { "steel-puppeteer": { "command": "node", "args": ["path/to/steel-voyager/dist/index.js"], "env": { "STEEL_LOCAL": "false", "STEEL_API_KEY": "YOUR_STEEL_API_KEY_HERE", "GLOBAL_WAIT_SECONDS": "1" } } } }
-
启动 Claude Desktop - 它会自动启动 MCP 服务器
选项 B: 使用本地/自托管 Steel
-
启动本地 Steel 服务
-
克隆并构建项目:
git clone https://github.com/steel-dev/steel-mcp-server.git cd steel-mcp-server npm install npm run build
-
配置 Claude Desktop: 编辑
~/Library/Application Support/Claude/claude_desktop_config.json
:{ "mcpServers": { "steel-puppeteer": { "command": "node", "args": ["path/to/steel-voyager/dist/index.js"], "env": { "STEEL_LOCAL": "true", "STEEL_BASE_URL": "http://localhost:3000", "GLOBAL_WAIT_SECONDS": "1" } } } }
-
启动 Claude Desktop
可用工具
工具 | 描述 | 主要参数 |
---|---|---|
navigate | 导航到URL | url : 目标网址 |
search | 执行Google搜索 | query : 搜索词 |
click | 点击带编号标签的元素 | label : 标签号 |
type | 在输入框中输入内容 | label : 标签号, text : 文本内容 |
scroll_down | 向下滚动 | pixels : 可选滚动像素数 |
scroll_up | 向上滚动 | pixels : 可选滚动像素数 |
go_back | 回到上一页 | 无参数 |
wait | 等待加载 | seconds : 等待秒数(0-10) |
save_unmarked_screenshot | 保存无标记截图 | resourceName : 可选名称 |
示例任务
你可以请求 Claude 帮助完成这些任务:
- 搜索食谱并保存食材清单
- 跟踪包裹配送状态
- 比较产品价格
- 填写在线申请表
截图资源可以通过 screenshot://RESOURCE_NAME
访问。
有更多问题? 参见 MCP 设置文档