mcp
v0.3.7MCP server that gives AI agents the Vamos UI components, blocks, tokens and rules.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_rules Design rules
The design rules every screen built with Vamos UI must follow: tokens only, accent only for the one primary action/active state/data highlight, glass budget, density tokens, kit components over hand-rolled markup, no AI-looking patterns, realistic content, accessibility. Useful once at the start of a UI task, before code is written.
get_theming Theming guide
The 7 theme axes (dark class, data-material, data-accent, data-density, data-font, data-radius, data-scene) with values, what the corner setting covers, the semantic Tailwind classes, how to add a brand accent, and the full CSS token table. Useful when setting up a project, changing colours, fonts, density or corners, or looking up a token name.
| Parameter | Type | Description |
|---|---|---|
include_tokens | boolean | Include the full token table (default true). Pass false for a shorter answer. |
list_items List registry items
Lists components, blocks (whole screens), lib and style items, grouped by docs group or block category. Use it to browse what exists, e.g. all blocks in "Dashboards" or every component in "Overlays & feedback"; search is faster for a specific need.
| Parameter | Type | Description |
|---|---|---|
category | string | Block category, partial match, e.g. "Dashboards", "Authentication", "List pages". |
group | string | Component docs group, partial match, e.g. "Forms", "Overlays & feedback", "Charts". |
tag | string | Exact tag, e.g. "crm", "cms", "site". |
type | string | Only this item type. |
search Search components and blocks
Ranked search over item names, titles, descriptions, tags and usage guidance. Accepts English or Turkish ("tarih seçici", "giriş sayfası"), case- and accent-insensitive. Use it when the need is known but not the item name; results can be opened with get_item or get_block.
| Parameter | Type | Description |
|---|---|---|
query * | string | What you need, e.g. "date range picker", "confirm delete", "kanban board". |
limit | integer | Max results (default 10). |
type | string | Restrict to one item type. |
get_item Get a component or item
Usage snippet, props tables, examples, when-to-use/avoid guidance, dependencies and file list of one registry item. Returns the component's real API, so code can use actual props. Source files are only included with include: ["files"].
| Parameter | Type | Description |
|---|---|---|
name * | string | Registry item name, e.g. "button", "data-table", "lib-utils". |
format | string | markdown (default, readable) or json (the raw registry item). |
include | array | Sections to include. Default ["examples","props","guidance"]; add "files" for full source. |
get_block Get a block (whole screen)
Full source of a block — a complete screen such as dashboard-01, login-01, list-01 — with the kit components it uses and how to adapt it. Use it after plan_screen suggests a block, or when the user names one.
| Parameter | Type | Description |
|---|---|---|
name * | string | Block name, e.g. "dashboard-01", "settings-01". |
plan_screen Plan a screen
Turns a screen description into a plan: the block to start from (plus alternatives) or, for a website, the matching site recipe (pages, sections, kit components, facts to supply), extra components to add with reasons, the install command, density and a build checklist. Use it when a new page or screen is requested.
| Parameter | Type | Description |
|---|---|---|
description * | string | The screen in a sentence or two: purpose, data, main action. E.g. "CRM invoices list with filters, status badges and bulk delete". |
verify_code Verify UI code
Lints a file against the Vamos UI rules: raw colours and palette classes, dark: variants, hard-coded fonts, icon-only buttons without aria-label, images without alt, onClick on non-interactive elements, positive tabIndex, missing "use client", arbitrary z-index, hand-rolled modals/dropdowns/tooltips. Returns each issue with its line and a suggested fix.
| Parameter | Type | Description |
|---|---|---|
code * | string | The full file contents. |
filename * | string | Path of the file, e.g. "app/invoices/page.tsx" (used for the "use client" rule and messages). |
install_command Install command
Returns the exact `npx vamos-ui add …` command for one or more items (validates the names; dependencies resolve automatically). Use it when components or blocks are to be added to a project.
| Parameter | Type | Description |
|---|---|---|
names * | array | Item names, e.g. ["dashboard-01", "date-range-picker"]. |
get_brand Get the brand profile
Reads the project's vamos.brand.json: brand name, accent (with the generated accent variables), fonts, theme defaults, voice (tone, copy rules, do/don't examples) and assets (logos with how-to-use notes), plus any problems. Use it at the start of UI work in a project that may have a brand profile.
| Parameter | Type | Description |
|---|---|---|
projectDir | string | Project root (default: the server's working directory). |
import_design_system Import a design system from a website
Reads a web page (url) or page source (html, optional css and base_url) and drafts a vamos.brand.json: accent from theme-color / CSS variables / most-used colours, fonts from font-family and Google Fonts links, logo and icon candidates, voice hints from title/description. Returns the draft, the evidence for each value, a contrast-checked accent and what is missing. Writes nothing. The draft is meant to be confirmed with the user before it is saved. Docs: https://ui.vamos.ist/docs/mcp/ and https://ui.vamos.ist/docs/theming/
| Parameter | Type | Description |
|---|---|---|
base_url | string | Base URL to resolve relative links in html. |
css | array | Extra stylesheet sources to consider (with html, or in addition to the linked ones). |
html | string | Page source, when the site cannot be fetched (login, bot protection) or you already have it. |
name | string | Brand name, if the user already told you. |
url | string | Page to read, e.g. https://example.com. http(s) only. |
propose_accent Propose a brand accent
Turns one brand colour into the four accent variables (--accent-base, --accent-fg, --accent-ink-light, --accent-ink-dark) using OKLCH, checks WCAG contrast (4.5:1 for text) and reports what was adjusted. Use it when the user gives a brand colour.
| Parameter | Type | Description |
|---|---|---|
colour * | string | Any CSS colour: "#0f766e", "rgb(15 118 110)", "oklch(0.55 0.1 180)", "teal". |
dark | string | Optional dark-mode fill (colors.accentDark), when the brand has one. |
apply_design_system Apply the design system to a project
Plans what makes a project use its brand: <uiDir>/brand.css (accent + font variables), the brand.css import after the kit styles, theme.accent = "brand" in vamos.json, the <html> attributes and font loading. Returns the exact file contents and the CLI command `npx vamos-ui brand apply` (preferred). Nothing is written unless write: true, and never outside projectDir.
| Parameter | Type | Description |
|---|---|---|
projectDir * | string | Absolute path to the project root (the folder with vamos.json / vamos.brand.json). |
brand | A confirmed brand profile (object or JSON string). Omit to use the project's vamos.brand.json. | |
write | boolean | Write the planned files inside projectDir (default false: only return the plan). Prefer running the CLI command. |
verify_design Verify the design system
Checks UI against the kit rules and the brand. With code (+ filename): lints one file. With projectDir: lints the project's source (skipping the kit folder) and checks vamos.brand.json, its assets, brand.css, the CSS import, vamos.json and the <html> attributes. Lists what it cannot check (screenshots, voice). Useful as a final check before a UI task is finished.
| Parameter | Type | Description |
|---|---|---|
code | string | One file's contents. |
filename | string | Its path, e.g. "app/page.tsx" (with code). |
paths | array | Project-relative files or folders to lint instead of the defaults (src, app, components, pages, lib). |
projectDir | string | Absolute path to the project root (the folder with vamos.json / vamos.brand.json). |
audit_site Audit a live website
Audits a live website over HTTP (no browser): redirects, status, speed, compression and security headers; title, meta description, canonical, Open Graph, JSON-LD, lang and viewport; robots.txt (and which AI crawlers it blocks), sitemap.xml and llms.txt; placeholder phones, example.com emails, lorem ipsum and [fill-in] fields; images without alt, unnamed links and buttons; privacy / KVKK / cookie / terms links; broken internal links and images over 300 KB, crawling up to maxPages same-site pages (respects robots.txt). Returns a scored report grouped by error / warning / info, with fixes. Works…
| Parameter | Type | Description |
|---|---|---|
url * | string | The site to audit, e.g. "https://example.com" (https:// is assumed when left out). |
maxPages | integer | Pages to crawl, the start page included (default 10, max 30). |
start_project Plan a new website
Runs the website project interview: returns the next few questions (business, site type, languages, current site, domain, hosting, one page or several, sections, store or booking needs, contact channels and where form messages go, measurement tools, who runs the site), each with its options and why it matters. Called again with the answers so far, it returns the following questions; once every required question is answered it returns the plan (pages and the kit components on them, legal pages, hosting and build output, form delivery and spam protection, measurement with consent mode, complianc…
| Parameter | Type | Description |
|---|---|---|
answers | object | Answers so far: question id → value (multi-choice questions take an array). "" skips an optional question. |
imported | object | The current site as read by import_site (url, navigation, site), so its addresses are kept and its details fill the draft. |
lang | string | Language of the questions and the plan (default tr). |
next_task Run the website process
Walks the plan in vamos.project.json task by task: brand and content first, then the build, then legal pages, SEO, forms and measurement, then QA, then deploy. Returns where every task stands, the tasks that can start now and the brief for the next one (goal, plan context, steps, the requirements it owns from the site type's requirement pack, the checks that prove it is done and the report format), so an assistant can hand it to a specialist agent or do it itself. With task + status (done, blocked with a note, todo to reopen) it updates that task first and returns the updated vamos.project.jso…
| Parameter | Type | Description |
|---|---|---|
project * | object | The contents of vamos.project.json (as written by start_project or npx vamos-ui new). |
lang | string | Language of titles and briefs (default tr). |
note | string | One line: what was done, or what the blocked task is waiting for. |
status | string | Set the task's status first. done needs its dependencies done; blocked needs a note. |
task | string | A task id: the brief to return, or the task whose status to set. |
import_site Read a current website
Reads a current website (the start page and a few linked pages: about, contact and services first) and returns, each with the page it came from: business name, description, phone numbers, WhatsApp, emails, address, opening hours, social profiles and languages; brand candidates (accent colours, fonts, logo and icon files); the navigation; headings and paragraphs per page; content images with alt text; and warnings such as different phone numbers on different pages. Read-only: it only sends GET requests and writes nothing.
| Parameter | Type | Description |
|---|---|---|
url * | string | The current site, e.g. "https://example.com" (https:// is assumed when left out). |
lang | string | Language of the summary (default tr). |
maxPages | integer | Linked pages to read besides the start page (default and max 4 on the hosted server). |
update_design Plan a design update
Plans how to bring an existing project in line with its brand and the kit rules: brand file edits, manual steps, problems and rule violations grouped by rule — the same plan `npx vamos-ui update --dry-run` shows. Changes nothing. Use it before restyling or migrating an existing project.
| Parameter | Type | Description |
|---|---|---|
projectDir * | string | Absolute path to the project root (the folder with vamos.json / vamos.brand.json). |
paths | array | Limit the code check to these project-relative paths. |