SoftCreator Webix MCP v0.1.0
API docs Health
SoftCreator + Webix Knowledge Base

Ground your AI in verified Webix code,
not training data.

A streamable HTTP MCP server that gives your AI assistant a unified, searchable knowledge base of Webix snippets, API reference, and SoftCreator Proto-UI extensions — all rewritten to use SC-prefixed view names by default.

Explore the API How it works

Why this exists

AI assistants hallucinate Webix code. This stops it.

Webix 6.4.6 is old enough that LLMs mix it up with newer versions, invent properties, and emit plain view:"datatable" where SoftCreator codebases require view:"scdatatable". The Webix MCP server replaces guesswork with lookups against a single, locally-built database.

Faithful code generation

View names emitted by the AI match what the SoftCreator runtime expects. No manual rename pass after every prompt.

📖

API-grounded answers

Method signatures, allowed values, and event names are answered from indexed documentation rather than guessed.

🔗

SC knowledge first-class

Looking up ui.datatable automatically surfaces scdatatable: its mixins, defaults, and custom methods.

How it works

A single index over three knowledge sources.

The build pipeline harvests, parses, and normalizes three independent sources into one SQLite database. The runtime server exposes that database to any MCP-compatible client over streamable HTTP.

flowchart LR S1[Webix snippets
snippet.webix.com] S2[Webix docs
docs.webix.com] S3[SoftCreator
Proto-UI sources] B[Builder
ETL pipeline] DB[(webix_kb.sqlite
FTS5 indexes)] SRV[Server
FastAPI + MCP] C1[Cursor / IDE] C2[External MCP clients] S1 --> B S2 --> B S3 --> B B --> DB DB --> SRV SRV --> C1 SRV --> C2 classDef src fill:#dcf5dc,stroke:#4caf50,color:#2c3e2e; classDef etl fill:#fff8e1,stroke:#f57f17,color:#2c3e2e; classDef rt fill:#e3f2fd,stroke:#1976d2,color:#2c3e2e; classDef db fill:#bcffb4,stroke:#008807,color:#2c3e2e; classDef cli fill:#f5fff2,stroke:#5a7a5d,color:#2c3e2e; class S1,S2,S3 src; class B etl; class DB db; class SRV rt; class C1,C2 cli;

Architecture overview — three sources merge into one searchable knowledge base.

What's inside

Knowledge base at a glance.

Source Coverage Records
Webix snippets All public snippets, post-processed with SC view names 1,447
Webix documentation Full API reference + guides (v6.4.6) 17,020 pages
SoftCreator Proto-UI All webix.protoUI(...) extensions and mixins 59 extensions
Database SQLite + FTS5 indexes ~44 MB

Under the hood

Four views of the same system.

Switch between flow, sequence, schema, and timeline to see how requests travel, what's stored, and how the project evolved.

flowchart TD U[Developer prompt in Cursor] A[AI agent] M[MCP server] K[(Knowledge base)] R[Adapted code with citations] U --> A A -- search/get --> M M -- FTS5 query --> K K -- ranked rows --> M M -- JSON response --> A A --> R classDef u fill:#e8f5e9,stroke:#4caf50,color:#2c3e2e; classDef a fill:#fff8e1,stroke:#f57f17,color:#2c3e2e; classDef m fill:#e3f2fd,stroke:#1976d2,color:#2c3e2e; classDef k fill:#bcffb4,stroke:#008807,color:#2c3e2e; classDef r fill:#dcf5dc,stroke:#4caf50,color:#2c3e2e; class U u; class A a; class M m; class K k; class R r;

Request flow — what happens when a developer types a prompt.

sequenceDiagram autonumber participant Dev as Developer participant IDE as Cursor participant MCP as Webix MCP participant KB as Knowledge base Dev->>IDE: Build a datatable with frozen columns IDE->>MCP: search_webix_snippets MCP->>KB: FTS5 query KB-->>MCP: ranked matches MCP-->>IDE: snippets + SC names IDE->>MCP: get_softcreator_extension MCP->>KB: lookup KB-->>MCP: defaults, mixins, members MCP-->>IDE: SC catalog entry IDE-->>Dev: Adapted SC code with citations

