التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
claude mcp add --transport http layro 'https://layropro.com/api/mcp' --header 'Authorization: <Bearer <your CLI token from layropro.com/account>. Not needed to search; needed to get code (a free account covers the free components).>'
{
"mcpServers": {
"layro": {
"type": "http",
"url": "https://layropro.com/api/mcp",
"headers": {
"Authorization": "<Bearer <your CLI token from layropro.com/account>. Not needed to search; needed to get code (a free account covers the free components).>"
}
}
}
}
الأسئلة الشائعة
ما هو Layro؟
React + Tailwind UI components and recipes your AI coding tool can search and install.
كيف أثبّت Layro؟
يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http layro 'https://layropro.com/api/mcp' --header 'Authorization: <Bearer <your CLI token from layropro.com/account>. Not needed to search; needed to get code (a free account covers the free components).>'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج Layro إلى مفتاح API؟
نعم. يتطلب Authorization، وتضبطها في إعداداته.
من يصون Layro؟
ينشره Layropro. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.