About Sv Grid
Sv Grid is an MCP server published by sv-grid in the Healthcare category: native Svelte 5 data grid. Headless-first engine + drop-in render component. Row + column virtualization (1M rows), Excel-style filters, inline editing, grouping, pivot, server-side data. MIT core (@svgrid/grid), MCP server for Claude / Cursor. https://svgrid.com. Conduid read 34 tools from its source: studio_add_block, studio_add_component, studio_add_entity, studio_add_screen, studio_apply, studio_build and 28 more. No package is published for it, so it installs from a source checkout.
The repository has 172 stars and 7 forks, and its last commit was on 1 Dec 2026. The latest release is grid-v3.0.29 (30 Oct 2026): Selection and Delete at millions of rows Ticking the header checkbox on a 10,000,000-row server-side grid took 10-16 s; it now takes 37 ms. It follows grid-v3.0.27 (28 Oct 2026), and the 5 most recent releases go back to v3.0.0 (17 Sep 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include ag-grid-alternative, datatable, filtering, grid, grouping and headless.
Install
git clone https://github.com/sv-grid/sv-gridTools (34)
studio_add_blockAdd a data block to a screen. `kind` is one of the palette kinds (grid, chart, kpi, gauge, tree, tabs, accordion, pivot, board, calendar, detail, master-detail, filter, record, lookup, dashboard). Use studio_describe_project for screen ids.| Parameter | Type | Description |
|---|---|---|
| kind * | string | Block kind. |
| screenId * | string |
studio_add_componentAdd a UI component block to a screen (button, badge, alert, card, stat, timeline, sparkline, chip, ...). `props` overrides the registry defaults. See studio_capabilities for component keys.| Parameter | Type | Description |
|---|---|---|
| component * | string | Registry component key. |
| props | object | Prop overrides (incl. _content for text). |
| screenId * | string |
studio_add_entityAdd an entity (a table/model) + its default screen. Pass either `schema` (an EntitySchema, e.g. from introspect_source) OR an introspection request (`kind`:"drizzle" with `source`, or `kind`:"json" with `rows` + `name`).| Parameter | Type | Description |
|---|---|---|
| kind | string | Introspect a source instead of passing a schema. |
| name | string | For kind:"json": the entity name. |
| rows | array | For kind:"json": sample rows. |
| schema | object | An EntitySchema. |
| source | string | For kind:"drizzle": the schema file text. |
studio_add_screenAdd a screen. With `entity`, adds an entity-bound screen (default grid). Without it, adds a freestanding page (needs `title`).| Parameter | Type | Description |
|---|---|---|
| entity | string | Entity name to bind (omit for a freestanding page). |
| route | string | Route segment (freestanding only). |
| title | string | Title (required for a freestanding page). |
studio_applySvGrid Studio (commercial): change the project model. Takes a BATCH of operations applied in order, so a whole screen is one call rather than six. Each op is { op, ...args } where op is one of:| Parameter | Type | Description |
|---|---|---|
| ops * | array | Operations to apply in order. |
studio_buildSvGrid Studio (commercial): `validate` reports codegen errors and warnings for the current project; `generate` emits the full runnable SvelteKit app - every route, $lib module, package.json and config. Validate first: generate on an invalid project wastes a large response.| Parameter | Type | Description |
|---|---|---|
| action * | string |
studio_capabilitiesList what can be added: block kinds (grid/chart/kpi/board/...), UI component keys (button/badge/timeline/...), theme presets, data-source kinds, and deploy targets.studio_configureSvGrid Studio (commercial): set project-wide options. Pass any combination of:studio_describe_projectReturn a human-readable summary of the CURRENT project: entities (+ fields + data source), screens (+ blocks, with ids), theme, RBAC, auth, data layer, deploy target. Call this to see state before editing.studio_generate_appGenerate the full runnable SvelteKit app from the current model - every file (routes, $lib, package.json, auth, data layer, CI/CD, studio.config.json). Returns [{ path, contents }]. Write them, then run the project's svelte-check to verify.studio_get_configReturn the current project model as a studio.config.json string. Write it to `studio.config.json` and the visual designer can Load it (round-trip).studio_load_projectLoad an existing project from a studio.config.json string (e.g. one exported earlier or shipped with a generated app). Validates it. Use this to continue editing an app the designer produced.| Parameter | Type | Description |
|---|---|---|
| config * | string | The studio.config.json contents. |
studio_move_blockReorder a block within its screen: `dir` -1 moves it earlier, 1 later.| Parameter | Type | Description |
|---|---|---|
| blockId * | string | |
| dir * | number | |
| screenId * | string |
studio_new_projectStart a NEW, empty SvGrid Studio project (the model the visual designer edits). Add entities/screens next. Replaces any project currently in this session.| Parameter | Type | Description |
|---|---|---|
| title | string | App title. |
studio_projectSvGrid Studio (commercial): open or inspect the project model. `new` starts an empty one, `load` parses a studio.config.json string, `describe` summarises the current project (entities, screens, blocks, ids), `config` returns it as studio.config.json, `capabilities` lists the block kinds, UI components, themes and data sources you can use. Call `capabilities` before `studio_apply` so you use real names.| Parameter | Type | Description |
|---|---|---|
| action * | string | |
| config | string | For action "load": a studio.config.json string. |
| title | string | For action "new": the project title. |
studio_remove_blockRemove a block from a screen. Get ids from studio_describe_project.| Parameter | Type | Description |
|---|---|---|
| blockId * | string | |
| screenId * | string |
studio_remove_screenRemove a screen (and its blocks) from the project.| Parameter | Type | Description |
|---|---|---|
| screenId * | string |
studio_set_accessConfigure role-based access control (RBAC). `roles` is an array of { role, screens: "*"|string[], actions: "*"|("create"|"update"|"delete")[] }.| Parameter | Type | Description |
|---|---|---|
| defaultRole | string | |
| enabled * | boolean | |
| roles | array |
studio_set_authConfigure the authentication starter. Options: enabled, protect, register, userAdmin, twoFactor, email, oauth (["github","google","oidc"]). register/userAdmin/oauth/2FA need the Drizzle data layer + a SQL entity; userAdmin also needs RBAC.| Parameter | Type | Description |
|---|---|---|
| boolean | ||
| enabled * | boolean | |
| oauth | array | |
| protect | boolean | |
| register | boolean | |
| twoFactor | boolean | |
| userAdmin | boolean |
studio_set_data_layerTurn the typed Drizzle data layer (schema.ts + typed repos + drizzle-kit migrations) on or off. Applies to SQL-bound entities.| Parameter | Type | Description |
|---|---|---|
| enabled * | boolean |
studio_set_deploy_targetSet the deploy target: auto | vercel | netlify | cloudflare | node. Picks the SvelteKit adapter + emits provider config + a CI/CD pipeline.| Parameter | Type | Description |
|---|---|---|
| target * | string |
studio_set_entity_sourceBind an entity to a data source. `source` is an EntityDataSource, e.g. { "kind": "sql", "table": "customers", "dialect": "postgres" } | { "kind": "memory" } | { "kind": "pglite", "table": "..." } | { "kind": "supabase", ... } | { "kind": "rest", ... }.| Parameter | Type | Description |
|---|---|---|
| entity * | string | |
| source * | object | The EntityDataSource. |
studio_set_field_conditionsMake a form field value-driven: `visible`, `required`, and `disabled` conditions, each a PredicateExpr over the other fields, e.g. { "kind": "cmp", "column": "status", "op": "equals", "value": "cancelled" }. A field hidden by `visible` is skipped by validation and left out of the saved record; `required` REPLACES the field's static required flag (so it can make a required field optional too). Pass a condition as null to clear it, or omit every condition to clear all three. Conditions are data, so they generate into the app and re-run server-side.| Parameter | Type | Description |
|---|---|---|
| disabled | any | PredicateExpr, or null to clear. |
| entity * | string | |
| field * | string | |
| required | any | PredicateExpr, or null to clear. |
| visible | any | PredicateExpr, or null to clear. |
studio_set_form_layoutArrange an entity's create/edit form: column count and titled sections. `sections` is an array of { title?, description?, columns?: 1|2|3, fields: string[], visibleWhen?: PredicateExpr }; `fields` gives both the grouping and the order, and a field left out of every section still renders in a trailing untitled group. Omit `sections` and pass "suggest": true to have them proposed from the field names. The layout lives on the entity, so it renders the same in the edit panel, the generated app, and a server-rendered form.| Parameter | Type | Description |
|---|---|---|
| columns | number | |
| entity * | string | |
| sections | array | The FormSection list. Replaces the current one. |
| suggest | boolean | Propose sections from the field names instead of passing them. |
studio_set_jobAdd, replace, or remove a scheduled background job. Emits a secret-guarded /api/cron route plus the schedule config for the deploy target (vercel.json crons on Vercel, a GitHub Actions schedule elsewhere). `kind`:"email" sends a summary of `entity` to `to` (needs auth email enabled); `kind`:"code" runs a body you supply. Omit `cron` to REMOVE the job.| Parameter | Type | Description |
|---|---|---|
| code | string | code: the handler body (TypeScript). |
| cron | string | 5-field cron in UTC, e.g. '0 6 * * *'. Omit to remove the job. |
| enabled | boolean | Default true. A disabled job keeps its handler but is skipped by the scheduled run. |
| entity | string | email: entity to summarize. |
| id * | string | Stable job id. |
| kind | string | |
| name | string | Human label. |
| subject | string | email: subject line (defaults to the job name). |
| to | string | email: recipient address. |
studio_set_screen_layoutSet how a screen arranges its blocks: grid (12-column, default) | stack (single column) | split (locked resizable panes) | dock (draggable/tabbable workspace) | canvas (free-form cell placement).| Parameter | Type | Description |
|---|---|---|
| layout * | string | |
| screenId * | string |
studio_set_tenancyTurn multi-tenancy on/off: every row is scoped to the signed-in user's tenant, enforced SERVER-side in each API route (reads filtered, creates stamped, update/delete ownership-checked). Requires auth + the Drizzle data layer + a SQL entity; without them it degrades to off. `sharedEntities` stay global (reference/lookup tables every tenant reads).| Parameter | Type | Description |
|---|---|---|
| enabled * | boolean | |
| field | string | Scoping column. Default 'tenantId'. |
| sharedEntities | array | Entities to leave global. |
studio_set_themeSet the theme preset + mode + accent. Presets come from studio_capabilities.| Parameter | Type | Description |
|---|---|---|
| accent | string | Hex accent color. |
| mode | string | |
| preset | string |
studio_update_blockConfigure an EXISTING block: its config (columns, editing mode, export buttons, grouping, chart dimension/measure, rowLink, formatRules, ...), its width (span/colSpan), height, or CSS class. `config` is merged into the block's current config. Get block ids from studio_describe_project. This is how you configure a block after studio_add_block, which only adds a default one.| Parameter | Type | Description |
|---|---|---|
| blockId * | string | |
| className | string | |
| colSpan | number | Width on the 12-column grid (1-12). |
| config | object | Partial BlockConfig, merged in. Grid example: { "editing": "inline", "export": { "xlsx": true }, "grouping": ["region"] }. |
| height | number | Block height in px. |
| screenId * | string | |
| span | number | Legacy 3-col width. |
studio_update_screenUpdate a screen: title, route, nav entry, CSS class, or `renderMode`. Set renderMode "ssr" to emit idiomatic SvelteKit (a +page.server.ts `load` + form `actions`, progressive enhancement) instead of the client-fetch SPA page; it applies to memory/sql-backed screens (and REST on an absolute URL) whose blocks are a single grid or read-only blocks, and falls back to "spa" otherwise. Generated apps start qualifying screens as "ssr"; set "spa" to keep one client-rendered.| Parameter | Type | Description |
|---|---|---|
| className | string | |
| nav | object | { show?: boolean, label?: string }. |
| renderMode | string | Output shape for this screen. |
| route | string | |
| screenId * | string | |
| title | string |
studio_validateValidate the current project. Returns any errors (block codegen) + warnings.svgrid_getFetch one thing in full by reference: a doc slug ("help/columns/column-definitions"), a demo id ("11-stock-market"), or "api" for the curated API reference. Use svgrid_search first to find the reference.| Parameter | Type | Description |
|---|---|---|
| detail | string | "full" (default) returns the whole thing; "concise" truncates long content. |
| kind | string | Override the inferred kind. Default "auto". |
| ref * | string | A doc slug, a demo id, "api", or a schema id such as "chart-spec" (or "chart spec schema"). The kind is inferred; pass `kind` to force it. |
svgrid_previewRender a REAL, interactive SvGrid in the conversation - sortable, filterable, scrollable - from columns and rows you pass, or from a demo id. Use it to show the user what a grid will look like before they build it, and after svgrid_check_code to demonstrate the result. In clients without UI support it returns a text summary instead, so it is always safe to call.| Parameter | Type | Description |
|---|---|---|
| columns | array | Column definitions, e.g. [{ "field": "name", "header": "Name", "width": 160 }]. Required unless `demo` is set. |
| data | array | Rows to display. Required unless `demo` is set. Keep it under a few hundred for a preview. |
| demo | string | Preview a shipped demo instead, by id (e.g. "11-stock-market"). Its source is returned as text; find ids with svgrid_search. |
| filterable | boolean | Filtering. Default true. |
| groupBy | array | Group by these column ids. |
| pageable | boolean | Pagination footer. |
| sortable | boolean | Sortable headers. Default true. |
| title | string | Caption shown above the grid. |
svgrid_searchSearch SvGrid docs, example demos and the API surface in ONE call. Start here for any "how do I ..." question - it covers all three, so you do not have to guess which one holds the answer. Call with no arguments for an index of doc sections, demo categories and API groups. Returns ids/slugs you can pass to svgrid_get.| Parameter | Type | Description |
|---|---|---|
| category | string | Restrict demos to one category, exactly, e.g. "Kanban". Call with no arguments to see the categories. |
| detail | string | "concise" (default) returns titles plus a short excerpt. "full" returns the matching doc excerpts at length - more tokens, fewer follow-up calls. |
| kind | string | Restrict the search. Default "all". |
| limit | number | Max results per corpus. Default 10, max 50. |
| query | string | What you are trying to do, e.g. "pin a column", "server side pagination", "kanban swimlanes". Omit for the index. |
| section | string | Restrict docs to one section, exactly, e.g. "Help". Call with no arguments to see the sections. |
Security checks
- ✓README presentThe repository's README runs to about 2.0K words.
- ✓License declaredUsable under a stated license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
2 checks have not been run yet.
Releases
README
The repository's README runs to about 2.0K words, fetched 13 days ago. The original in the repository is authoritative.
Read full README