SvGrid

Checks AI-written SvGrid code against the real API, plus version-pinned Svelte 5 grid docs.

我该使用它吗

质量与安全性

A
描述质量
97%
模式完整度
87%
命名质量
100%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~662token 数(工具定义)
~530 B典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.52%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "svgrid": {
      "command": "npx",
      "args": [
        "@svgrid/mcp"
      ]
    }
  }
}

可运行的软件包

npm@svgrid/mcp3.0.1stdio

远程端点

https://mcp.svgrid.com/mcpstreamable-http

它能做什么

工具清单

工具(6)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢search(query, limit)

Ranked full-text search across the SvGrid documentation and demo catalogue. Returns the best pages first with an excerpt and an id you pass to `fetch`. Use this before writing SvGrid code so the API names come from the docs rather than from memory.

输入模式

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "What you are looking for, e.g. \"row virtualization\"."
    },
    "limit": {
      "type": "number",
      "description": "Max results, default 10, max 25.",
      "default": 10
    }
  },
  "required": [
    "query"
  ]
}
🟢fetch(id)

Return the full text behind a search result. Pass a doc slug ("help/columns/column-definitions") or a demo id prefixed with "demo:" ("demo:11-stock-market").

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "A doc slug, or \"demo:<id>\"."
    }
  },
  "required": [
    "id"
  ]
}
🟢list_examples(query, category, limit)

Browse the SvGrid demo catalogue: id, title, category and a one-line blurb. Call with no arguments for the category index, then filter with `query` or `category`, then read one with get_example_source.

输入模式

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Free-text filter over id, title, blurb and category."
    },
    "category": {
      "type": "string",
      "description": "Exact category, e.g. \"Kanban\"."
    },
    "limit": {
      "type": "number",
      "description": "Max results, default 25, max 100.",
      "default": 25
    }
  }
}
🟢get_example_source(id)

Return the full .svelte source of one demo by id (e.g. "11-stock-market") - working code to copy, not a summary of it.

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Demo id, e.g. \"11-stock-market\"."
    }
  },
  "required": [
    "id"
  ]
}
🟢get_api_reference

The SvGrid public API grouped by category (components, headless, scheduler, data ops, export, row models, features, virtualization, accessibility, utilities), for the version this server tracks.

输入模式

{
  "type": "object",
  "properties": {}
}
🟡check_svgrid_code(source, filename)

Verify SvGrid code BEFORE handing it to the user. Checks the source against the real exported surface of the current version - <SvGrid> prop names, ColumnDef keys, grid API methods, importable symbols and theme files - plus Svelte 5 runes rules, and returns line-numbered diagnostics with the exact replacement for each. Run it on every file you write that uses SvGrid, fix what it reports, and run it again.

输入模式

{
  "type": "object",
  "properties": {
    "source": {
      "type": "string",
      "description": "The full file contents to check."
    },
    "filename": {
      "type": "string",
      "description": "File name, used to pick which rules apply. Defaults to \"Component.svelte\"."
    }
  },
  "required": [
    "source"
  ]
}

社区

评价此服务器

证据

最近观测

已验证未记录版本6 个工具
已验证未记录版本6 个工具
已验证未记录版本6 个工具