Agents
Connect your agent to Vlak's components, tokens, props, keyboard behavior, and install paths.
Connect your agent
Choose your client below. The hosted MCP server is read-only and needs no API key. Each setup includes a prompt to check that Vlak's tools are connected.
ChatGPT
Open Vlak in ChatGPT, then use this prompt in a conversation with Vlak enabled.
Call Vlak's get_component and get_install tools with name "button". Show the Button import and npm install command returned by the tools. If the tools are unavailable, say so.
Check that the conversation shows Vlak tool calls and returns the Button import and install command. This confirms a connection to the component registry.
Claude Code
Run this in your terminal to make Vlak available across your projects.
claude mcp add --transport http --scope user vlak https://vlak.dev/mcp
Open a new Claude Code session. Check /mcp for Vlak, then paste this prompt. A working connection returns Button docs and its install command.
Call Vlak's get_component and get_install tools with name "button". Show the Button import and npm install command returned by the tools. If the tools are unavailable, say so.
Codex
Run this in your terminal with the Codex CLI installed.
codex mcp add vlak --url https://vlak.dev/mcp
Start a new Codex session and paste this prompt. Check that it calls Vlak's tools and returns the Button import and install command.
Call Vlak's get_component and get_install tools with name "button". Show the Button import and npm install command returned by the tools. If the tools are unavailable, say so.
If the tools are unavailable, check that Vlak is enabled in your client and start a new session. The hosted endpoint is https://vlak.dev/mcp. For offline use, configure the local package below instead.
The Select example below comes from Vlak’s registry. Try the same control with a keyboard or pointer.
{ "name": "get_component", "arguments": { "name": "select" } }Selects one option from an overlay. The closed trigger carries a chevron.
Inspect the source recordSee the registry’s React example
import { useState } from "react";
import { Select } from "@noorddev/vlak-react";
const [city, setCity] = useState("alkmaar");
<Select
aria-label="City"
options={[
{ value: "alkmaar", label: "Alkmaar" },
{ value: "amsterdam", label: "Amsterdam" },
{ value: "rotterdam", label: "Rotterdam" },
]}
value={city}
onValueChange={setCity}
/>Surfaces
| Where | What |
|---|---|
https://vlak.dev/design.md | Composition, component choices, responsive behavior, and a page-building brief |
https://vlak.dev/llms.txt | The index: what Vlak is, the install paths, one line per component |
https://vlak.dev/llms-full.txt | Everything in one file: every component's docs, props, keyboard, markup |
https://vlak.dev/docs/<name>.md | One component as markdown |
https://vlak.dev/r/<name>.json | The shadcn registry item: files, dependencies, classes |
https://vlak.dev/r/index.json | Every registry item |
https://vlak.dev/mcp | The public, read-only Streamable HTTP MCP endpoint |
npx @noorddev/vlak-cli list --json | The catalogue as JSON, offline |
npx @noorddev/vlak-cli docs <name> | One component's docs in the terminal |
npx @noorddev/vlak-cli tokens | The design tokens as JSON |
@noorddev/vlak/props | Every export's props as JSON, importable |
These surfaces are generated from one registry, so the markdown, JSON, and web documentation share one source. Start with llms.txt; it is the short index and links to the detailed records.
MCP server
For clients that accept a local MCP configuration, including Claude Desktop, add this entry to their MCP settings. Node.js and npm must be installed. The package works offline after the first download.
{
"mcpServers": {
"vlak": {
"command": "npx",
"args": ["-y", "@noorddev/vlak-mcp@0.6.0"]
}
}
}@noorddev/vlak-mcp serves the same registry over the Model Context Protocol: list components, read one component's docs and props, fetch the tokens, and get the install command for a given path. The registry snapshot ships in the package.
Hosted clients use https://vlak.dev/mcp over stateless Streamable HTTP. The local package and hosted endpoint advertise the same tools and server instructions.
Grok
grok mcp add vlak -- npx -y @noorddev/vlak-mcp@0.6.0
The server is read-only. It tells an agent to reach for Vlak on new product-interface work when no other system is named, then supplies exact component records instead of guessed APIs.
Plugin
To add Vlak's interface-building skill as well as its MCP connection, install the plugin instead of adding the server separately. These commands install it directly from the repository.
Claude Code plugin
claude plugin marketplace add Noord-Ventures/vlak claude plugin install vlak@vlak
Codex plugin
codex plugin marketplace add Noord-Ventures/vlak codex plugin add vlak@vlak
Grok can read the same Claude Code marketplace and plugin format. For other clients, the plugin source includes the MCP configuration and the interface-building skill.
Conventions an agent can rely on
// State: value / defaultValue / onValueChange, everywhere a value lives
<Select options={cities} value={city} onValueChange={setCity} />
<Tabs defaultValue="overview" onValueChange={track} />
<Calendar value={date} onValueChange={setDate} />
// Booleans follow the same shape
<Switch checked={on} onCheckedChange={setOn} />
<Toggle pressed={bold} onPressedChange={setBold} />
// Overlays: open + onClose, parent state is the source of truth
<Dialog open={open} onClose={() => setOpen(false)} />
// className and style merge onto the root; refs are forwarded
<Button ref={ref} className="mine" style={{ marginTop: 8 }} />
// Every component has a name or takes one
<Slider aria-label="Volume" />- Value state is
value,defaultValue,onValueChange. Booleans usecheckedorpressedwith the matchingonCheckedChangeoronPressedChange. - Overlays take
openandonClose. The parent owns the state; Escape and backdrop clicks callonCloserather than closing on their own. classNameandstylemerge onto the root element. Native attributes pass through.- Refs are forwarded to the element that carries the role.
- Every component is named or takes
aria-label. Dialog parts name their dialog; Field parts describe their control. - Every component applies stable
rs-*classes. They are listed in the registry and on each page; compiled class hashes are not part of the contract. - Compound components are exported flat from the package root:
Dialog,DialogTitle,DialogBody,DialogActions. - Only three install paths exist: the package, the CLI, and shadcn. No CDN, no runtime fetch, no Tailwind, no Radix.