drio
Open app

Design Tokens - MCP Server

Source

Um server MCP para o figma. Cria imagens também.

Catalog onlyCatalog onlySTDIO

Overview

The Design Tokens - MCP Server is a tool that provides a Model Context Protocol (MCP) server for extracting design tokens from Figma and converting them into a structured format for use in Flutter and React applications.

To use the server, you need to install it via Smithery or directly from GitHub, configure your Figma API key, and then analyze your Figma design to extract tokens.

  • Extraction of Tokens from Figma: Analyzes Figma designs and extracts color, typography, spacing tokens, etc. - Generation of Structured JSON: Creates a JSON file of design tokens following industry best practices. - Support for Multiple Themes: Includes support for light and dark themes. - Platform-Specific Configurations: Provides settings for Web (CSS/SCSS), iOS (SwiftUI), and Android (Jetpack Compose). - Integrated Documentation: Includes metadata and descriptions to facilitate developer use.
  1. Extracting design tokens for a mobile application.
  2. Synchronizing design updates from Figma to development environments.
  3. Implementing design systems in Flutter and React applications.

Add to your AI client

Use these steps to connect Design Tokens - MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "jhony-mcp-joao-loker": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-jhony-mcp-joao-loker"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "jhony-mcp-joao-loker": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-jhony-mcp-joao-loker"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "jhony-mcp-joao-loker": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-jhony-mcp-joao-loker"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "jhony-mcp-joao-loker": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-jhony-mcp-joao-loker"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "jhony-mcp-joao-loker": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-jhony-mcp-joao-loker"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "jhony-mcp-joao-loker": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-jhony-mcp-joao-loker"
      ]
    }
  }
}

FAQ

Can the server extract tokens from any Figma design?

Yes! As long as the design is accessible and follows the required format.

Is there a cost to use the Design Tokens - MCP Server?

No! The server is free to use for everyone.

What are the prerequisites for using the server?

You need Node.js v18.0.0 or higher and a Figma API key.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2430,"uuid":"c2d99d2d-215c-4747-9509-4c55503c2945","name":"jhony-mcp","title":"Design Tokens - MCP Server","description":"Um server MCP para o figma. Cria imagens também.","avatar_url":"https://avatars.githubusercontent.com/u/153624065?v=4","created_at":"2025-03-13T07:53:28.305Z","updated_at":"2025-03-13T11:30:58.815Z","status":"created","author_name":"joao-loker","author_avatar_url":"https://avatars.githubusercontent.com/u/153624065?v=4","tags":"design-tokens,mcp-server,figma-integration","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/joao-loker/jhony-mcp","target":"_self","content":"$29","summary":"$2a","img_url":"https://camo.githubusercontent.com/5364dc7af6b9df1e8c5fed5a995ebec85398c35c97a9b2aea584be06a4c99ba8/68747470733a2f2f736d6974686572792e61692f62616467652f406a6f616f2d6c6f6b65722f6a686f6e792d6d6370","type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-12 19:02:17\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]