MCP 服务器

SvGrid

com.svgrid/svgrid
开发者工具 知识与文档 公开且可连接 MCP 2026-07-28

此 MCP 可以做什么

Validates SvGrid and Svelte 5 code against versioned APIs and rules, and provides searchable documentation and working examples.

check_svgrid_code
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', 'required': ['source'], '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".'}}}
fetch
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', 'required': ['id'], 'properties': {'id': {'type': 'string', 'description': 'A doc slug, or "demo:<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': {}}
get_example_source
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', 'required': ['id'], 'properties': {'id': {'type': 'string', 'description': 'Demo id, e.g. "11-stock-market".'}}}
list_examples
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': {'limit': {'type': 'number', 'default': 25, 'description': 'Max results, default 25, max 100.'}, 'query': {'type': 'string', 'description': 'Free-text filter over id, title, blurb and category.'}, 'category': {'type': 'string', 'description': 'Exact category, e.g. "Kanban".'}}}
search
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', 'required': ['query'], 'properties': {'limit': {'type': 'number', 'default': 10, 'description': 'Max results, default 10, max 25.'}, 'query': {'type': 'string', 'description': 'What you are looking for, e.g. "row virtualization".'}}}
已添加
check_svgrid_code
2026年9月17日 12:37
已添加
get_api_reference
2026年9月17日 12:37
已添加
get_example_source
2026年9月17日 12:37
已添加
list_examples
2026年9月17日 12:37
已添加
fetch
2026年9月17日 12:37
已添加
search
2026年9月17日 12:37