Skip to main content

MCP Tools Reference

The Tokencraft hosted MCP server provides 24 tools for managing design tokens.

📥 Import Tools

Bulk import tokensets, modes, and tokens in a single operation.
  • bulk_import — Import collections JSON into a workspace (creates tokensets, modes, and tokens). Requires write:tokens scope.

bulk_import format

Returns a summary: tokensets_created, modes_created, tokens_created, and the list of created tokensets.

🏢 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.

Quick Start

  1. Connect: Use OAuth — add https://app.tokencraft.dev/api/mcp in your MCP client
  2. Start with workspaces: Use list_workspaces to see what you have
  3. Explore tokensets: Use list_tokensets to see tokensets in a workspace
  4. Bulk import: Use bulk_import to load tokensets from JSON
  5. 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 OAuth via the hosted MCP server. The client obtains a Bearer token after browser consent.

See Also