Skip to main content

Model Context Protocol (MCP)

Use your Tokencraft design tokens with AI assistants through natural language. Connect via OAuth — no API key to paste.

Quick start

1

Add the MCP server

URL: https://app.tokencraft.dev/api/mcpIn Cursor: Settings → MCP → add remote server with this URL.
2

Authorize

On first use, your browser opens for OAuth consent. Approve the scopes.
3

Ask

“Show me my workspaces” or “Bulk import these design tokens”
See Configuration and MCP OAuth for details.

What you can do

Browse & Explore

Navigate workspaces, tokensets, modes, and tokens naturally

Bulk import

Import entire tokensets with modes and tokens in one call

Multi-Format Export

Generate CSS, JSON, iOS Swift, Android XML instantly

CRUD Operations

Create, update, and delete tokens via conversation (with write scope)

Supported clients

  • Cursor — remote MCP with OAuth
  • Claude — remote MCP with OAuth
  • Figma plugin — OAuth via browser
  • Any MCP client supporting Streamable HTTP + OAuth

Architecture

Tools (24)

Complete Tools Reference

Resources

Hosted MCP exposes dynamic tokencraft:// resources:

Security

  • Scoped OAuth consent per application
  • Revoke access from API Settings
  • Same rate limits as REST API (100 req/min)

Next Steps

MCP OAuth

OAuth flow and scopes

Configuration

Connect your MCP client

Tools

Tool reference

Examples

Example interactions