السجل، جوه محررك
وصّل Cursor أو Claude Code أو Windsurf أو أي عميل MCP، وركّب المكوّنات بمجرد وصفها.
1
أضف السيرفر لإعدادات MCP
استنسخ المستودع، وبعدين وجّه عميل MCP لملف mcp/index.js. المتطلب الوحيد هو Node 20 أو أحدث.
mcp.json
{
"mcpServers": {
"templets": {
"command": "node",
"args": [
"/absolute/path/to/templets/mcp/index.js"
],
"env": {
"TEMPLETS_URL": "https://templets.169.58.65.43.sslip.io/"
}
}
}
}السيرفر لسه مش منشور على npm، فبيشتغل من نسخة محلية بدل npx.
2
أعد تشغيل المحرر
3
اطلب الواجهة اللي عايزها
you › add an animated pricing table with a monthly/yearly switch
agent › searching the Templets registry…
agent › installing pricing-switch → components/ui/pricing-switch.tsx
agent › searching the Templets registry…
agent › installing pricing-switch → components/ui/pricing-switch.tsx
الأدوات المتاحة
search_componentsالبحث في السجل بلغة طبيعية
get_componentجلب مكوّن بكوده واعتمادياته
install_componentكتابة ملفات المكوّن مباشرة في مشروعك
list_categoriesنشر مكوّن من غير ما تسيب المحرر
Registry endpoints
These are plain shadcn registry documents — the CLI installs them directly with npx shadcn@latest add <url>.