Skip to content

v0.3.0

Latest

Choose a tag to compare

@bennypowers bennypowers released this 27 Mar 09:54
· 6 commits to main since this release

MCP Server

Asimonim now includes a Model Context Protocol (MCP) server, enabling AI assistants to work with design tokens directly.

Tools

  • validate_tokens - Validate token files, detect circular references, report deprecated tokens
  • search_tokens - Search tokens by name, value, description, or type with regex support
  • convert_tokens - Convert tokens to CSS, SCSS, JavaScript, Swift, Android XML, and other formats

Resources

  • asimonim://tokens - List available token sources with counts
  • asimonim://tokens/{source} - All tokens from a specific source
  • asimonim://token/{source}/{path} - Individual token detail
  • asimonim://config - Workspace configuration

Token Discovery

The MCP server reuses the existing token discovery pipeline:

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

Usage

# Direct usage
asimonim mcp

# Claude Code plugin
/plugin marketplace add bennypowers/asimonim
/plugin install asimonim

Claude Code Plugin

The Claude Code plugin now registers the MCP server alongside the existing LSP, giving AI assistants both editor intelligence and programmatic token access.

Mixed-Schema Workspaces

Alias resolution now uses each token's own schema version rather than a single global version, so workspaces mixing Draft and V2025.10 files resolve JSON Pointer references correctly.