Language Server Features

Reference

Commands

mcp

Launch a Model Context Protocol (MCP) server for AI-assisted development with design tokens. The server communicates over stdin/stdout using JSON-RPC.

Usage:
  asimonim mcp

The MCP server discovers tokens from:

  • Local token files specified in .config/design-tokens.yaml
  • npm/jsr dependencies with designTokens field or export condition
  • Resolver documents referenced in config

Tools

ToolDescription
validate_tokensValidate token files for correctness, detect circular references, report deprecated tokens
search_tokensSearch tokens by name, value, description, or type with regex support
convert_tokensConvert tokens to CSS, SCSS, JavaScript, Swift, Android XML, or other formats

Resources

URIDescription
asimonim://tokensList available token sources with counts
asimonim://tokens/{source}All tokens from a specific source
asimonim://token/{source}/{path}Individual token detail
asimonim://configWorkspace configuration

Example (Claude Code settings.json)

{
  "mcpServers": {
    "asimonim": {
      "command": "asimonim",
      "args": ["mcp"]
    }
  }
}