Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Table Mcp

БесплатноПоддерживается

Bst-Table MCP server — gives AI coding agents accurate, version-pinned knowledge of @bloomskill/table-* : docs search, the feature-toggle registry, cell types,

GitHubEmbed

Описание

Bst-Table MCP server — gives AI coding agents accurate, version-pinned knowledge of @bloomskill/table-* : docs search, the feature-toggle registry, cell types, config validation and grid scaffolding.

README

A React data grid built on TanStack Table v9, packaged as four real npm packages: one headless engine, two style adapters (MUI and shadcn/Radix) that render the identical grid from the same data and columns, and an MCP server so AI coding agents know the API.

MIT/Apache dependencies only — no per-seat licence, and no Enterprise paywall on master-detail, range selection or clipboard.

Package What it is
@bloomskill/table-engine Headless engine — TanStack v9 wiring, the cell-type registry, editing/validation/selection/clipboard, a neutral <BstTable> body, CSS-var tokens. No UI library inside.
@bloomskill/table-mui Material UI skin — toolbar, menus, pagination, MUI editors, theme mapping.
@bloomskill/table-shadcn shadcn / Radix skin — inherits your design tokens and icon library, ships its own CSS (no Tailwind build needed).
@bloomskill/table-mcp MCP server — gives AI coding agents (Claude Code, Cursor, Copilot) accurate knowledge of this library: docs search, the feature registry, config validation and grid scaffolding.

Full per-package docs live in each package README. Start with the engine README — it documents every option, cell type and feature.

📚 Documentation site: gitofkumarsathish.github.io/bst-grid — generated feature guides, cell types, API reference and a coverage matrix, plus hand-written guides, built from this repo's corpus (source in apps/docs). Run it locally with cd apps/docs && npm install --no-workspaces && npm run start.

What it does

Every capability is a per-instance toggle in one of two layers: enable* = engine behaviour, show* = adapter chrome. Data features default on; heavy features default off.

  • Data operations — sorting · global search · column filters (operator-aware) + filter-builder UI · pagination · multi-column grouping with aggregates.
  • Columns — show/hide · resize · double-click auto-size · pinning · reordering (menu + drag) · fit-to-viewport · responsive priority hiding.
  • Rows — row selection · add/delete/duplicate · master-detail panels · row pinning · row resize.
  • Editing — inline cell / row / batch modes, sync · async · cross-column validation, undo/redo, and a single batched onSave per save action.
  • Selection & clipboard — cell/range selection, Excel-like keyboard navigation, copy/paste (TSV), whole-column and whole-row copy.
  • Cells — 17 built-in cell types incl. select/multi-select/radio, files, hyperlink, sparkline, KPI, QR, barcode, rich text, action buttons and an action overflow menu — all dependency-free inline SVG, extensible via a cell-type registry.
  • Styling — conditional formatting rules (+ a runtime rule builder), per-slot classNames/styles, per-column CSS, injectable icons, density.
  • Scale — a DataSource contract (useBstDataSource) puts sort/filter/paginate on the server, so the same grid runs client-side or against millions of rows.
  • Runtime settings sheet — end-users flip a grid's features on/off themselves (persisted per table).

See COVERAGE.md for the requirement-by-requirement status matrix, and CLAUDE.md §12 for the full feature-toggle registry.

AI coding agents (MCP)

No model was trained on this library, so an agent asked for "a Bst-Table grid with batch editing" writes some other grid library's code — the APIs this project exists to replace. @bloomskill/table-mcp closes that gap: an MCP server carrying searchable docs, the 65-flag toggle registry, all 17 cell types, 271 API signatures, plus grid scaffolding and config validation. Register it once, at user scope so it covers every project on the machine:

claude mcp add bst-table -s user -- npx -y @bloomskill/table-mcp

For Cursor, VS Code/Copilot and Claude Desktop (each wants a slightly different JSON shape), see the MCP README. Then just ask for what you want — the agent picks the tools up on its own:

Build me a Bst-Table grid of orders with inline editing, a status dropdown and copy/paste.

The component it returns compiles, with every flag dependency already satisfied. It also knows what doesn't exist here (enableLiveUpdates is not a flag) and which combinations fail silently (showSearch does nothing without enableGlobalFilter).

Not using an MCP client? Copy the agent prompt instead — one self-contained briefing (entry points, the enable*/show* rule, every flag, all cell types, the dependencies that are easy to miss) sized to paste at the top of a chat. It is the same corpus, rendered as one message:

npx -y @bloomskill/table-mcp prompt

It is also the Copy agent prompt button on the docs site, the raw prompt.txt, and the bst://prompt MCP resource.

Two properties make it trustworthy: the knowledge base is generated from this repo at build time — the §12 registry, COVERAGE.md, TSDoc, the built .d.ts, every README and example — so it cannot drift from the code; and it is self-contained (no network, no API key), working in any project, including ones that don't have @bloomskill/table-* installed. Its version matches the library it documents.

Structure

