Vibe Coding MCP Server
An MCP server that brings the Vibe Coding
journey to any LLM host (Kiro, Claude Code, Codex, Cursor, …) — without
running the builder-render app.
Its primary audience is developers who just want production-ready TSX built
with the OB component library and @bolttech/form-engine for their own flow.
Builder.io is entirely optional.
What it exposes
Context resources (Builder-independent — the core value):
vibe-coding://context/ob-figma-component-map — OB ↔ Figma component map
vibe-coding://context/vibe-coding-tsx-generator — TSX generation rules
vibe-coding://context/form-schema-generator — OB mapper + theme tables
vibe-coding://context/form-engine-external — form-engine API guide
vibe-coding://context/accessibility-guidance — WCAG 2.1 AA / EAA page-composition rules
vibe-coding://context/navigation-bindings — screen-to-screen navigation binding contract (FormEngine root, click vs submit validation mode, Router provider, onClickFormEngine / onSubmitFormEngine)
vibe-coding://context/theme-tokens — derived theme-token reference
These are read from the repo's steering files on demand, so edits propagate
without restarting the server.
Agent skills (skills/<name>/SKILL.md, Agent Skills format), shipped in the
package so the package version is the skill version:
vibe-coding-identify-components: asks for the Figma Layers panel of each block (view access is enough), maps every element to an OB component, and has the developer confirm the table before any TSX is written.
vibe-coding-create-page: a new page or Symbol from a design, from the component table to push_as_page (only on request).
vibe-coding-identify-components compares doubtful elements with component_catalog: one image per
component as builder-render draws it in the partner theme (route /vibe-coding/catalog?key=<BUILDER_API_KEY>&theme=<name>,
a gallery for people and view=sheet / view=index for the tool), cached in .vibe-coding/catalog/<theme>/.
Partner repos copy them into .kiro/skills/ with npm run skills:sync (run on postinstall), so
updating the pinned MCP version updates the skills. validate-bundle.mjs and src/lib/skills.spec.ts
check their frontmatter (name equal to the folder, description of at most 1024 characters).
Tools (skills), at a glance:
| Tool |
Needs |
Purpose |
screen_guidance |
— |
How to create, migrate or edit a screen, plus the rules behind it. |
ask_form_engine |
— |
Answers form-engine "how do I…" questions. |
write_component |
— |
Writes generated TSX into your project. |
audit_accessibility |
— |
Audits a URL/markup/file against the accessibility guidance. Never writes. |
apply_accessibility_fixes |
— |
Applies specific approved findings from a prior audit. |
open_vibe_coding |
— |
Opens the hosted Vibe Coding screen. |
preview_screen |
Redis or a signing key |
Publishes a screen to Redis (hosted-screen URL), or builds a signed inline link to a deployed render app. |
tsx_to_blocks_preview |
Builder (optional) |
Converts TSX to Builder.io blocks. |
push_symbol |
Builder |
Pushes a TSX component (or a symbol working copy) as a Builder.io symbol; draft, dryRun. |
push_as_page |
Builder |
Publishes a TSX component (or a page working copy) as a routable Builder.io page; draft, dryRun. |
unpublish_page |
Builder |
Takes a page off the site: draft + [unpublished <date>] name, never deleted. Plan without confirm. |
unpublish_symbol |
Builder |
Takes an unused symbol off the site, the same way. Refused while a published page uses it. |
component_catalog |
Chrome + BUILDER_API_KEY |
Images of the OB components in one theme, from builder-render's /vibe-coding/catalog, to identify the components of a design screenshot. Never writes to Builder. |
The Builder-backed tools are always listed for discoverability; when Builder is
not configured they return an actionable error naming the missing variable —
they never take the server down.
Tool reference
Each tool below lists its inputs. Fields marked (optional) may be omitted.
screen_guidance — Screen Guidance (create / migrate / edit) (no Builder)
Returns a host-agnostic instruction bundle: the flow to follow and the rules
behind it (OB component map, TSX dialect, form-engine API, navigation and BFF
contracts, accessibility, theme tokens). Call it before writing or changing a
screen.
task (optional) — create a new page or symbol, migrate a legacy styled-components page to Tailwind, or edit a live page. Returns that flow's rules and how it starts. Omit it for the whole corpus (~570 KB); an edit is ~60 KB.
source (optional) — screenshot or figma: where the design came from, which decides what is authoritative. A screenshot is the usual input (Figma Dev Mode needs a paid seat), and it overrides the Figma-first hierarchy in the generator rules, which otherwise ranks pixel values last. Identify the component by sight, use its props, and round spacing to the theme scale.
designDescription (optional) — description of the screen to build; echoed into the guidance so the LLM keeps the task in context.
includeThemeTokens (optional, boolean) — include the derived theme-token reference. It is ~268 KB, so it defaults to true for create and migrate (which write Tailwind from a design) and false for edit. Set it explicitly to override; defaults to true with no task.
The tokens come from a theme.css, resolved in this order:
VIBE_CODING_THEME_CSS — a local path (absolute, or relative to the
output root) to the theme you are styling against. It wins over everything
else, and when it cannot be read the theme-using tools refuse instead of
quietly falling back to another theme. A URL is rejected: the theme is read
at generation time, by tools that are otherwise offline. Setting it also
settles the migrate flow's theme question: that file's own default is used
without asking, and page_to_tsx's theme is then only needed to pick one
of the named themes ([data-theme="…"]) inside it.
- Your project's own —
apps/builder-render/app/theme.css,
libs/ob-storybook/.storybook/themes/theme.css, theme.css,
app/theme.css or src/theme.css under the output root.
- The OB default bundled with this package — so the tokens are real design
tokens rather than a summary, and
page_to_tsx normalize /
migrate_symbols work outside this repo.
Every tool that uses a theme reports the file it used (themeCss in the
result) and warns when it was the bundled default. That default is right for an
OB page and wrong for a partner one: the classes compile against variables the
real theme declares differently, which the browser shows as missing colours
rather than as an error. On a partner page, set VIBE_CODING_THEME_CSS.
task |
What it carries |
Size |
create |
flow map, generator rules, Figma component map, form-engine guide, OB mapper + tokens, navigation/BFF, accessibility |
~560 KB |
migrate |
flow map, page-maintenance dialect, generator rules (to rebuild a legacy module), navigation/BFF, accessibility, tokens |
~385 KB |
edit |
flow map, page-maintenance dialect, navigation/BFF, accessibility |
~60 KB |
| omitted |
everything |
~570 KB |
Sizes are indicative: they move with the steering documents. The shape is what
matters — the theme-token reference dominates create and migrate, and an
edit is an order of magnitude smaller than the full corpus.
edit leaves the form-engine guide out on purpose: ask_form_engine answers
from the same guide on demand, which is cheaper than shipping 94 KB for an edit
that never touches a validation.
ask_form_engine — Ask Form Engine (no Builder)
Answers a form-engine "how do I…" question (visibility conditions, validations,
masks, formatters, resetValues, templating, events, screen-to-screen navigation)
grounded in the form-engine guide and the navigation binding contract.
question (required) — e.g. "how do I make a field appear only when another equals yes?".
write_component — Write Component To Project (no Builder)
Writes generated TSX into your own project, confined to VIBE_CODING_OUTPUT_ROOT
(defaults to the working directory).
relativePath (required) — destination path relative to the output root (e.g. src/screens/LoginPage.tsx). Absolute paths or paths escaping the root are rejected.
content (required) — the full file contents to write.
overwrite (optional, boolean) — overwrite if the file exists (default: false).
audit_accessibility — Audit Accessibility (no Builder)
Audits a target against the bolttech accessibility guidance (WCAG 2.1 AA / EAA).
Static analysis only — it reads markup and CSS but never executes
JavaScript, so client-rendered content is not evaluated, and a clean result is
not a conformance certificate; manual testing with assistive technologies is
still required. The audit is built for pages using the bolttech design system —
pasting an unrelated site returns a "does not use our components" result with
generic guidance only, no located fixes. This tool never writes anything.
url (optional) — an https URL to audit. Provide exactly one of url, source, or filePath.
source (optional) — inline markup or TSX, analysed with no network or file access.
filePath (optional) — a file inside the output root.
stylesheet (optional) — an explicit stylesheet (project-relative path or https URL) for targets whose CSS is not discoverable from the markup. Without it, colour-dependent findings cannot be evaluated.
Findings are classified pageLevel (fixable via apply_accessibility_fixes),
designSystem (the offending markup is an OB component's own output — contact
the design team), or token (the failure traces to a design token value with
no page-level alternative — also contact the design team). Only pageLevel
findings with a resolved project location are ever applicable.
apply_accessibility_fixes — Apply Accessibility Fixes (no Builder)
Applies specific findings from a prior audit_accessibility call, confined to
the output root. Re-reads each target file and skips a finding as stale if the
source changed since the audit, rather than overwriting it blind.
auditId (required) — the id returned by audit_accessibility.
findingIds (required, array) — the specific finding ids to apply.
open_vibe_coding — Open Vibe Coding Screen (no Builder)
Opens the hosted Vibe Coding screen (preview, optional push to Builder, or just
take the generated TSX).
url (optional) — override for the screen URL; defaults to the server-configured VIBE_CODING_URL.
preview_screen — Preview Generated Screen (needs Redis or the Builder private key)
Previews a render-ready screen on a hosted render app — no local builder-render or
repo access needed. With VIBE_CODING_REDIS_URL it writes a Redis record and returns
the Vibe Coding URL (mode: "redis"); otherwise, with BUILDER_PRIVATE_KEY,
it builds a signed inline link (mode: "inline"). See
Preview screens with Redis and
Inline preview links.
tsxCode (optional) — the TSX source to preview. Provide this or filePath.
filePath (optional) — path to a TSX file relative to the output root (read instead of pasting tsxCode).
symbolName (optional) — display name shown for the preview.
previewState (optional) — preview-only sample state, merged over the page state.
inlineLocalSymbols (optional, default true) — for a maintained working copy, render the symbols that have a local working copy from it. See Symbol working copies.
open (optional) — open the preview in the operating system's browser.
includeUrl (optional, inline only) — include the full link in the response (for programs such as a dev viewer).
theme (optional, inline only) — the ?theme= of the link (render app default: ob).
tsx_to_blocks_preview — Preview TSX as Builder Blocks (Builder, optional)
Converts TSX into Builder.io blocks so you can preview the output before pushing.
Not needed if you only want the TSX.
tsxCode (required) — the TSX source to convert into Builder.io blocks.
push_symbol — Push TSX as Builder Symbol (needs Builder)
Pushes a TSX component as a symbol to Builder.io. Requires BUILDER_PRIVATE_KEY;
returns an actionable error when unconfigured.
tsxCode — the TSX source to push as a symbol. Required unless slug/path is given; refused together with them.
slug / path (optional) — a symbol working copy (.vibe-coding/symbols/<slug>/) to create in this space
instead: symbol.tsx + sidecar over the rest of its imported data, under its imported name. The working copy then
maintains the new entry. See Publishing from CI.
draft, dryRun, symbolIds (with slug/path), writeTag (optional) — see
Publishing from CI.
entryName (optional) — name for the created symbol entry.
fileName (optional) — source file name recorded on the symbol.
themeName (optional) — theme name stored on the symbol entry.
navigationIntents (optional) — array of { trigger, destination, mode? }
to wire a real navigation binding onto this symbol. See
Wiring navigation below.
push_as_page — Push TSX as Builder Page (needs Builder)