Development
Affiche Google SERP (troncature au pixel près desktop/mobile), carte X et OpenGraph avec diagnostics SEO pré-lancement
Appelez cet outil depuis votre code en trois langages.
curl -X POST 'https://api.elysiatools.com/fr/api/tools/serp-social-preview-studio' \
-H 'Content-Type: application/json' \
-d '{"title":"Best Running Shoes 2026 — Tested & Reviewed | RunLab","description":"We tested 40 running shoes for comfort, durability, and speed. See our top picks for road, trail, and racing in 2026.","url":"https://runlab.example.com/best-running-shoes-2026","ogImage":"https://runlab.example.com/og/shoes-1200x630.jpg","ogDescription":"The 2026 running shoe guide, lab-tested for every type of runner.","siteName":"RunLab","twitterCard":"summary_large_image","device":"both"}'Envoyez une requête POST avec vos entrées en JSON. Les paramètres de type fichier nécessitent un upload préalable.
POST https://api.elysiatools.com/fr/api/tools/serp-social-preview-studio| Nom | Type | Requis | Description |
|---|---|---|---|
| title | text | Oui | — |
| description | textarea | Non | — |
| url | text | Oui | — |
| ogImage | text | Non | — |
| ogDescription | textarea | Non | — |
| siteName | text | Non | — |
| twitterCard | select | Non | — |
| device | select | Non | — |
Résultat HTML
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Ajoutez cet outil à votre serveur Model Context Protocol pour que les agents IA puissent le lister et l'appeler.
Ajoutez ce bloc à la configuration de votre client MCP :
{
"mcpServers": {
"elysiatools-serp-social-preview-studio": {
"name": "serp-social-preview-studio",
"description": "Affiche Google SERP (troncature au pixel près desktop/mobile), carte X et OpenGraph avec diagnostics SEO pré-lancement",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=serp-social-preview-studio",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Après connexion au point d'accès SSE, listez les outils exposés :
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Appelez l'outil par son id ; les arguments sont construits à partir de ses paramètres :
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "serp-social-preview-studio",
"arguments": {
"title": "Best Running Shoes 2026 — Tested & Reviewed | RunLab",
"description": "We tested 40 running shoes for comfort, durability, and speed. See our top picks for road, trail, and racing in 2026.",
"url": "https://runlab.example.com/best-running-shoes-2026",
"ogImage": "https://runlab.example.com/og/shoes-1200x630.jpg",
"ogDescription": "The 2026 running shoe guide, lab-tested for every type of runner.",
"siteName": "RunLab",
"twitterCard": "summary_large_image",
"device": "both"
}
}
}Des questions ou un problème ? Contactez [email protected]