bst-table/
├─ packages/
│  ├─ engine/     @bloomskill/table-engine   — headless TanStack v9 wiring + neutral <BstTable> + CSS-var tokens
│  ├─ mui/        @bloomskill/table-mui      — Material UI toolbar/menu/pagination chrome + editors
│  ├─ shadcn/     @bloomskill/table-shadcn   — Radix primitives + shadcn-style CSS chrome + editors
│  └─ mcp/        @bloomskill/table-mcp      — MCP server for AI agents; corpus generated from this repo at build time
├─ apps/
│  └─ demo/       @bloomskill/demo           — Vite app rendering BOTH skins over the same data
├─ examples/                                 — six standalone runnable apps (also open in StackBlitz)
├─ docs/                                     — long-form guides (settings sheet)
└─ scripts/
   ├─ consumer-template/                     — a foreign app used by the portability check
   └─ pack-and-verify.sh                     — packs tarballs → installs externally → build + test

Prerequisites

Node 20+ (developed on Node 24 via nvm) and npm 10+. If you use nvm:

nvm use 24 || nvm install 24

Commands

npm install            # install workspace deps
npm run build          # build all four packages (tsc → dist)
npm test               # engine unit + adapter integration tests (Vitest/jsdom)
npm run demo           # start the Vite demo (both skins) at http://localhost:5173
npm run verify:portability   # pack tarballs, install into a fresh external app, build + test
npm run mcp            # MCP server gate: stdio smoke test + scaffolded-output typecheck

# Documentation site (Docusaurus) — isolated from the workspace, so install separately.
# Full steps in the "Documentation site" section below.
( cd apps/docs && npm install --no-workspaces && npm run start )   # docs → http://localhost:3000

The suite is 35 test files / ~245 tests (32 engine · 1 MUI · 2 shadcn) covering every feature area — editing, validation, selection, clipboard, spanning, grouping, DataSource, settings, styling and the adapters' chrome.

Documentation site (Docusaurus)

The full documentation — generated feature guides, all 17 cell types, the API reference and a coverage matrix, plus hand-written guides and live, runnable examples with labelled screenshots — is a Docusaurus app in apps/docs.

It is kept out of the npm workspaces on purpose, so its React 18 / Docusaurus dependencies never clash with the monorepo's React 19. Because of that, install it on its own with --no-workspaces (a plain npm install at the repo root will not set it up):

cd apps/docs
npm install --no-workspaces   # first time only — installs Docusaurus, isolated from the root workspace
npm run start                 # dev server with live reload

Then open http://localhost:3000 in your browser to read the docs. To build and preview the production site instead:

npm run build     # static site → apps/docs/build/
npm run serve     # serve that build locally to preview it

The reference pages are generated from the source of truth (the MCP corpus + the engine's typed .d.ts), so they never drift from the code — npm run gen:docs regenerates them and npm run check:docs is the coverage gate. The regenerate pipeline, the GitHub Pages deploy settings and the screenshot/media notes all live in the docs README. The published site is at gitofkumarsathish.github.io/bst-grid.

Using the packages (consumer view)

import { ThemeProvider, createTheme } from '@mui/material/styles'
import { BstTableMui } from '@bloomskill/table-mui'
// import { BstTableShadcn } from '@bloomskill/table-shadcn'   // ← same props, different skin
import type { BstTableColumn } from '@bloomskill/table-engine'
import '@bloomskill/table-engine/styles.css'
// import '@bloomskill/table-shadcn/styles.css'               // ← only for the shadcn skin

type Row = { id: string; name: string; age: number }
const columns: BstTableColumn<Row>[] = [
  { id: 'name', accessorKey: 'name', header: 'Name', sortFn: 'alphanumeric' },
  { id: 'age', accessorKey: 'age', header: 'Age', sortFn: 'basic' },
]

;<ThemeProvider theme={createTheme()}>
  <BstTableMui data={rows} columns={columns} getRowId={(r) => r.id} pagination={{ pageSize: 10 }} />
</ThemeProvider>

Swap BstTableMuiBstTableShadcn (and the CSS import) to change the entire look with no other change.

Runnable examples

Six self-contained apps in examples/ import the published packages from npm — quick-start · editing · cell-types · conditional-formatting · cell-spanning · server-mode. Open one in StackBlitz from the engine README, or:

cd examples/quick-start && npm install && npm run dev

Releasing & versioning

The four packages are versioned in lockstep from a single source of truth, version.ini. Don't hand-edit versions in package.json — use the scripts, which bump version.ini, sync all four package.jsons (version + the adapters' internal @bloomskill/table-engine range), and run npm install. The MCP server rides the same version because its corpus documents exactly the release it ships with.

# 1. bump — preview first with:  node scripts/bump-version.mjs <level> --dry
npm run version:patch    # bug fix / docs     0.1.1 → 0.1.2
npm run version:minor    # new feature        0.1.1 → 0.2.0
npm run version:major    # breaking change    0.1.1 → 1.0.0

# 2. record it (see CLAUDE.md §13): update CHANGELOG.md + the affected README(s)

