Token Fluid CSS logo

Token Fluid CSS

by Arifa AkterUpdated Jun 2, 2026

Converts design tokens into CSS custom properties and Tailwind configuration files. Generates fluid typography and spacing scales using clamp() functions for viewport-adaptive sizing. Frontend developers and UI engineers use it to produce responsive CSS themes from token JSON without external dependencies.

design-tokenscss-variablestailwind+1

Start using this server

Get Pro →

Connect Token Fluid CSS

Pick where you'll use it. We'll show the one step you need.

  1. Get access

    Pro · $15/mo. Create an account and pick a plan to get your API key.

    Get Pro
  2. Add it to Claude

    Opens Claude with this server filled in as a custom connector. Click Add, then Connect and sign in with MCPize. Works on claude.ai, Claude Desktop and mobile.

    Unlocks once you have access above

    On Claude Team and Enterprise, only organization Owners can add custom connectors.

    Using Claude Code?

    terminal
    claude mcp add --transport http --scope user token-fluid-css-mcp https://token-fluid-css-mcp.mcpize.run --header "Authorization: Bearer YOUR_API_KEY"
    Manual setup & config

    Paste this JSON config

    JSON
    {
      "mcpServers": {
        "token-fluid-css-mcp": {
          "type": "http",
          "url": "https://token-fluid-css-mcp.mcpize.run",
          "headers": {
            "Authorization": "Bearer YOUR_API_KEY"
          }
        }
      }
    }

    Config file: Claude Code: .mcp.json (project) or ~/.claude.json (user). claude.ai, Claude Desktop and mobile: use Add to Claude above.

    Subscribe to get your API key

Config files for Claude, Cursor and VS Code

Replace the YOUR_ placeholder values with your own API key or credentials.

Claude Code

Run in your terminal.

claude mcp add --transport http --scope user token-fluid-css-mcp https://token-fluid-css-mcp.mcpize.run --header "Authorization: Bearer YOUR_API_KEY"

Cursor

Add to ~/.cursor/mcp.json, or .cursor/mcp.json in your project.

{
  "mcpServers": {
    "token-fluid-css-mcp": {
      "url": "https://token-fluid-css-mcp.mcpize.run",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

VS Code

Run in your terminal, or add the server to .vscode/mcp.json.

code --add-mcp '{"name":"token-fluid-css-mcp","type":"http","url":"https://token-fluid-css-mcp.mcpize.run","headers":{"Authorization":"Bearer YOUR_API_KEY"}}'

About Token Fluid CSS

Overview

Token Fluid CSS is an MCP server that processes design tokens to output CSS custom properties (variables) and Tailwind CSS theme configurations. It computes fluid scales for typography and spacing via CSS clamp() functions, ensuring elements scale smoothly across viewport sizes from mobile to desktop. All processing occurs locally with no reliance on external APIs.

Key Capabilities

  • Token to CSS conversion: Parses JSON design tokens (e.g., colors, sizes) and emits --token-name: value; declarations in a CSS file.
  • Tailwind theme generation: Produces tailwind.config.js with theme extensions for colors, spacing, font sizes derived from tokens.
  • Fluid typography scales: Calculates clamp(min, ideal, max) values for font sizes based on token inputs, enabling text that reflows responsively.
  • Fluid spacing scales: Applies similar clamp-based computation to margins, paddings, and gaps for consistent responsive layouts.

Use Cases

  1. Design system integration: Feed Figma-exported tokens into the server to generate CSS variables and Tailwind config, then import into a Next.js project for theme consistency.

  2. Responsive component library: Use fluid typography output to style headings in a React component set, where font sizes adapt without media queries.

  3. Prototype theming: Quickly convert ad-hoc token sets to CSS for Tailwind prototypes, testing spacing scales across device sizes.

  4. Migration from static CSS: Replace fixed rem/em values with clamp-based scales from tokens, refactoring a site's global styles for better fluidity.

Who This Is For

Frontend developers working with Tailwind CSS or CSS-in-JS, UI engineers maintaining design systems, and teams transitioning from static to token-driven styles. Ideal for those needing local, dependency-free token processing in build pipelines or editors.

Tools

Loading reviews...

Developer

AA
@arifa.abit