npm @sveltejs/mcpstreamable-httpMITupdated 8d ago
Repo for the official Svelte MCP server.
Svelte MCP 能做什么?
@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 添加到你的客户端。选择你正在使用的那个。
{
"servers": {
"mcp": {
"type": "http",
"url": "https://mcp.svelte.dev/mcp"
}
}
}Add to `.vscode/mcp.json` in your workspace.
claude mcp add mcp -- npx -y @sveltejs/mcpcodex mcp add mcp -- npx -y @sveltejs/mcpamp mcp add mcp -- npx -y @sveltejs/mcp{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@sveltejs/mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@sveltejs/mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@sveltejs/mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@sveltejs/mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@sveltejs/mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@sveltejs/mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"@sveltejs/mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @sveltejs/mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
评分
39 / 100
不完整
- 文档19/25
- 维护25/25
- 可信度16/20
- 能力0/15
- 安装体验15/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 0 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 18 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
版本历史
| 版本 | 发布于 |
|---|---|
| 0.1.26最新 | 2026年8月7日 |
| 0.1.25 | 2026年6月26日 |
| 0.1.24 | 2026年6月4日 |
| 0.1.23 | 2026年5月13日 |
| 0.1.22 | 2026年3月13日 |
| 0.1.21 | 2026年3月11日 |
| 0.1.20 | 2026年1月30日 |
| 0.1.19 | 2026年1月19日 |
| 0.1.18 | 2026年1月16日 |
| 0.1.17 | 2026年1月5日 |
| 0.1.16 | 2025年12月21日 |
| 0.1.15 | 2025年12月17日 |
| 0.1.13 | 2025年12月5日 |
| 0.1.11 | 2025年10月25日 |
| 0.1.10 | 2025年10月24日 |
| 0.1.9 | 2025年10月22日 |
| 0.1.8 | 2025年10月17日 |
| 0.1.5 | 2025年10月10日 |
| 0.1.4 | 2025年10月9日 |