Steel MCP Server

Steel MCP Server

用于与钢铁网页浏览器交互的MCP Server。

smithery 徽章

Steel MCP 服务器让 Claude 能够通过 Puppeteer 工具在网络上导航和执行操作。基于 Web Voyager 框架,提供网页操作和截屏功能。

🚀 快速开始

先决条件

  1. 安装 Git 和 Node.js
  2. 安装 Claude Desktop
  3. (可选)自托管需要 Steel Docker 镜像
  4. (可选)Steel Cloud 需要 API 密钥

选项 A: 使用 Steel Cloud

  1. 克隆并构建项目:

    git clone https://github.com/steel-dev/steel-mcp-server.git
    cd steel-mcp-server
    npm install
    npm run build
    
  2. 配置 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"
          }
        }
      }
    }
    
  3. 启动 Claude Desktop - 它会自动启动 MCP 服务器

选项 B: 使用本地/自托管 Steel

  1. 启动本地 Steel 服务

  2. 克隆并构建项目:

    git clone https://github.com/steel-dev/steel-mcp-server.git
    cd steel-mcp-server
    npm install
    npm run build
    
  3. 配置 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"
          }
        }
      }
    }
    
  4. 启动 Claude Desktop

可用工具

工具描述主要参数
navigate导航到URLurl: 目标网址
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 设置文档