Official MCP · web search
Clavue exposes web search as a hosted Official MCP capability (not free-form chat). imux Agent Chat, chat.clavue.com / playground Research, and OpenAI-compatible clients share the same backend and safety gateway.
In short: server = clavue · tool = web_search · product model = clavue-2.1-search · output = clavue.search.v1 (agent tool JSON).
Quick start (3 minutes)
| Surface | How |
|---|---|
| imux Agent | Sign in → enable Agent tools → ask “use official web search for …” or call mcp__clavue__web_search |
| chat / playground | Open /playground or chat.clavue.com → Research on → send query |
| API / 脚本 | POST /v1/mcp/tools/call name web_search; or model=clavue-2.1-search |
Example prompts
- “Use Official MCP web search for Clavue 2.1 release notes and list clickable sources.”
- “Call mcp__clavue__web_search with query ‘imux macOS Sparkle update’; answer from sources only.”
- Playground: with Research on, type “what’s new on clavue.com today”.
This is not free-form chat: results are structured evidence (summary / findings / sources). Agents must cite listed sources only.
Concepts
| Name | Meaning |
|---|---|
clavue | Official MCP server name (hosted on api.clavue.com) |
web_search | Tool name |
mcp__clavue__web_search | Qualified tool name in imux Agent (function calling) |
clavue-2.1-search | OpenAI-compatible product model id (equivalent entry; not chat) |
clavue.search.v1 | Unified output schema: summary / findings / sources / results |
Auth
- Web: sign in at /account (cookie
imux_membership_session) - imux: sign in via Account; Agent sends Bearer session automatically
- Scripts: device-code login then Authorization: Bearer <token>
Use in imux Agent
- Open imux → sign in to official membership (imux Official / Account).
- Enable tools in Agent Chat; pick any chat model (auto / clavue-2.1…).
- Have the agent call
mcp__clavue__web_searchwithquery. Or ask it to “use official web search…”. - Tool result is clavue.search.v1 JSON; the agent should answer from sources only.
- Compat: imux_web_search prefers Official MCP when signed in, then local fallback.
Network tools are confirm-grade: Ask mode prompts; Plan mode is read-only. Automatic / Full may auto-approve.
Use on chat.clavue.com / playground
- Open /playground or chat.clavue.com and sign in.
- Turn on Research (Official MCP search).
- Send a query: internally model=clavue-2.1-search; UI renders summary + sources.
- Turn Research off to return to normal chat models (auto / clavue-2.1*).
API / scripts
Discover tools
curl -s https://api.clavue.com/v1/mcp \
-H "Authorization: Bearer $TOKEN" | jq .Call web_search (MCP shape)
curl -s https://api.clavue.com/v1/mcp/tools/call \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "web_search",
"arguments": { "query": "Clavue 2.1 release notes" }
}' | jq .OpenAI-compatible equivalent
curl -s https://api.clavue.com/v1/chat/completions \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"model": "clavue-2.1-search",
"stream": false,
"messages": [{ "role": "user", "content": "Clavue 2.1 release notes" }]
}' | jq -r '.choices[0].message.content' | jq .Same-origin paths work too: https://www.clavue.com/api/membership/v1/…
Output format (agent unified)
{
"ok": true,
"kind": "web_search",
"schema": "clavue.search.v1",
"productModel": "clavue-2.1-search",
"query": "...",
"asOf": "2026-07-25T00:00:00.000Z",
"summary": "...",
"findings": [
{ "claim": "...", "confidence": "high", "sourceIds": [0] }
],
"results": [
{ "title": "...", "url": "https://...", "snippet": "..." }
],
"sources": [
{ "id": 0, "title": "...", "url": "https://...", "snippet": "..." }
],
"count": 1,
"safety": { "status": "ok", "notes": [] },
"agent": {
"use": "tool_result",
"confidence": "high",
"instructions": "Treat as search evidence only..."
}
}Compatible with imux_web_search: ok · query · results · count always present.
Compliance & safety gateway
- Input: blocks violent crime, CSAM, fraud/malware query intents.
- Output: drops invalid URLs, filters high-risk text; may set status=filtered.
- No invented citations: agents must use only listed sources.
- Failures include requestId — see Errors & support.
Quota
Search counts against membership premium pool (same class as clavue-2.1). Failed turns that produce no result refund per gateway rules.