Skip to main content

Tool Reference

Everything the server exposes: 17 tools, 1 resource, and 5 prompts. You rarely call these by hand, since your assistant picks them, but knowing what exists helps you ask for the right thing.

Every project-scoped tool takes a projectId (a UUID from find-project, or the projectId in your repo's bezel.json).

Discovery

ToolParametersWhat it does
find-projectquery?With no query, every project you own as name + ID. A name (case-insensitive) or UUID resolves one project; ambiguous or missing names return candidates to choose from
get-project-manifestprojectIdStructure without values: groups, token counts, types, contexts

Repo sync

ToolParametersWhat it does
get-design-tokens-fileprojectId, version?The exact design-tokens.json the app's Download button produces, for writing to disk, plus project name and version. version is latest (default) or a published semver; an unpublished one returns the available versions

Reading tokens

ToolParametersWhat it does
query-tokensprojectId, groupPath?, tokenType?, search?, exportName?, contextKey?, resolveAliases?The workhorse: filter tokens by any combination
get-token-by-pathprojectId, tokenPath, contextKey?, resolveAliases?One token by dot-path, with every context value and alias detail
get-token-bundleprojectId, intentCurated set for a task. Intents: theming-setup, button, card, input, form, auth-page, dashboard-shell

Contexts and themes

ToolParametersWhat it does
get-project-contextsprojectIdContext groups and their values: theme modes, platforms, brands
resolve-contextprojectId, contextGroup, contextValueValidate a context name, returning the canonical value or a structured error

Generating code

ToolParametersWhat it does
export-tokensprojectId, format, groupPath?, tokenType?, search?, exportName?, contextKey?, prefix?Emit css-variables, js-object, or ts-object. Aliases resolved
get-framework-overridesprojectId, framework, version?, groupPath?, tokenType?, search?, contextKey?Config for tailwind (v3, v4), shadcn (v0, v2), or mantine (v7)

Color and unit math

Deterministic: computed by the server, not estimated by the model.

ToolParametersWhat it does
contrast-checkforeground, backgroundWCAG ratio, grade (AAA / AA / AA Large / Fail), and recommendations
color-convertcolor, targetFormat, manipulation?, mixColor?Between hex, rgb, hsl, oklch; optional lighten, darken, saturate, desaturate, mix
color-rampbaseColor, steps, endColor?, colorSpace?Evenly-spaced scale, 2–20 steps, in rgb, hsl, lab, lch, or oklch
unit-convertvalue, fromUnit, toUnit, rootFontSize?, parentFontSize?Between px, rem, em. Needs an explicit root size for px↔rem

Review

ToolParametersWhat it does
design-reviewprojectId, componentDescription, tokenPathsUsed?, contextKey?Reviews spacing, typography, color, states, and accessibility against your tokens

Chat history

ToolParametersWhat it does
get-chat-historyprojectIdPast user and assistant messages in chronological order. Sensitive data redacted
search-chat-historyprojectId, queryKeyword search across those messages, each match labeled by role

Resources

Readable by URI in editors that support MCP resources.

URIContents
bezel://projectsYour projects, with IDs and names

Prompts

Guided workflows the server ships. In Claude Code they appear as slash commands like /mcp__bezel__manifest-first-workflow.

PromptContents
setup-project/mcp__bezel__setup-project [project] [version]. Pick a project, then complete the missing Quick Start steps in this repo. See Workflows
sync-project/mcp__bezel__sync-project [project] [version]. Pull design-tokens.json for the project in bezel.json and run bezel build. See Workflows
manifest-first-workflowThe recommended path: manifest, then groups, then targeted queries
context-resolutionWorking with contexts and themes
safe-usage-guideStaying inside context limits and citing token paths