HTML to Image
Render HTML and CSS to PNG images over HTTP. Send HTML and CSS and get a PNG back.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
claude mcp add --transport http html-to-image 'https://app.html2img.com/mcp' --header 'Authorization: <Your HTML to Image API key as a bearer token, for example '\''Bearer htim_...'\''. Create one in your html2img.com dashboard.>'
{
"mcpServers": {
"html-to-image": {
"type": "http",
"url": "https://app.html2img.com/mcp",
"headers": {
"Authorization": "<Your HTML to Image API key as a bearer token, for example 'Bearer htim_...'. Create one in your html2img.com dashboard.>"
}
}
}
}
الأسئلة الشائعة
ما هو HTML to Image؟
Render HTML and CSS to PNG images over HTTP. Send HTML and CSS and get a PNG back.
كيف أثبّت HTML to Image؟
يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http html-to-image 'https://app.html2img.com/mcp' --header 'Authorization: <Your HTML to Image API key as a bearer token, for example '\''Bearer htim_...'\''. Create one in your html2img.com dashboard.>'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج HTML to Image إلى مفتاح API؟
نعم. يتطلب Authorization، وتضبطها في إعداداته.
من يصون HTML to Image؟
ينشره com.html2img. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.