xiaozhi-bridge
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@xiaozhi-bridgeopen google.com in the browser"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
š¦ PURPCLAW v7.0 ā ULTIMATE
The AI Voice Agent MCP Bridge ā Gives your Xiaozhi AI hardware full autonomous PC control via 58 MCP tools. Built by WEEMADSCOTSMAN at Pixel Dynasty.
š New Here? Read the Full Setup Guide ā
The setup guide covers everything from buying the hardware to your first voice command. Anyone with a Xiaozhi ball can use this.
What Is This?
PURPCLAW is an MCP (Model Context Protocol) bridge that connects a Xiaozhi AI voice agent to your Windows PC. It turns a voice-enabled AI ball into a fully autonomous engineering assistant that can:
š„ļø See your screen ā Screenshots + OCR text recognition
šø See YOU ā Webcam capture, face/object detection
š Browse the web ā Playwright-powered: click links, fill forms, read pages
š Manage files ā Read, write, copy, move, delete, search, zip/extract
š±ļø Control your desktop ā Mouse clicks, keyboard typing, window management
ā¬ļø Download files ā Direct URL downloads
š¦ Install packages ā pip, npm, or choco
š Control audio ā Volume up/down/mute/set
š§ Run commands ā Shell execution with injection protection
š§ Remember things ā Persistent memory across sessions
š¦ Run AI pipelines ā Start/stop/monitor PURPCLAW build pipelines
Related MCP server: Windows MCP Server
Architecture
āāāāāāāāāāāāāāāāāāāā WebSocket āāāāāāāāāāāāāāāāāāāā
ā Xiaozhi Ball ā āāāāāāāāāāāāāāāāā ā xiaozhi_bridge ā
ā (DeepSeek V3.1) ā MCP Protocol ā v7.0.0 ā
āāāāāāāāāāāāāāāāāāāā āāāāāāāāāā¬āāāāāāāāāā
ā
āāāāāāāāāāāāāāāāāāā¼āāāāāāāāāāāāāāāāāā
ā ā ā
āāāāāāā“āāāāāā āāāāāāāā“āāāāāāā āāāāāāā“āāāāāā
ā Playwright ā ā PowerShell ā ā Python ā
ā Browser ā ā .NET APIs ā ā OpenCV ā
āāāāāāāāāāāāā āāāāāāāāāāāāāāā āāāāāāāāāāāāā58 MCP Tools
Vision (5)
Tool | Description |
| Screenshot the screen |
| Read text from screen via OCR |
| Detect objects with YOLO |
| Find image on screen (template match) |
| Get monitor sizes |
Webcam (3)
Tool | Description |
| Take a photo with PC webcam |
| Detect people/faces/objects |
| OCR text visible to camera |
Mouse & Keyboard (3)
Tool | Description |
| Click, double-click, right-click, drag |
| Scroll wheel |
| Type text or press shortcuts |
UI Automation (1)
Tool | Description |
| Find and click UI elements by text |
Window Management (3)
Tool | Description |
| List open windows |
| Focus a window by title |
| Close a window |
File System (8)
Tool | Description |
| Read file contents |
| Write/append to files |
| List directory contents |
| Search by name or content (Node.js, fast) |
| Copy files/directories |
| Move/rename files |
| Delete files (system path protected) |
| Create directories |
Browser (9) ā Playwright-Powered
Tool | Description |
| Open URL with full interaction |
| Click links/buttons by visible text |
| Type into form fields |
| Scroll pages up/down |
| Read page text content |
| Screenshot the browser |
| Navigate: goto/back/forward/reload |
| List open tabs |
| Close a tab |
Downloads (1)
Tool | Description |
| Download file from URL |
Process Management (2)
Tool | Description |
| List running processes |
| Kill process by name/PID (critical procs blocked) |
Audio (1)
Tool | Description |
| Set volume, mute/unmute, up/down |
Archives (2)
Tool | Description |
| Create zip archives |
| Extract zip archives |
Package Management (1)
Tool | Description |
| Install via pip/npm/choco |
PURPCLAW Pipeline (4)
Tool | Description |
| Start AI build pipeline |
| Stop pipeline |
| Get pipeline status |
| Read pipeline logs |
Git (1)
Tool | Description |
| Run git commands |
Communication (4)
Tool | Description |
| HTTP GET/POST/PUT/DELETE |
| Read/write clipboard |
| Text-to-speech via Kokoro TTS |
| Desktop toast notifications |
Context & System (5)
Tool | Description |
| Get focused window info |
| CPU, RAM, process overview |
| Drive space for all disks |
| IP, WiFi, internet status |
| Execute shell commands (injection-proof) |
Apps & Tasks (4)
Tool | Description |
| Launch apps by name |
| Persistent remember/recall/forget/list |
| Schedule delayed tasks |
| List scheduled tasks |
Setup
Prerequisites
Node.js 18+
Python 3.10+ with
opencv-pythonPlaywright (
npm i playwright)Xiaozhi.me account + configured agent
Install
git clone https://github.com/weemadscotsman/purpclaw.git
cd purpclaw
npm install
cp .env.example .env
# Edit .env with your Xiaozhi MCP tokenRun
# Windows (recommended)
start_xiaozhi_bridge.bat
# Or manually
set XIAOZHI_MCP_URL=wss://api.xiaozhi.me/mcp/?token=YOUR_TOKEN
node lib/xiaozhi_bridge.jsEnvironment Variables
Variable | Description |
| WebSocket URL from Xiaozhi MCP settings |
| OpenClaw WebSocket (default: |
| Bridge HTTP server (default: |
Security
Shell injection protection ā All user input is sanitized via
san()functionSystem path protection ā Cannot delete Windows/Program Files/AppData
Critical process protection ā Cannot kill explorer, csrss, lsass, svchost
Destructive command blocking ā Blocks
format, recursive system deletes, shutdownTool timeout ā Every tool has a timeout to prevent hanging
Tech Stack
Runtime: Node.js (single-process, async event loop)
Browser: Playwright (Chromium, headless: false)
Vision: Python OpenCV + Haar cascade face detection
Screen: .NET System.Drawing (fast screenshot via PowerShell)
Shell: PowerShell -NoProfile -NonInteractive (fast startup)
Protocol: MCP over WebSocket (JSON-RPC 2.0)
Built With
Created by Eddie Cannon (@weemadscotsman) ā Edinburgh, Scotland š“ó §ó ¢ó ³ó £ó “ó æ
Pixel Dynasty ā Gaming Archive & Collab Hub
NDK Threads ā ndkthreads.com
PixelBits420 ā Fair-launch cryptocurrency
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables AI agents to interact with Windows operating systems through native UI automation, file navigation, application control, and system commands. Provides seamless integration between LLMs and Windows environments for tasks like clicking, typing, launching apps, and capturing desktop state.Last updatedMIT
- Alicense-qualityAmaintenanceEnables comprehensive Windows desktop automation including screen capture, OCR text extraction, mouse/keyboard control, window management, process control, and clipboard operations through 25+ tools for AI agents.Last updated3MIT
- Alicense-qualityDmaintenanceEnables AI assistants to control Windows systems through natural language commands, providing 200+ automation tools for system control, file operations, web automation, and more.Last updated44MIT
- Flicense-qualityBmaintenanceTurns any Windows device into a remotely controllable MCP toolset, allowing a mobile AI agent to execute CLI, GUI, browser, and system commands on Windows without an API key.Last updated1
Related MCP Connectors
Real-time Amazon, search and market intelligence tools for AI agents via remote MCP.
AI Agent social network with 23 MCP tools for social, tasks, skills, and XC token economy.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/weemadscotsman/xiaozhi-bridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server