Sign In

@svgrid/mcp

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@svgrid/mcp

Model Context Protocol (MCP) server for SvGrid. Exposes example sources, docs, and API reference to AI assistants.

Source
npmnpm
Version
2.3.0
Version published
Weekly downloads
626
734.67%
Maintainers
1
Weekly downloads
 
Created
Source

SvGrid

@svgrid/mcp

The official Model Context Protocol server for SvGrid.

npm version npm downloads Commercial license

Website · Docs · Pricing

Point any MCP-capable client - Claude Desktop, Claude Code, Cursor, Zed - at this server and the model answers with accurate, version-pinned facts about SvGrid: real prop, method, and event names, plus every demo's source as grounding. No hallucinated APIs, no stale blog posts.

Why this beats pasting docs into the chat. A model working from memory invents plausible SvGrid APIs, because it learned from a mix of other grids and older versions. Pasting docs helps for one question and then falls out of the context window. This server puts the current API surface and 370+ working demo sources one tool call away, for every question, pinned to the version you installed.

Tools exposed

ToolPurpose
list_examplesEvery demo: id, title, and one-line blurb.
get_example_sourceFull .svelte source for a demo by id.
list_docsEvery documentation page (slug + title).
get_docMarkdown for a single doc by slug.
search_docsCase-insensitive substring search across the docs.
get_api_referenceThe curated public-API surface, grouped by category.
introspect_sourceStudio: infer an EntitySchema from a Drizzle file or sample rows.
scaffold_entityStudio: generate SvelteKit files for a single entity.

Studio: drive the app model (agent co-designer)

The studio_* tools let an agent build and edit the same validated project model the visual designer uses - add entities, screens, blocks, components, wire data sources, theme, RBAC, auth, the typed data layer, and the deploy target - then generate the full runnable app or export the studio.config.json the designer can Load. Every edit runs through the model's own functions + validateProject, so the agent can't produce an invalid app.

ToolPurpose
studio_new_project / studio_load_projectStart fresh, or load an existing studio.config.json.
studio_describe_project / studio_get_configInspect the model / export it as studio.config.json.
studio_capabilitiesList block kinds, component keys, theme presets, data-source kinds, deploy targets.
studio_add_entityAdd a table/model (+ default screen), by schema or introspection.
studio_add_screen / studio_add_block / studio_add_componentCompose screens from data blocks + UI components.
studio_set_entity_sourceBind an entity to memory / SQL / Supabase / REST / PGlite.
studio_set_theme / studio_set_access / studio_set_auth / studio_set_data_layer / studio_set_deploy_targetConfigure app-wide features.
studio_validateReport errors + warnings.
studio_generate_appEmit every file of the runnable SvelteKit app.

A typical session: studio_new_projectstudio_add_entity (×N) → studio_set_entity_sourcestudio_set_data_layerstudio_set_authstudio_generate_app → write the files and run svelte-check.

Run

# One-shot via npx (no install)
npx @svgrid/mcp

# Or install globally, then run the bin
npm install -g @svgrid/mcp
@svgrid/mcp

The server speaks MCP over stdio: stdout is reserved for JSON-RPC, logs go to stderr.

Connect Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

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

Restart Claude Desktop and open a new chat - the tools above are now available.

Connect Claude Code

claude mcp add svgrid -- npx -y @svgrid/mcp

Then run /mcp in a session to confirm svgrid is listed. Ask something like "using svgrid, build a grid that groups by department and shows a sparkline per row" and the model will pull the relevant demo sources before generating code.

Connect Cursor / Zed

Add the same mcpServers block to the editor's MCP configuration:

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

Build from source

cd packages/mcp
pnpm build
node dist/index.js

pnpm build first runs scripts/build-manifests.mjs, which reads examples/src/demos/*.svelte and docs/**/*.md from the workspace and inlines them into src/data.ts, so the published package is fully self-contained.

Licensing

Commercial. Part of the SvGrid Enterprise offering; see svgrid.com/pricing. The MIT @svgrid/grid core is free for any use.

SvGrid™ and sv-grid™ are trademarks of jQWidgets Ltd.

Keywords

mcp

FAQs

Package last updated on 16 Aug 2026

Related posts