Buoy logo

Buoy

MCP tools that help coding agents use design tokens and detect UI drift in source code.

Install Buoy

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "buoy": {
      "command": "npx",
      "args": [
        "-y",
        "ahoybuoy"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y ahoybuoy

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The buoy MCP server gives coding agents design-system context from a codebase, including tokens, scales, and components. Its tools can match hardcoded values to tokens, check edited UI code for drift, and provide file-specific guidance. Reach for buoy when agents are introducing arbitrary colors, spacing, inconsistent component usage, or other design-system violations. It can also pair with a post-edit hook that checks style files after changes.

Use cases

  • Give agents file-specific token and component context
  • Replace hardcoded values with matching design tokens
  • Check UI edits for design-system drift
  • Review pull requests for design violations
  • Map component consumers and token impact

Key features

  • File-scoped design-system context
  • Hardcoded-value to token matching
  • Line-level UI drift checks
  • Structured token and component discovery
  • Post-edit checks for Claude Code
  • JSON output for agent workflows

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 62d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 15d ago via OSV.dev · ahoybuoy (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars21Stargazers on the source repository.
npm downloads4.1kPackage downloads in the last 30 days.
Last commit11d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Buoy works

What buoy does

buoy connects coding agents to the design-system information detected in a repository. It focuses on code as the system’s source of truth, identifying components, tokens, drift signals, and related project context. Agents can use the resulting information before or after editing UI code instead of guessing at values such as colors, spacing, or component names.

The server is designed to catch issues including hardcoded values, arbitrary spacing, Tailwind escape hatches, naming inconsistencies, unused or detached components, semantic mismatches, repeated utility-class patterns, and framework sprawl. Results can identify a source location and, for applicable findings, suggest a token-based replacement or exact line edit.

How it works

buoy scans the local codebase and derives design-system data from the files it finds. A project can declare component, token, and owner paths in .buoy.yaml, but the CLI also supports an immediate zero-configuration start with automatic framework detection.

The MCP integration exposes the information to an agent as structured tools. context_for_file narrows the response to the tokens, scales, and components relevant to the file being edited. find_token_for_value maps a literal such as a color value to a matching design token, while check_ui_against_design_system reports line-level drift and a possible edit. The show CLI commands can emit JSON for broader inventories, drift findings, health data, and component information.

Setup and configuration

Start by running the CLI through npx:

Terminal
npx ahoybuoy show all
npx ahoybuoy dock

Use the MCP installer to configure supported agent environments:

Terminal
npx @buoy-design/cli mcp install claude
npx @buoy-design/cli mcp install cursor
npx @buoy-design/cli mcp install codex
npx @buoy-design/cli mcp install windsurf

The installer also accepts all. For Claude Code, the project documents a plugin installation path, and the design-tokens skill can be added with npx skills add ahoybuoy/buoy-plugin.

buoy dock can create .buoy.yaml, agent skills, CLAUDE.md context, hooks, commands, plugins, and a knowledge graph. Configuration supports drift severity rules, ignore filters, promotion and enforcement rules, and a health threshold for CI failure.

Tools and capabilities

The MCP tool set includes:

  • context_for_file for file-specific design-system context.
  • list_design_tokens for enumerating available tokens.
  • find_token_for_value for locating a token that matches a literal value.
  • check_ui_against_design_system for line-level drift checks and suggested edits.
  • design_system_context for broader design-system information.

A Claude Code setup can add a PostToolUse hook that checks style files after edits. Separately, the CLI provides scanning, pre-commit checks, fix suggestions or applications, ignored-drift management, JSON output, and system impact analysis for components or tokens.

Limitations and notes

The MCP tools depend on the design-system information discoverable in the repository and its optional .buoy.yaml configuration. Figma and other design tools are optional inputs rather than prerequisites for the system map. Rescue operations keep ambiguous findings for review, retain local backups for rollback, and do not commit, push, open pull requests, or upload source code. A GitHub App is available for pull-request review independently of the MCP setup.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Buoy

buoy is an MCP server that connects coding agents to design-system data in a codebase. Its main tools provide file-specific context, list design tokens, match literal values to tokens, check UI code for drift with suggested edits, and return broader design-system context for agent workflows.

Install it with the Buoy CLI, such as `npx @buoy-design/cli mcp install cursor` or the equivalent target for Claude, Codex, or Windsurf. The installer also supports `all`; `npx ahoybuoy/buoy-plugin` can add the design-tokens skill.

Yes, buoy provides a Cursor installation target through `npx @buoy-design/cli mcp install cursor`. The MCP tools then expose design-system context, token lookup, and UI drift checks to the configured agent.

Yes, the `find_token_for_value` tool matches literal values such as colors to design tokens. The related UI-check tool can report the affected line and provide an exact replacement suggestion when it identifies drift.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewBuoy AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/buoy?style=directory)](https://allmcps.com/mcp/buoy)
HTML Embed
<a href="https://allmcps.com/mcp/buoy"><img src="https://allmcps.com/api/badge/buoy?style=directory" alt="Buoy on AllMCPs" /></a>