UXonFly
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@UXonFly pull the button spec and form UX pattern before building the signup screen"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
UXonFly
An open-source design system for AI coding sessions. Strong opinions. MIT licensed.
What this is
Every AI coding session starts blind. Generic shadcn components. Default Tailwind colors. Modal-inside-a-modal. Empty states with no CTA. Errors in toasts that should be inline. Destructive actions with single-click delete.
UXonFly is a curated set of design and UX rules — tokens, components, UX
patterns, flows, copy rules, and principles — that your AI reads before
generating UI. The rules live in one markdown file: uxonfly.md.
Two ways to use it. Same content, same rules:
As a file — copy
uxonfly.mdinto your project. Your AI reads it natively every session. Zero install.As an MCP server — run
uxonfly-mcpand your AI invokes 7 tools (get_component,get_ux_pattern, …) on demand.
The file install is the recommended starting point. The MCP server is the upgrade for power users who want tool-call precision.
MIT licensed. Fork it. Improve it. Send a PR.
Related MCP server: weave-design-system-mcp
What's in it
5 token categories — colors, typography, spacing, shape, shadows
6 components — button, input, card, badge, modal, toast
9 UX patterns — navigation, modals, forms, loading, empty states, errors, destructive actions, data tables, notifications
3 flows — empty-state, onboarding, auth
Copy rules — voice, tense, errors, CTAs, tooltips, placeholders, labels
7 principles — accessibility first, one primary action, error prevention, progressive disclosure, copy-driven, keyboard navigable, trust the system
Strong opinions. Border-first. Modern SaaS aesthetic (Linear / Stripe / Vercel-aligned).
Install option 1 — file (recommended, 30 seconds)
Run one command from your project root. Pick the line for your AI tool — it downloads the rules and saves them with the exact filename your tool auto-loads on every session.
Important: the filename matters. If the file is saved as
uxonfly.md, your AI will not auto-read it. Each command below saves it with the right name in one shot so you can't miss the rename step.
# Claude Code
curl -o CLAUDE.md https://raw.githubusercontent.com/Phanikondru/uxonfly-mcp/main/uxonfly.md
# Cursor
curl -o .cursorrules https://raw.githubusercontent.com/Phanikondru/uxonfly-mcp/main/uxonfly.md
# Windsurf
curl -o .windsurfrules https://raw.githubusercontent.com/Phanikondru/uxonfly-mcp/main/uxonfly.md
# Gemini CLI
curl -o GEMINI.md https://raw.githubusercontent.com/Phanikondru/uxonfly-mcp/main/uxonfly.md
# Zed / Google Antigravity / any tool using the AGENTS.md convention
curl -o AGENTS.md https://raw.githubusercontent.com/Phanikondru/uxonfly-mcp/main/uxonfly.md
# GitHub Copilot
mkdir -p .github && curl -o .github/copilot-instructions.md https://raw.githubusercontent.com/Phanikondru/uxonfly-mcp/main/uxonfly.md
# JetBrains Junie
mkdir -p .junie && curl -o .junie/guidelines.md https://raw.githubusercontent.com/Phanikondru/uxonfly-mcp/main/uxonfly.md
# Aider
curl -o CONVENTIONS.md https://raw.githubusercontent.com/Phanikondru/uxonfly-mcp/main/uxonfly.md
# then run: aider --read CONVENTIONS.mdFilename reference if your tool isn't listed:
AI tool | Save as | Location |
Claude Code |
| project root |
Cursor |
| project root |
Windsurf |
| project root |
Gemini CLI |
| project root |
Zed |
| project root |
Google Antigravity |
| project root |
GitHub Copilot |
|
|
Aider |
| project root |
JetBrains Junie |
|
|
Any other tool |
| project root (emerging universal convention) |
That's it. No npm install, no config, no login. Works with any AI tool that reads project-level context files — which is most of them in 2026.
Verify it's actually loaded (do this once)
The file install has one silent failure mode: if the filename is wrong, your AI won't read it — and you won't know until you get generic UI back. Confirm in 10 seconds by asking your AI:
"What design system rules are you following in this project? List the token categories and components by name."
If it mentions UXonFly, the token categories (colors, typography, spacing, shape, shadows), or components like button / input / card — it's loaded. If it says "I don't see any design system" or invents generic answers, the file isn't being read. Check the filename and location against the table above.
If you want a zero-ambiguity install where the AI is forced to load rules before generating UI, use the MCP server below instead.
Install option 2 — MCP server (power users)
If you want your AI to invoke specific tools (get_component,
get_ux_pattern, get_tokens, …) on demand instead of reading the whole
file every prompt, run UXonFly as a local MCP server.
Published to npm as uxonfly-mcp.
MCP is a standard protocol — any MCP-compatible AI tool can load this server
with the same command: npx -y uxonfly-mcp. Only the config location varies
per tool. Snippets for the most common tools below.
Claude Code
claude mcp add uxonfly -- npx -y uxonfly-mcpCursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"uxonfly": {
"command": "npx",
"args": ["-y", "uxonfly-mcp"]
}
}
}Claude Desktop
On macOS, edit ~/Library/Application Support/Claude/claude_desktop_config.json.
On Windows, edit %APPDATA%\Claude\claude_desktop_config.json.
{
"mcpServers": {
"uxonfly": {
"command": "npx",
"args": ["-y", "uxonfly-mcp"]
}
}
}Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"uxonfly": {
"command": "npx",
"args": ["-y", "uxonfly-mcp"]
}
}
}VS Code (with MCP support)
Add to .vscode/mcp.json in your project root:
{
"servers": {
"uxonfly": {
"type": "stdio",
"command": "npx",
"args": ["-y", "uxonfly-mcp"]
}
}
}Zed
Add to ~/.config/zed/settings.json under context_servers:
{
"context_servers": {
"uxonfly": {
"command": {
"path": "npx",
"args": ["-y", "uxonfly-mcp"]
}
}
}
}Any other MCP-compatible tool
MCP is a standard protocol. The command is always the same across tools:
npx -y uxonfly-mcpGemini CLI, Google Antigravity, JetBrains Junie, and a growing list of other editors and agents support MCP. Consult your tool's documentation for where to register MCP servers, then use the command above.
Tools without MCP support
For tools that don't speak MCP yet (Aider, basic terminal LLM CLIs, older editors), use Install option 1 above. The file install works with any AI that reads project context files.
Install from source (contributors)
If you want to run the MCP server from a local clone — for example, to
modify the base uxonfly.md or the server code — build from source and
point your AI tool at the compiled binary:
git clone https://github.com/Phanikondru/uxonfly-mcp.git
cd uxonfly-mcp
npm install
npm run buildThen in your MCP config, replace npx -y uxonfly-mcp with
node /absolute/path/to/uxonfly-mcp/build/index.js.
Available tools
Tool | When AI calls it | Returns |
| Before any UI task | Full system |
| Before generating a component | Component spec |
| Before writing CSS / Tailwind | Tokens |
| Before any UX decision | Pattern |
| Before any multi-step flow | Flow spec |
| Before writing interface copy | Copy rules |
| Before layout / IA decisions | Principles |
Each tool description begins with ALWAYS call… so your AI invokes them
proactively before generating UI code (the trick: the tool description
itself is the instruction).
Custom rulebook
Point the MCP server at your own version of uxonfly.md via the
UXONFLY_MD_PATH environment variable:
UXONFLY_MD_PATH=/absolute/path/to/your/uxonfly.md npx -y uxonfly-mcpLocal development
git clone https://github.com/Phanikondru/uxonfly-mcp.git
cd uxonfly-mcp
npm install
npm run dev # run with tsx
npm run build # compile to ./build
npm start # run the compiled serverContributing
The whole point of this project: one designer's opinions become a shared standard the community keeps improving. PRs welcome.
How to help:
Open an issue if you think a rule is wrong, missing, or unclear
Send a PR for new components, patterns, or principles you've battle-tested
Add real-world usage examples (apps you've built with
uxonfly.md)
Goal: make UXonFly better than any one designer's taste alone.
About
Built by Phanindhra Kondru — designer with 4 years of production UX experience, building in public.
Just trying to build good things. Design + AI + Code.
UXonFly was built with Gemini, Cursor, and the rules in uxonfly.md
itself — the same system that ships with this package. The tool eats its
own dog food.
Connect
X: @Phanikondru
LinkedIn: Phanindhra Kondru
License
MIT. Use it commercially. Fork it. Modify it. Just keep the LICENSE file.
Available Tools
7 toolsget_componentGet Component SpecA
ALWAYS call this before generating any UI component (button, input, card, badge, modal, toast, etc.). Returns the full component spec: sizes, variants, states, and UX rules. Never improvise component specs.
Inputs: name (required).
get_copy_rulesGet Copy RulesA
ALWAYS call this before writing any interface copy — error messages, CTAs, empty-state text, tooltips, placeholders, labels. Returns tone, voice, tense, and format rules. Never write copy without checking these.
Inputs: no named parameters.
get_design_systemGet UXonFly Design SystemA
ALWAYS call this tool before writing any UI code. Returns the complete 3-layer UXonFly design system for this project: visual language (tokens, components, layout), UX patterns (navigation, modals, forms, loading, empty states, errors, destructive actions, tables, notifications), and product principles. Do not invent design decisions — follow what this tool returns.
Inputs: no named parameters.
get_flowGet UX FlowA
ALWAYS call this before building any multi-step flow. Returns a complete flow spec: all screens, states, transitions, success and error handling. Never design flows from scratch.
Inputs: flow_name (required).
get_rulesGet Product PrinciplesA
ALWAYS call this before making layout or information architecture decisions. Returns all product and design principles for this project: progressive disclosure, primary-action rules, error prevention, copy-driven UI, keyboard navigation, and accessibility.
Inputs: no named parameters.
get_tokensGet Design TokensA
ALWAYS call this before writing CSS, Tailwind config, CSS variables, or any styling code. Returns the complete token set: colors (with all semantic variants), typography scale, spacing scale, border radius, and shadows. Never use values outside these tokens.
Inputs: no named parameters.
get_ux_patternGet UX PatternA
ALWAYS call this before making any UX decision. Covers destructive actions, forms, modals, loading states, empty states, errors, navigation, data tables, and notifications. Returns the correct pattern plus implementation guidance. Never guess at UX decisions.
Inputs: context (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
The narrower tools (get_tokens, get_component, get_ux_pattern, get_rules) each target a distinct slice, but get_design_system explicitly claims to return tokens, components, UX patterns, and principles — i.e. the union of the other four. That overlap makes it unclear whether the aggregate tool supersedes the specific ones or is a required first step. Additionally, every tool description opens with 'ALWAYS call this before X,' giving the agent no priority ordering and creating competing mandates.
Every tool follows the same get_<noun> snake_case pattern: get_design_system, get_component, get_tokens, get_ux_pattern, get_flow, get_copy_rules, get_rules. The noun phrases are readable and predictably scoped.
Seven tools is well within a healthy range and each maps to a coherent layer of a design-system reference (tokens, components, patterns, flows, copy, principles). No obvious filler or redundant tool beyond the aggregate get_design_system.
The surface covers the full design-decision lifecycle — tokens, component specs, UX patterns, multi-step flows, copy rules, and product principles — with no dead ends for the stated read-only purpose. The one gap is discovery: there is no list_components or search tool, so an agent must already know component names to call get_component, though get_design_system partially compensates.
Maintenance
Related MCP Connectors
Give your agent a real design system: tokens, measured WCAG contrast, and rules to follow.
Give AI agents your deeepSpace design system: components, tokens, styles and code mappings.
Live React design-system APIs, patterns, and code validation so AI agents build real UI, not slop.
Design systems your AI agent builds with and you reshape, plus standalone React components.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides AI assistants with access to a production-ready design system including Tailwind CSS component patterns, style guides (colors, typography, spacing), and Web Components specifications for consistent UI development.-
- AlicenseNot gradedqualityBmaintenanceEnables coding agents to query a workspace's design system before writing UI and validate generated code against the same system afterward, using configurable token and component sources.13 npm1MIT
- AlicenseNot gradedqualityCmaintenanceEnables coding agents to retrieve accurate design system information, component APIs, design tokens, and coding standards, so they build with real specs rather than guessing.2MIT
- AlicenseAqualityCmaintenanceA design harness for AI coding agents. Better Design gives an agent design systems, UI and UX principles, icons and UI review: it finds or creates a design system that fits the product and installs its components, explains how sign-up, forms and onboarding should work, and reviews finished screens for readability, accessibility and unclear copy.48603MIT