# 3. publish all four (engine first — adapters peer-depend on it)
npm run release
  • Source of truth: version.ini[bloomskill-table] version = X.Y.Z. Use npm run version:*, not npm version (which would touch only package.json and drift from version.ini).
  • Order matters: bump then release. release publishes the current versions, so releasing without a bump fails with cannot publish over <version>.
  • npm can't republish a version — every release needs a bump. Full Definition-of-Done (demo + README + CHANGELOG + §12 registry + version) is in CLAUDE.md §13; the running log is CHANGELOG.md.
  • GitHub Packages is mirrored automatically when the version bump lands on main (the workflow watches version.ini), so the repo's Packages section is populated — but install from npm, not the mirror: npm.pkg.github.com requires a token even for public packages. See docs/github-packages.md.

Docs-in-sync rule (AI-assisted work). "Commit and push" is a trigger to sync the docs in the same commit — never commit code alone. Before committing any change, update the pieces it touches: COVERAGE.md (status), docs/backlog.md, the affected package README(s) (Features + Props), CHANGELOG.md, the CLAUDE.md §12 registry, and the roadmap docs where relevant — then run the gates. The authoritative version of this rule lives in CLAUDE.md §13.

Portability

npm run verify:portability packs the engine + adapter tarballs, installs them into a throwaway project outside the workspace (scripts/consumer-template/), then builds and runs tests there — proving the packages work as real npm dependencies, not just as workspace links. It then packs @bloomskill/table-mcp and boots it with no repo present, proving the corpus really is baked into the published tarball.

How a new skin is added

Create @bloomskill/<lib> implementing the same tiny surface the MUI/shadcn adapters do: call useBstTable(...), render your toolbar/menus/pagination, and drop the engine's <BstTable table={table} /> for the body (theme it by setting --bst-table-* CSS vars). No engine change required.

Not built yet

The core spec is 55 / 58 built. The genuinely open items are live / WebSocket merge (I5 — for now, push updates by replacing data) and the second half of backend reconciliation (I4 — applying a server's authoritative response and partial failures back into cells; the batch change-set

  • single-call onSave half is done). Proving the 1M-row migration tier (A6) end-to-end is the remaining scale milestone. On the extended roadmap, integrated range charts (X15), formula columns (X17) and a full accessibility / ARIA audit (X20) are still in progress.

Everything else in the core B-series has shipped — including the in-cell PDF thumbnail (B5, page 1 via pdf.js), row/column virtualization (D1), infinite scroll (A2) and the file upload / view / delete DataSource verbs (I3). See COVERAGE.md and Plan.md for the full matrix.

License

MIT

from github.com/gitOfKumarSathish/bst-grid

Установить Table Mcp в Claude Desktop, Claude Code, Cursor

Рекомендуется · одна команда, все IDE
unyly install table-mcp

Ставит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.

Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh

Или настроить вручную

Выполни в терминале:

claude mcp add table-mcp -- npx -y @bloomskill/table-mcp

Пошаговые гайды: как установить Table Mcp

FAQ

Table Mcp MCP бесплатный?

Да, Table Mcp MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Table Mcp?

Нет, Table Mcp работает без API-ключей и переменных окружения.

Table Mcp — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Table Mcp в Claude Desktop, Claude Code или Cursor?

Открой Table Mcp на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Notion

Read and write pages in your workspace

Notionавтор: Notion

Linear

Issues, cycles, triage — from Claude

Linearавтор: Linear
Pro

Google Drive

Search and read your Drive files

Googleавтор: Google

mindsdb/mindsdb

Connect and unify data across various platforms and databases with [MindsDB as a single MCP server](https://docs.mindsdb.com/mcp/overview).

mindsdbавтор: mindsdb

fulcradynamics/fulcra-context-mcp

MCP server for accessing personal health and biometric data including sleep stages, heart rate, HRV, glucose, workouts, calendar, and location via the Fulcra Li

fulcradynamicsавтор: fulcradynamics

aymericzip/intlayer

A MCP Server that enhance your IDE with AI-powered assistance for Intlayer i18n / CMS tool: smart CLI access, access to the docs.

aymericzipавтор: aymericzip

rinadelph/Agent-MCP

A framework for creating multi-agent systems using MCP for coordinated AI collaboration, featuring task management, shared context, and RAG capabilities.

rinadelphавтор: rinadelph

WhenLabs-org/when

Developer toolkit: auto-detect stack for AI context files, catch port conflicts, validate .env schemas, spot docs drift, audit dependency licenses, and time cod

WhenLabs-orgавтор: WhenLabs-org

Beltran12138/wecom-docs-mcp-server

WeCom (Enterprise WeChat) document operations via MCP: create, read, and edit Docs and Smartsheets (9 tools). Fills the doc-CRUD gap — existing WeCom MCP server

Beltran12138автор: Beltran12138

madbonez/caldav-mcp

Universal MCP server for CalDAV protocol integration. Works with any CalDAV-compatible calendar server including Yandex Calendar, Google Calendar (via CalDAV),

madbonezавтор: madbonez

Compare Table Mcp with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории productivity