Basalt
Design system MCP server — query tokens, components, icons, and WCAG contrast data from Git-backed design systems.
Basalt MCP Server
Connect your AI coding tools to your design system. Basalt serves your design tokens, component specs, icons, and accessibility data via MCP so AI tools generate on-brand code — not hardcoded values.
Works with Claude Design, Claude Code, Cursor, Windsurf, and any MCP-compatible client.
Quick Start
1. Get an API key
Sign up at basalt.run (free) and go to Settings → API Keys → Generate new key.
2. Add to your tool
Cursor — add to ~/.cursor/mcp.json or Settings → MCP:
{
"mcpServers": {
"basalt": {
"url": "https://basalt.run/api/mcp",
"headers": {
"Authorization": "Bearer bsk_your_key_here"
}
}
}
}
Claude Code:
claude mcp add --transport http basalt https://basalt.run/api/mcp \
--header "Authorization: Bearer bsk_your_key_here"
Claude Desktop — add to claude_desktop_config.json:
{
"mcpServers": {
"basalt": {
"url": "https://basalt.run/api/mcp",
"headers": {
"Authorization": "Bearer bsk_your_key_here"
}
}
}
}
Windsurf — Settings → MCP Servers, same config as Cursor.
Available Tools
| Tool | Description |
|---|---|
get_token | Get a resolved token value by path (e.g. color.action.default) |
list_tokens | List all tokens in a project |
search_tokens | Search tokens by name or value |
get_component | Get full component spec — usage, variants, a11y notes, code |
list_components | List all registered components with metadata |
get_icon | Get an SVG icon by name |
list_icons | List all available icons |
get_theme | Get light/dark theme tokens |
check_contrast | Check WCAG AA/AAA contrast between two colors |
What It Solves
AI coding tools hallucinate design values. They hardcode #3B82F6 instead of using var(--color-action-default). They guess at component APIs instead of using your real props.
Basalt gives AI tools a structured, queryable source of truth for your design system. Tokens are stored in Git as DTCG 2025.10 JSON, edited visually in Basalt's web editor, and served via MCP.
Works With Claude Design
Claude Design reads your codebase during onboarding to apply your brand. Basalt is where your brand is defined — tokens, components, documentation, all in Git. Edit in Basalt, commit to your repo, and Claude Design picks it up automatically.
Links
- Website: basalt.run
- Token format: DTCG 2025.10 (W3C standard)
- SDK: @modelcontextprotocol/sdk (Node.js)
相關伺服器
Scout Monitoring MCP
贊助Put performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
贊助Access financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Image Generator MCP Server
Generate placeholder images with specified dimensions and colors, and save them to a file path.
Typst MCP Server
Provides Typst documentation to MCP clients like Claude Code.
ContextKeeper
Provides perfect memory for AI-assisted development by capturing project context snapshots, enabling natural language search, evolution tracking, and code intelligence.
MCP Tool Poisoning Attacks
A Node.js project demonstrating MCP client and server interactions for tool poisoning attacks, requiring an Anthropic API key.
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers without authentication.
MCP Simple OpenAI Assistant
A simple server for interacting with OpenAI assistants using an API key.
TeamCity
MCP server for TeamCity, integrates with Claude Desktop and Cursor.
FastMCP-Scala
A Scala 3 library for building Model Context Protocol (MCP) servers.
Assistant MCP Server
An MCP server that dynamically loads tools from an external JSON file configured via an environment variable.
Clay MCP Server
An MCP server for interacting with the Clay API, which requires a Clay API key.