SS

studentofjs/svelte5-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

65 stars 8 forks 품질 56 트렌드 0

studentofjs/svelte5-mcp는 MCP 서버 후보가 https://github.com/studentofjs/svelte5-mcp.에서 수입됩니다

개요

studentofjs/svelte5-mcp는 MCP 서버 후보가 https://github.com/studentofjs/svelte5-mcp.에서 수입됩니다

개요(AI 번역)

Svelte 5 프론트 엔드 개발을위한 전문 모델 콘텍스 프로토콜 (MCP) 서버, curated 지식, 코드 예제 및 현대 Svelte 개발을위한 지능형 지원, 스포펫 및 향상된 반응성.

특징

. … 검색 가능한 자원**

  • Knowledge Base: Svelte 5 개념, 실행 및 모범 사례를 다루는 큐레이트 Q&A -Code 예제: Svelte 5 패턴 및 구성 요소 구현의 검색 가능한 컬렉션

️Intelligent 도구

  • search_knowledge - 설명과 개념 찾기
  • search_examples - 코드 패턴과 구현을 발견
  • generate_with_context - curated 패턴을 사용하여 구성품 만들기
  • audit_with_rules - Svelte 5 모범 사례에 대한 리뷰 코드
  • explain_concept - 예제와 자세한 설명 얻기

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

  • generate-component - 현대 Svelte 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 concepts
  • search_examples - Discover code patterns and implementations
  • generate_with_context - Create components using curated patterns
  • audit_with_rules - Review code against Svelte 5 best practices
  • explain_concept - Get detailed explanations with examples

📝 Smart Prompts

  • generate-component - Generate modern Svelte 5 components
  • audit-svelte5-code - Audit code for optimization opportunities
  • explain-concept - Detailed concept explanations
  • search-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
GitHub에서 전체 README 보기

설치

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": {} } } }