Svelte Llm Mcp

garden.stanislav.svelte-llm由 svelte-llm.stanislav.garden 發布官方發布者v1.0.0更新於 Oct 24, 2026

An MCP server that provides access to Svelte 5 and SvelteKit documentation

已驗證Streamable HTTP可網頁執行知識與記憶開發者工具

概覽

AI 產生的概覽

遠端 MCP 端點,讓助理依需求瀏覽並讀取 Svelte 5 與 SvelteKit 文件章節。

可以做什麼
  • 列出文件章節,回傳每個章節的標題與檔案路徑
  • 依標題或檔案路徑取得一個或多個章節的完整文件內容
適用情境
在撰寫或除錯 Svelte 5、SvelteKit 程式碼時,希望助理查閱框架文件而非憑記憶作答,就很適合加入。
執行需求
需要一個基於 Streamable HTTP(舊用戶端可用 SSE)的遠端 MCP 端點;未宣告驗證、環境變數或請求標頭。README 的自架步驟提到 GitHub 權杖與 Postgres 資料庫,僅適用於在本機執行該專案。
安裝前請注意
此服務僅做文件查詢,但 README 的本機架設步驟要求具 public_repo 權限的 GitHub 權杖,並列出預設管理員密碼,應只用於開發環境且不要沿用真實憑證。查詢內容會傳送到第三方託管端點。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Svelte Llm Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/garden.stanislav.svelte-llm%2Fsvelte-llm-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "svelte-llm": {
      "type": "http",
      "url": "https://svelte-llm.stanislav.garden/mcp/mcp"
    }
  }
}

README

svelte-llm

LLM presets and MCP for Svelte 5 and SvelteKit. Visit the site at svelte-llm.stanislav.garden.

MCP Endpoint

This service provides an MCP (Model Context Protocol) endpoint for use with AI assistants:

  • Streamable HTTP (Claude Desktop and most other clients): https://svelte-llm.stanislav.garden/mcp/mcp
  • SSE (Older clients that don't support Streamable): https://svelte-llm.stanislav.garden/mcp/sse

Setup

  • Create a .env file with the content:
    GITHUB_TOKEN=DB_URL=postgres://admin:admin@localhost:5432/db
  • Create a Classic GitHub token. It must have public_repo permissions.
  • Enter this in the .env file.
  • Run docker-compose up
  • Run:
nvm usenpm inpm run dev

You can also visit http://localhost:5173/admin to see all the "hidden" endpoints (default password = "secret")

Debug MCP

NODE_TLS_REJECT_UNAUTHORIZED=0 NODE_OPTIONS="--insecure-http-parser" npx @modelcontextprotocol/inspector

http://127.0.0.1:6274

You can also use GitHub Copilot in Agent mode to try the agent locally, see .vscode/mcp.json for info on how that works.

Misc

OG image from https://dynamic-og-image-generator.vercel.app/

來源:README.md,提交 0835468

工具

2

list_sections

Lists all available Svelte 5 and SvelteKit documentation sections in a structured format. Returns sections as a list of "* title: [section_title], path: [file_path]" - you can use either the title or path when querying a specific section via the get_documentation tool. Always run list_sections first for any query related to Svelte development to discover available content.

無需輸入參數。

get_documentation

Retrieves full documentation content for Svelte 5 or SvelteKit sections. Supports flexible search by title (e.g., "$state", "routing") or file path (e.g., "docs/svelte/state.md"). Can accept a single section name or an array of sections. Before running this, make sure to analyze the users query, as well as the output from list_sections (which should be called first). Then ask for ALL relevant sections the user might require. For example, if the user asks to build anything interactive, you will need to fetch all relevant runes, and so on.

輸入參數section必填

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分