💡 摘要
该存储库托管官方 Svelte MCP 服务器,用于管理嵌入和本地开发工具。
🎯 适合人群
Svelte 开发者后端工程师数据科学家DevOps 专业人士
🤖 AI 吐槽: “看起来很能打,但别让配置把人劝退。”
安全分析中风险
风险:Medium。建议检查:是否发起外网请求(SSRF/数据外发)。以最小权限运行,并在生产环境启用前审计代码与依赖。
@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
https://local.drizzle.studio/
五维分析
清晰度7/10
创新性6/10
实用性8/10
完整性6/10
可维护性7/10
优缺点分析
优点
- 支持本地开发工具。
- 与嵌入集成以增强功能。
缺点
- 关于高级功能的文档有限。
- 需要特定的环境设置。
相关技能
免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。
版权归原作者所有 sveltejs.