Sequence — typical two-call interaction for a real prompt.

erDiagram SNIPPETS ||--o{ SNIPPET_TAGS : has TAGS ||--o{ SNIPPET_TAGS : groups SNIPPETS ||--o{ SNIPPET_COMPONENTS : uses COMPONENTS ||--o{ SNIPPET_COMPONENTS : appears_in DOC_PAGES ||--o| OWNERS : describes SC_EXTENSIONS ||--o{ SC_EXTENSION_MIXINS : includes SC_EXTENSIONS ||--o{ SC_MEMBERS : exposes SC_HELPERS SNIPPETS ||--o| FTS_SNIPPETS : indexed_by DOC_PAGES ||--o| FTS_DOCS : indexed_by SC_EXTENSIONS ||--o| FTS_SC : indexed_by

Schema — tables and relationships only. Field-level details live in docs/SCHEMA.md.

flowchart LR P[Prototype
20 snippets · 2 tools] W[Full Webix
1,447 snippets · 8 tools] X[Production split
Server + Builder] S[SoftCreator integration
59 extensions · 11 tools] P --> W --> X --> S classDef legacy fill:#fff8e1,stroke:#f57f17,color:#2c3e2e; classDef prod fill:#dcf5dc,stroke:#4caf50,color:#2c3e2e; class P legacy; class W,X,S prod;

Evolution — four phases from proof of concept to production.

SoftCreator-first mapping

Snippets are rewritten before the AI sees them.

Every Webix snippet that uses a control with a SC wrapper is post-processed so that view:"datatable" becomes view:"scdatatable", and so on. The mapping is deterministic and applied only at well-known syntactic positions.

flowchart LR A[Raw snippet from
snippet.webix.com] --> B{Webix view has
SC wrapper?} B -- yes --> C[Replace view name
with SC equivalent] B -- no --> D[Keep as-is] C --> E[Stored in DB] D --> E classDef src fill:#fff8e1,stroke:#f57f17,color:#2c3e2e; classDef rule fill:#e3f2fd,stroke:#1976d2,color:#2c3e2e; classDef ok fill:#dcf5dc,stroke:#4caf50,color:#2c3e2e; classDef db fill:#bcffb4,stroke:#008807,color:#2c3e2e; class A src; class B rule; class C,D ok; class E db;

Mapping flow — applied once at build time; the runtime database holds the SC-shaped result.

Specialized SC controls — scwizard, codeeditor, bpmneditor, sctimeline, erddesigner and others — remain in the catalog as first-class extensions but are excluded from the autoreplace map. Webix views without a SC wrapper (gantt, spreadsheet, kanban, pivot, scheduler) pass through unchanged.

MCP surface

Eleven tools across three domains.

Every tool returns JSON with a source field of 'webix' or 'sc', so the AI can correctly attribute every citation it produces.

Webix snippets
search_webix_snippets
FTS over title, description, JS, and components. Filter by tag or view.
get_snippet
Full source and metadata for one snippet by URL id.
list_webix_tags
All Webix snippet tags with counts.
list_webix_components
View components present in the corpus, frequencies included.
Webix documentation
search_webix_docs
FTS over title, prose, and code blocks of every doc page.
get_doc_page
Full text + extracted code for one doc page by file name.
list_webix_owners
All Webix entities (views, helpers, modules) with page counts.
get_webix_api_reference
Full API surface for a view, with linked SC extension if any.
SoftCreator catalog
search_softcreator_extensions
Search SC extensions by name, base, mixin, or standalone status.
get_softcreator_extension
Members, defaults, mixins, and full source of one SC extension.
list_softcreator_extensions
Catalog discovery with filters.

Repository

Three packages, two of them production.

The build pipeline and the runtime server are deployed independently. The original prototype is preserved as a historical reference.

Server/
Production · runtime

FastAPI + MCP streamable HTTP server. Read-only access to the SQLite knowledge base. Eleven tools, OpenAPI 3.1, health endpoint.

Builder/
Production · ETL

Harvests, parses, classifies, transforms, and publishes the knowledge base. Resumable. Runs on demand.

Prototype/
Legacy · do not use

Original 20-snippet proof of concept with two MCP tools. Frozen for historical reference.