← 返回
安全合规 Key 中文

Bits Browser Automation

Control browser automation agents via the Bits MCP server. Use when running web scraping, form filling, data extraction, or any browser-based automation task. Bits agents can navigate websites, click elements, fill forms, handle OAuth flows, and extract structured data.
通过 Bits MCP 服务器控制浏览器自动化代理。适用于网页抓取、表单填写、数据提取等浏览器自动化任务。Bits 代理可浏览网站、点击元素、填写表单、处理 OAuth 流程及提取结构化数据。
robbiethompson18
安全合规 clawhub v1.0.0 1 版本 99662.8 Key: 需要
★ 0
Stars
📥 2,660
下载
💾 0
安装
1
版本
#latest

概述

Bits MCP - Browser Automation

Bits is an AI browser automation platform. The MCP server lets you run browser automation tasks from your AI assistant.

Setup

1. Get an API Key

  1. Go to app.usebits.com
  2. Sign in with Google
  3. Navigate to Settings → API Keys
  4. Click Create API Key, give it a name
  5. Copy the key (starts with bb_) — you won't see it again

2. Configure MCP

Add to your MCP config (e.g., ~/.openclaw/openclaw.json):

{
  "mcpServers": {
    "bits": {
      "command": "npx",
      "args": ["-y", "usebits-mcp"],
      "env": {
        "BITS_API_KEY": "bb_your_key_here"
      }
    }
  }
}

For Claude Code (~/.claude.json):

{
  "mcpServers": {
    "bits": {
      "command": "npx",
      "args": ["-y", "usebits-mcp"],
      "env": {
        "BITS_API_KEY": "bb_your_key_here"
      }
    }
  }
}

3. Restart

Restart your gateway/client to pick up the new MCP server.

Usage

The Bits MCP uses "Code Mode" — you write TypeScript SDK code that executes in a sandbox. Two tools are available:

  1. Documentation search — Query the SDK docs
  2. Code execution — Write and run TypeScript against the Bits SDK

Example: Scrape a Website

Use the Bits MCP to go to news.ycombinator.com and get the top 5 story titles

The agent will:

  1. Search docs for navigation/scraping methods
  2. Write TypeScript code to navigate and extract data
  3. Execute it and return results

Example: Fill a Form

Use Bits to go to example.com/contact, fill out the contact form with name "Test" and email "test@example.com", then submit

Example: Extract Structured Data

Use Bits to scrape the product listings from example-store.com/products and return them as JSON with name, price, and URL fields

Capabilities

  • Navigate — Go to URLs, handle redirects
  • Read pages — Extract text, get page layouts, take screenshots
  • Interact — Click elements, fill inputs, press keys
  • Handle auth — OAuth popups, login forms, 2FA (with stored credentials)
  • Multi-window — Switch between tabs/popups
  • Structured output — Return data in specific JSON schemas

Creating Workflows (Optional)

For repeated tasks, create a workflow in the Bits web app:

  1. Go to app.usebits.comWorkflows
  2. Create a workflow with a definition (instructions for the agent)
  3. Optionally add an output schema for structured responses
  4. Run via API: POST /workflows/{id}/runs

Troubleshooting

"API key invalid" — Check your key starts with bb_ and is copied correctly.

Slow startup — First run downloads the MCP package via npx. Subsequent runs are faster.

Task stuck — Browser automation can hit CAPTCHAs or unexpected modals. Check the live view URL in the response.

Links

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 14:30 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,210 📥 266,150
ai-intelligence

AgentTunnel

robbiethompson18
代理间消息传递,分享链接即可开始聊天。
★ 0 📥 684
security-compliance

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 89 📥 30,586