Svelte MCP
The official Svelte MCP server providing docs and autofixing tools for Svelte development
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
claude mcp add --transport http svelte-mcp 'https://mcp.svelte.dev/mcp'
{
"mcpServers": {
"svelte-mcp": {
"type": "http",
"url": "https://mcp.svelte.dev/mcp"
}
}
}
@sveltejs/mcpclaude mcp add svelte-mcp -- npx -y @sveltejs/mcp@0.1.28
{
"mcpServers": {
"svelte-mcp": {
"command": "npx",
"args": [
"-y",
"@sveltejs/mcp@0.1.28"
]
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
@sveltejs/mcp
Repo for the official Svelte MCP server.
Dev setup instructions
pnpm i
cp apps/mcp-remote/.env.example apps/mcp-remote/.env
pnpm dev
- Set the VOYAGE_API_KEY for embeddings support
[!NOTE] Currently to prevent having a bunch of Timeout logs on vercel we shut down the SSE channel immediately. This means that we can't use
server.logand we are not sendinglist-changednotifications. We can use elicitation and sampling since those are sent on the same stream of the POST request
Local dev tools
MCP inspector
pnpm run inspect
Then visit http://localhost:6274/
- Transport type:
Streamable HTTP - http://localhost:5173/mcp
Database inspector
pnpm run db:studio
الأسئلة الشائعة
ما هو Svelte MCP؟
The official Svelte MCP server providing docs and autofixing tools for Svelte development
كيف أثبّت Svelte MCP؟
يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http svelte-mcp 'https://mcp.svelte.dev/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج Svelte MCP إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
هل Svelte MCP مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون Svelte MCP؟
ينشره sveltejs. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.