# three.ws Assistant Widget (MCP server)

> three.ws Assistant Widget is an MCP server that generates a paste-ready embed for a floating 3D avatar chatbot on any website. It has 226 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y @three-ws/assistant-mcp. It works with Claude Desktop, Claude Code, Cursor and VS Code.

Generate a paste-ready three.ws assistant widget, a floating 3D avatar chatbot for any website, from any AI agent. A Model Context Protocol server that lets any AI assistant build a paste-ready embed for the three.ws assistant widget over stdio. Describe how you want the assistant to look and behave and buildassistantwidget returns a ready-to-paste tag, a standalone frame URL for embedding, and an equivalent ThreeAssistant.init({...}) JavaScript-API snippet, a floating 3D avatar chatbot that…

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/nirholas/three.ws |
| GitHub stars | 226 |
| License | Apache-2.0 |
| Language | JavaScript |
| Transport | stdio |
| Packages | npm: @three-ws/assistant-mcp |
| Remote URL | none |
| Needs API key | no |
| Official | no |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code |
| Category | Web & browsing |
| Latest release | v1.5.2 (Sep 30, 2026) |
| Last commit | Oct 7, 2026 |
| MCP registry name | io.github.nirholas/assistant-widget |

## Install

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "three-ws-assistant-widget": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/assistant-mcp"
      ],
      "env": {
        "THREE_WS_BASE": "your-value"
      }
    }
  }
}
```

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

### Claude Code

```sh
claude mcp add --env THREE_WS_BASE=your-value --transport stdio three-ws-assistant-widget -- npx -y @three-ws/assistant-mcp
```

### Cursor (.cursor/mcp.json)

```json
{
  "mcpServers": {
    "three-ws-assistant-widget": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/assistant-mcp"
      ],
      "env": {
        "THREE_WS_BASE": "your-value"
      }
    }
  }
}
```

Project file; use ~/.cursor/mcp.json to enable it in every project.

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "three-ws-assistant-widget": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/assistant-mcp"
      ],
      "env": {
        "THREE_WS_BASE": "your-value"
      }
    }
  }
}
```

Config formats checked against the official docs on 2026-10-07.

## Environment variables

- `THREE_WS_BASE`: Origin used in the generated embed URLs (script src, frame URL, builder link). Override only when targeting a preview or self-hosted three.ws deployment.

## Tools

- `build_assistant_widget`: read-only
- `list_assistant_options`: read-only
- `avatar`: avatar id, /avatars/.glb path, or GLB URL
- `agent`: a three.ws agent id (alternative to avatar)
- `background`: transparent \
- `mode`: chat \
- `greeting`: string (≤ 200)
- `context`: string (≤ 500), what the assistant should know about the site
- `accent`: #hex
- `position`: right \
- `voice`: boolean, start with voice on/off
- `badge`: boolean, show the three.ws attribution badge

## Similar MCP servers

- [Browser Use](https://appsgit.com/mcp-servers/browser-use): Control a real Chrome browser to complete any task: fill forms, extract data, book flights. (117,307 stars, MIT, official)
- [Scrapling MCP Server](https://appsgit.com/mcp-servers/scrapling-mcp-server): Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. (86,017 stars, BSD-3-Clause)
- [Chrome DevTools MCP](https://appsgit.com/mcp-servers/chrome-devtools-mcp): MCP server for Chrome DevTools. (53,049 stars, Apache-2.0)
- [Bytedance Browser](https://appsgit.com/mcp-servers/bytedance-browser): MCP server for browser use access. (39,206 stars, Apache-2.0)
- [Bytedance Commands](https://appsgit.com/mcp-servers/bytedance-commands): An MCP server to run arbitrary commands. (39,206 stars, Apache-2.0)
- [Bytedance Search](https://appsgit.com/mcp-servers/bytedance-search): MCP server for web search operations. (39,206 stars, Apache-2.0)

---

Canonical page: https://appsgit.com/mcp-servers/three-ws-assistant-widget
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
