About three.ws Concierge
three.ws Concierge is an MCP server that lets AI assistants ask any website's AI concierge a question and generate embed code for adding one to a site. Answers are grounded in the page content or in supplied text. No API key is required, and the server suits users who query websites or add a concierge widget to their own pages.
Key features
- 01Answers grounded in the content of a given page
- 02Accepts supplied knowledge text as the basis for answers
- 03Generates script, web-component, npm and imperative embeds
- 04Lists available rigged 3D avatars
Use cases
- 01Asking a product page about pricing or plan details
- 02Generating embed code with brand accent and greeting for a site
- 03Choosing an avatar and configuring it in a site concierge
MCP support
The server exposes concierge_ask, concierge_embed and concierge_avatars as MCP tools, letting MCP clients ask questions, generate embed snippets and list avatars.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
npx -y @three-ws/concierge-mcpTHREE_WS_BASEBase URL of the three.ws API that serves POST /api/concierge, and the origin the generated embed snippets point at. Override only when self-hosting or targeting a preview deployment.THREE_WS_TIMEOUT_MSPer-request timeout in milliseconds for the concierge answer call. The answer streams over a free-first LLM chain that can fail over across providers, so the default leaves room for one slow rung.CONCIERGE_PAGE_TIMEOUT_MSTimeout in milliseconds for fetching a page that concierge_ask grounds its answer in. Separate from the answer timeout so a slow site cannot consume the whole call.Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
3Saved tool list · updated 2w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | No | A web page to ground the answer in. It is fetched and its readable text is harvested. |
| lang | string | No | BCP-47 language hint for the reply, e.g. "en", "es". |
| content | string | No | Raw page/document text to ground the answer in when you are not passing a url. |
| persona | string | No | Optional tone instruction for the reply, e.g. "concise and technical". |
| question | string | Yes | The question to ask, in natural language. |
| siteName | string | No | Display name of the site/product (used in the answer's framing). Inferred from the page when omitted. |
| knowledge | string | No | Curated authoritative facts (FAQ, pricing, policies) to ground the answer in. Leads over harvested page text. |
Details
From the project README@three-ws/concierge-mcp
Ask any website's AI concierge a grounded question, and generate the embed to add one to a site, from any AI assistant.
A Model Context Protocol server that puts the three.ws Concierge, the embeddable AI chat widget with a talking 3D avatar, in reach of any AI assistant over stdio.
Three tools:
| Tool | What it does | Network |
|---|---|---|
concierge_ask | Ask a website's AI concierge a question. Give it a url and it fetches that page and answers grounded in the real content (title, headings, nav, main text), the way to ask any website a question. Or pass knowledge/content to answer from text you already have. | Free three.ws lane + fetches the URL |
concierge_embed | Generate ready-to-paste embed code that adds a Concierge to a website: the one-tag <script>, the <three-concierge> web component, an npm snippet, or an imperative mount() call, configured with accent, avatar, greeting, curated knowledge, and suggested prompts. | Offline |
concierge_avatars | List the rigged 3D avatars a Concierge can wear. | Offline |
No API key, no signer, no payment. concierge_ask runs on the public, free POST /api/concierge answer lane; the other two are pure local generators.
Install
npm install @three-ws/concierge-mcp
Or run with npx (no install):
npx @three-ws/concierge-mcp
Quick start
Claude Code, one line:
claude mcp add concierge -- npx -y @three-ws/concierge-mcp
Claude Desktop / Cursor (claude_desktop_config.json or mcp.json):
{
"mcpServers": {
"concierge": {
"command": "npx",
"args": ["-y", "@three-ws/concierge-mcp"]
}
}
}
Inspect the surface with the MCP Inspector:
npx -y @modelcontextprotocol/inspector npx -y @three-ws/concierge-mcp
What you can do with it
Ask any website a question, grounded in its real content:
Use concierge_ask to answer "what does the Pro plan include?" from https://example.com/pricing
The server fetches the page, harvests its readable text, sends it to the concierge answer engine, and returns an answer that is told not to invent anything the page doesn't say.
Ask from text you already have (no URL):
concierge_ask: question = "what's the refund window?", knowledge = "Returns accepted within 30 days."
Generate a copy-paste embed for a site:
Use concierge_embed for siteName "Acme", accent "#f97316", avatar "nova", suggestions ["What is Acme?", "Pricing?"], flavor "script"
Returns the exact <script> tag to drop into the site's HTML.
Pick an avatar first:
concierge_avatars → then use the id you like as concierge_embed's
avatar
Tools in detail
concierge_ask
Read-only, open-world.
| Parameter | Type | Notes |
|---|---|---|
question | string (required) | The question, in natural language. |
url | string (url) | A page to ground the answer in. Fetched + harvested. |
siteName | string | Display name; inferred from the page when omitted. |
knowledge | string | Curated authoritative facts. Leads over harvested text. |
content | string | Raw text to ground in when you pass no url. |
persona | string | Tone instruction for the reply. |
lang | string | BCP-47 hint, e.g. en, es. |
At least one of url, knowledge, or content is required. Returns { ok, question, answer, grounded_in, provider, model, endpoint }.
concierge_embed
Read-only, idempotent, offline.
Key parameters: siteName, flavor (script | web-component | npm | imperative | all, default all), accent, avatar, customAvatar, position, theme, greeting, persona, knowledge, suggestions[], endpoint, muted, open, noPicker, noTeaser, lang. Returns { ok, flavor, snippets, applied_config, docs }. The script, web-component, and imperative snippets are all plain-HTML paste-ready (they load the CDN global build); the npm snippet is for bundler users.
concierge_avatars
Read-only, idempotent, offline. No parameters. Returns { ok, default, count, avatars, note }, each avatar carrying id, name, tagline, style, and framing.
Configuration
All optional environment variables:
| Variable | Default | Purpose |
|---|---|---|
THREE_WS_BASE | https://three.ws | API origin for the answer call + the origin the embed snippets point at. |
THREE_WS_TIMEOUT_MS | 45000 | Timeout for the concierge answer (it may fail over across LLM providers). |
CONCIERGE_PAGE_TIMEOUT_MS | 12000 | Timeout for fetching a page in concierge_ask. |
Errors
A failed tool call returns an MCP error result (isError: true) whose text is a single JSON object: { "ok": false, "error": "<code>", "message": "…" }, plus status on upstream rejections:
error | Meaning | Recovery |
|---|---|---|
bad_request | Bad arguments: no url/knowledge/content on concierge_ask, a non-http(s) url, or an unknown avatar id. | Fix the call. |
unsupported_media | The fetched url is not an HTML/text page. | Point at a readable page, or pass content. |
upstream_error | The answer endpoint rejected the request; status carries the HTTP code (429 = the free lane's IP rate limit). | Act on status; back off on 429. |
stream_error | The answer stream failed before completing. | Retry. |
timeout | No answer within THREE_WS_TIMEOUT_MS, or the page fetch outran CONCIERGE_PAGE_TIMEOUT_MS. | Retry or raise the timeout. |
network_error | The request never reached the API (DNS, offline, TLS). | Check connectivity / THREE_WS_BASE. |
bad_config | THREE_WS_TIMEOUT_MS is not a positive number. Thrown while the server starts (module load), so the process exits before serving. | Fix the env var. |
How it relates to the widget
This server is the agent-facing side of @three-ws/concierge, the browser widget. Same answer engine, same avatar catalog, same grounding model, exposed as MCP tools so an assistant can use a site's concierge or install one, not just a human visitor.
- Widget + docs: three.ws/concierge
- Reference docs: three.ws/docs/concierge
- Build tutorial: three.ws/docs/tutorials/build-a-site-concierge
Develop
npm test # node --test, offline (registration, harvest, embed, SSE parsing)
npm start # run the server over stdio
A live end-to-end check against a running three.ws (test/_manual-e2e.mjs) drives all three tools through a real stdio client; see the file header to run it.
License
Apache-2.0. See LICENSE. Free to run against the public three.ws API.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.