Model Context Protocol (MCP)
Use your Tokencraft design tokens with Claude Desktop through natural language. No more memorizing API endpoints or switching between tools.What You’ll Do in 5 Minutes
- Install the MCP server
- Connect your Tokencraft account
- Ask Claude about your design tokens
Why MCP + Tokencraft?
🎯 Natural Language Access
⚡ Intelligent Workflows
🔍 Smart Search & Discovery
📤 Multi-Format Export
CSS, JSON, iOS (Swift), Android (XML) - all with one command.What You Can Do
Browse & Explore
Navigate workspaces, tokensets, modes, and tokens naturally
Smart Search
Find tokens by name, type, value, or cross-reference relationships
Multi-Format Export
Generate CSS, JSON, iOS Swift, Android XML instantly
System Analysis
Get statistics, compare modes, audit token usage
Real Examples
Quick Lookups
Smart Search
Instant Export
System Analysis
Supported Clients
The Tokencraft MCP server works with any MCP-compatible client:- Claude Desktop (Mac, Windows)
- Claude for VS Code
- Cline (VS Code extension)
- Any custom MCP client
Architecture
Quick Start (5 minutes)
1
Install
2
Get API Token
Visit app.tokencraft.dev/api-settings → “New Token”
3
Configure Claude
Add to Claude Desktop settings (see Configuration)
4
Try It
Ask Claude: “Show me my workspaces”
Essential Tools
Start with these 4 tools:| Tool | What it does |
|---|---|
list_resources | First tool to use - Shows all workspaces/tokensets/modes with IDs |
search_tokens | Search across everything by name, type, or value |
find_tokens_by_type | Find all colors, spacing, etc. (no IDs needed) |
export_mode | Export tokens as CSS, JSON, iOS, Android |
Resources Available
| Resource | Description |
|---|---|
workspace://{id} | Access workspace data |
tokenset://{id} | Access tokenset data |
tokens://{tokensetId}/{modeId} | Access token data |
Security
- API tokens are stored securely in your MCP configuration
- All requests are authenticated
- Same permissions as REST API
- Rate limits apply (100 req/min)