Development
Generate Open Graph meta tags for social media sharing and rich snippets
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/open-graph-generator' \
-H 'Content-Type: application/json' \
-d '{"title":"Enter page title...","description":"Enter page description (recommended: 150-200 characters)","url":"https://example.com/page","imageUrl":"https://example.com/image.jpg (recommended: 1200x630px)","type":"website","siteName":"Your Website Name","locale":"en_US","includeTwitterCard":true,"twitterUsername":"@yourusername (without @)","includeFacebook":true,"includeLinkedIn":false,"includeBasicMeta":true,"additionalProperties":"key:value, key:value (e.g., og:audio:audio.mp3, article:published_time:2024-01-01)"}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/open-graph-generator| Name | Type | Required | Description |
|---|---|---|---|
| title | text | Yes | — |
| description | textarea | No | — |
| url | text | No | — |
| imageUrl | text | No | — |
| type | select | No | — |
| siteName | text | No | — |
| locale | text | No | — |
| includeTwitterCard | checkbox | No | — |
| twitterUsername | text | No | — |
| includeFacebook | checkbox | No | — |
| includeLinkedIn | checkbox | No | — |
| includeBasicMeta | checkbox | No | — |
| additionalProperties | textarea | No | — |
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-open-graph-generator": {
"name": "open-graph-generator",
"description": "Generate Open Graph meta tags for social media sharing and rich snippets",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=open-graph-generator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "open-graph-generator",
"arguments": {
"title": "Enter page title...",
"description": "Enter page description (recommended: 150-200 characters)",
"url": "https://example.com/page",
"imageUrl": "https://example.com/image.jpg (recommended: 1200x630px)",
"type": "website",
"siteName": "Your Website Name",
"locale": "en_US",
"includeTwitterCard": true,
"twitterUsername": "@yourusername (without @)",
"includeFacebook": true,
"includeLinkedIn": false,
"includeBasicMeta": true,
"additionalProperties": "key:value, key:value (e.g., og:audio:audio.mp3, article:published_time:2024-01-01)"
}
}
}Questions or issues? Contact [email protected]