
studentofjs/svelte5-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
studentsofjs/svelte5-mcp は [https://github.com/studentofjs/svelte5-mcp.] からインポートされた MCP サーバーの候補です
概要
studentsofjs/svelte5-mcp は [https://github.com/studentofjs/svelte5-mcp.] からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
Svelte 5のフロントエンド開発のためのモデルコンテキストプロトコル(MCP)サーバーは、最新のSvelte開発のためのキュレーション知識、コード例、インテリジェントなサポートを提供し、実行、スニペット、および強化された反応を提供します。
##特徴
の ANSI検索可能なリソース
- ナレッジベース:Svelte 5のコンセプト、ラン、ベストプラクティスをカバーするQ&Aをキュレーション
- コード例:Svelte 5パターンとコンポーネントの実装の検索可能なコレクション
## # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
- [
search_knowledge- 説明とコンセプトの検索 - [
search_examples- コードパターンと実装の発見 - [
generate_with_context- キュレーションパターンを使用してコンポーネントを作成する - [
audit_with_rules- Svelte 5のベストプラクティスに対するレビューコード - [[
explain_concept] - サンプルで詳細説明を入手
リリースSmart Prompts
- [
generate-component- モダンスヴェルト5コンポーネントを生成 - [
audit-svelte5-code- 最適化機会の監査コード - [
explain-concept- 詳細なコンセプトの説明 - [
search-patterns- 特定の実装パターンを探す
インストール
プロジェクト構成
Claudeデスクトップでの使用
Claudeデスクトップの設定に追加します
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Svelte 5 MCP Server
A specialized Model Context Protocol (MCP) server for Svelte 5 frontend development, providing curated knowledge, code examples, and intelligent assistance for modern Svelte development with runes, snippets, and enhanced reactivity.
Features
🔍 Searchable Resources
- Knowledge Base: Curated Q&A covering Svelte 5 concepts, runes, and best practices
- Code Examples: Searchable collection of Svelte 5 patterns and component implementations
🛠️ Intelligent Tools
search_knowledge- Find explanations and conceptssearch_examples- Discover code patterns and implementationsgenerate_with_context- Create components using curated patternsaudit_with_rules- Review code against Svelte 5 best practicesexplain_concept- Get detailed explanations with examples
📝 Smart Prompts
generate-component- Generate modern Svelte 5 componentsaudit-svelte5-code- Audit code for optimization opportunitiesexplain-concept- Detailed concept explanationssearch-patterns- Find specific implementation patterns
Installation
# Clone and setup
git clone
cd svelte5-mcp-server
# Install dependencies
npm install
# Build the server
npm run build
# Start the server
npm start
Project Structure
svelte5-mcp-server/
├── src/
│ └── index.ts # Main MCP server implementation
├── data/
│ ├── svelte_5_knowledge.json # Curated Q&A knowledge base
│ └── svelte_5_patterns.json # Code examples and patterns
├── package.json
├── tsconfig.json
├── example system prompt # Svelte 5 specific system prompt (quite strict, adjust for your own preferences)
└── README.md
Usage with Claude Desktop
Add to your Claude Desktop configuration:
{
"mcpServers": {
"svelte5": {
"command": "node",
"args": ["/path/to/svelte5-mcp-server/dist/index.js"],
"env": {}
}
}
}
Usage Examples
🔍 Search Knowledge
Tool: search_knowledge
Query: "runes reactivity"
Returns detailed explanations about Svelte 5 runes and the new reactivity system.
📚 Find Code Examples
Tool: search_examples
Query: "counter component $state"
Returns working Svelte 5 counter implementations using the $state rune.
🏗️ Generate Components
Tool: generate_with_context
Description: "A todo list with add/remove functionality"
Features: ["$state", "snippets", "accessibility"]
Generates a complete todo component using modern Svelte 5 patterns with relevant examples from the knowledge base.
🔍 Audit Code
Tool: audit_with_rules
Code: " count++}>{count}"
Focus: "best-practices"
Analyzes code and suggests Svelte 5 improvements (e.g., using $state and modern event handling).
Key Svelte 5 Concepts Covered
🎯 Runes System
$state- Reactive state management
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"svelte5": {
"command": "node",
"args": ["/path/to/svelte5-mcp-server/dist/index.js"],
"env": {}
}
}
}