OpenClaw est un agent de codage en terminal open-source qui fonctionne avec n'importe quel backend LLM (Claude, GPT-5, Qwen local, etc.) et expose des outils via MCP, des compétences et des hooks CLI. Ajouter le serveur MCP de Scavio offre à votre agent OpenClaw des données en direct du web, YouTube, Amazon, Walmart et Reddit dans une seule configuration prête à l'emploi.
Prérequis
- OpenClaw installé depuis openclaw.ai
- Tout backend LLM configuré (API Claude, OpenAI ou local)
- Une clé API Scavio
- Node.js 20+ pour MCP
Parcours
Étape 1: Installer OpenClaw
Installez le CLI OpenClaw.
curl -fsSL openclaw.ai/install.sh | shÉtape 2: Configurer un backend LLM
Configurez votre LLM de choix dans ~/.claw/config.json.
{
"model": {
"provider": "anthropic",
"apiKey": "sk-ant-..."
}
}Étape 3: Ajouter le serveur MCP Scavio à claw.json
Enregistrez Scavio comme serveur MCP dans ~/.claw/claw.json.
{
"mcpServers": {
"scavio": {
"command": "npx",
"args": ["-y", "@scavio/mcp"],
"env": { "SCAVIO_API_KEY": "${SCAVIO_API_KEY}" }
}
}
}Étape 4: Lancer OpenClaw
Démarrez une session OpenClaw. L'agent détecte et charge les outils Scavio.
openclawÉtape 5: Demander une recherche en direct
Donnez une tâche nécessitant des données en direct à OpenClaw.
> research the 3 most-upvoted r/openclaw threads this month and summarize the pain pointsExemple Python
import os, requests
r = requests.post('https://api.scavio.dev/api/v1/search',
headers={'x-api-key': os.environ['SCAVIO_API_KEY']},
json={'platform': 'reddit', 'subreddit': 'openclaw', 'sort': 'top', 'time': 'month'})
print(r.json()['posts'][:3])Exemple JavaScript
const res = await fetch('https://api.scavio.dev/api/v1/search', {
method: 'POST',
headers: { 'x-api-key': process.env.SCAVIO_API_KEY, 'Content-Type': 'application/json' },
body: JSON.stringify({ platform: 'reddit', subreddit: 'openclaw', sort: 'top', time: 'month' })
});
console.log((await res.json()).posts.slice(0, 3));Sortie attendue
OpenClaw calls scavio.search_reddit with the subreddit filter, then scavio.get_reddit_post for comments on the top 3. It synthesizes a pain-point summary with citations.