MCP Server for Optics Design System documentation and token usage.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Optics MCP.
get_tokenGet detailed information about a specific design token.
search_tokensSearch for design tokens by category or name pattern.
get_token_usage_statsGet statistics about design token usage across the system.
get_component_infoGet detailed information about a component including its design token dependencies.
list_componentsList all available components in the design system.
get_component_tokensGet all design tokens used by a specific component.
A Model Context Protocol (MCP) server for the Optics Design System, enabling LLMs to understand and work with design tokens, components, and documentation from https://docs.optics.rolemodel.design.
If you're an AI agent, read SYSTEM_OVERVIEW.md FIRST!
Optics uses a sophisticated HSL-based color system that's different from typical design systems. The system overview explains:
--color-primary token (use --op-color-primary-base instead)Key insight: Optics has 500+ color tokens organized as a predictable scale system, not simple name-value pairs.
This MCP server provides 14 tools and resources for working with the Optics design system:
Quick Setup:
Or create .vscode/mcp.json in your workspace with the same config.
Official MCP Registry: Listed at registry.modelcontextprotocol.io β
One-Click Install (click to open Cursor):
Or Manual Setup:
The easiest way to use Optics MCP - no installation required!
Add to your MCP configuration:
Add with a single command:
Other useful commands:
That's it! The server runs automatically whenever your MCP client needs it.
If you want to modify the server or contribute:
Then configure with the local path:
For detailed documentation of all tools, see TOOLS.md.
get_tokenGet detailed information about a specific design token.
search_tokensSearch for design tokens by category or name pattern.
get_token_usage_statsGet statistics about design token usage across the system.
get_component_infoGet detailed information about a component including its design token dependencies.
list_componentsList all available components in the design system.
get_component_tokensGet all design tokens used by a specific component.
search_documentationSearch through Optics documentation.
generate_themeCreate a custom branded theme with CSS variables and Figma Variables JSON.
validate_token_usageFind hard-coded values in code that should use design tokens.
replace_hard_coded_valuesAutomatically replace hard-coded values with design tokens.
check_contrastCheck WCAG color contrast ratios between tokens.
suggest_token_migrationSuggest tokens for legacy code migration.
generate_component_scaffoldGenerate component code with Optics tokens.
generate_sticker_sheetGenerate a visual style guide showing all design tokens and components.
The server exposes the following resources via the optics:// URI scheme:
optics://documentation/introduction - Overview of Opticsoptics://documentation/getting-started - Getting started guideoptics://documentation/design-tokens - Design token documentationoptics://documentation/color-system - Color system guideoptics://documentation/spacing - Spacing system guideoptics://documentation/typography - Typography guideoptics://documentation/components - Component library overviewoptics://documentation/accessibility - Accessibility guidelinesoptics://tokens/all - All design tokensoptics://tokens/color - Color tokens onlyoptics://tokens/spacing - Spacing tokens onlyoptics://tokens/typography - Typography tokens onlyoptics://components/all - All componentsFactual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/optics-mcp-2)<a href="https://allmcps.com/mcp/optics-mcp-2"><img src="https://allmcps.com/api/badge/optics-mcp-2?style=directory" alt="Optics MCP on AllMCPs" /></a>