Skip to main content

MCP Tools Reference

The Tokencraft MCP server provides comprehensive tools for managing design tokens across workspaces, tokensets, modes, and tokens. All tools are organized into the following categories:

🏢 Workspace Tools

Manage your design system workspaces.

📦 Tokenset Tools

Manage tokensets within workspaces.

🎨 Mode Tools

Manage modes within tokensets (light/dark themes, etc.).

🏷️ Token Tools

Manage individual design tokens.

📤 Export Tools

Export tokens in various formats for use in your projects.

🔍 Helper Tools

Utilities for searching and discovering tokens.

Quick Start

  1. Start with workspaces: Use list_workspaces to see what you have
  2. Explore tokensets: Use list_tokensets to see tokensets in a workspace
  3. Find tokens: Use search_tokens or find_tokens_by_type to locate specific tokens
  4. Export for use: Use export_tokenset to get tokens in your preferred format

Tool Categories

Read Operations

Most tools are read-only and help you explore your design tokens:
  • list_* tools for browsing
  • get_* tools for details
  • search_* and find_* tools for discovery

Write Operations

Tools that modify your design tokens:
  • create_* tools for new resources
  • update_* tools for modifications
  • delete_* tools for removal

Export Operations

Tools for getting tokens in various formats:
  • JSON, CSS, iOS, Android formats supported
  • Export entire tokensets or specific modes

Authentication

All tools require authentication with your Tokencraft API token. Make sure to configure your MCP server with a valid token before use.

See Also