Ray Group DeFi UX MCP Server
OfficialThis server gives AI agents structured access to the Ray Group DeFi UX framework — including a scored rubric, named design patterns, and a cognitive-bias glossary — to ground UX assessments in an opinionated methodology rather than generic advice.
Free-text search: Search across the entire corpus (rubric areas, named patterns, and cognitive-bias glossary) using natural language queries like "slippage", "wallet onboarding", or "loss aversion in trading" to surface relevant entries without needing exact slugs.
Retrieve the DeFi UX rubric: Fetch the full 8-area rubric used in Ray Group audits (covering areas like
cognitive-bias-resistance,risk-disclosure,transaction-confirmation,fee-slippage-transparency,error-failure-states,onboarding-first-tx,novice-expert-split, andmobile-ux), or filter to a single area to score a protocol against a structured framework.Look up named UX patterns: Retrieve specific design patterns by slug, category (onboarding, transaction, risk, wallet, trading, error, novice-expert), or rubric area — useful for identifying proven solutions or common failure modes in DeFi product design.
Look up cognitive-bias glossary entries: Fetch definitions and DeFi-specific manifestations of cognitive biases and heuristics (e.g., anchoring, loss aversion, framing effect, choice overload) to anchor UX analysis in well-defined psychological concepts.
Discover corpus structure: Get a top-level overview of all available rubric areas, pattern slugs, and glossary entry slugs in one call — ideal as a first step before making more targeted queries.
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., "@Ray Group DeFi UX MCP Server Search the corpus for wallet onboarding patterns"
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.
Ray Group DeFi UX MCP Server
An MCP server that gives AI agents direct access to the Ray Group DeFi UX rubric, named patterns, and cognitive-bias glossary — the same framework used in Ray Group's audits and taught at EthCC, ETH Prague, and ETH Milan.
Use it in Claude Desktop, Cursor, Codex, or any other MCP-compatible AI client to ground UX assessments in a published, opinionated framework rather than generic advice.
Status: v0.1, free tier. Premium tier (extended corpus, screenshot-based audit feedback, named-protocol case studies) on the roadmap. Join the waitlist at raygroup.uk/products/defi-ux-mcp.
What's inside
Five tools, exposed over stdio:
Tool | What it does |
| Free-text search across the entire corpus (rubric, patterns, glossary). Use as the entry point when you don't know the slug. |
| Returns the eight-area DeFi UX rubric. Optionally filter to a single area. |
| Returns named DeFi UX patterns. Filter by slug, category, or rubric area. |
| Returns a cognitive-bias / heuristic entry with its DeFi-specific manifestation. |
| Returns the structure of the entire corpus — useful as a first call to discover what's available. |
The free-tier corpus ships with:
The full 8-area DeFi UX rubric (
cognitive-bias-resistance,risk-disclosure,transaction-confirmation,fee-slippage-transparency,error-failure-states,onboarding-first-tx,novice-expert-split,mobile-ux)10 named patterns spanning onboarding, transactions, risk, wallets, trading, errors, and novice/expert splits
5 cognitive-bias glossary entries (anchoring, loss aversion, action bias, framing effect, choice overload) with DeFi-specific manifestations and design levers
Related MCP server: WordPress Design System MCP Server
Install
Option A — Run from local clone (today)
git clone https://github.com/raygroup/raygroup-defi-ux-mcp.git
cd raygroup-defi-ux-mcp
npm install
npm run buildThe compiled entry point is at dist/index.js. Point your MCP client at it (instructions per client below).
Option B — Run via npx (once published to npm)
npx -y @raygroup/defi-ux-mcpYou can also configure your MCP client to do this automatically (see below).
Configure in Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"raygroup-defi-ux": {
"command": "node",
"args": ["/absolute/path/to/raygroup-defi-ux-mcp/dist/index.js"]
}
}
}After publishing to npm, this becomes:
{
"mcpServers": {
"raygroup-defi-ux": {
"command": "npx",
"args": ["-y", "@raygroup/defi-ux-mcp"]
}
}
}Restart Claude Desktop. The five tools appear under the MCP icon.
Configure in Cursor
In Cursor, go to Settings → MCP → Add new MCP Server and use:
{
"mcpServers": {
"raygroup-defi-ux": {
"command": "node",
"args": ["/absolute/path/to/raygroup-defi-ux-mcp/dist/index.js"]
}
}
}Or, in ~/.cursor/mcp.json for global access across projects.
Configure in Codex CLI
Add to ~/.codex/config.toml:
[mcp_servers.raygroup-defi-ux]
command = "node"
args = ["/absolute/path/to/raygroup-defi-ux-mcp/dist/index.js"]Try it
Once configured, ask your AI client things like:
"Score this DeFi protocol against the Ray Group DeFi UX rubric."
"What named patterns does Ray Group recommend for transaction confirmation UX?"
"Look up the Ray Group glossary entry for anchoring and apply it to this slippage settings screen."
"Search the Ray Group DeFi UX corpus for everything related to wallet onboarding."
The agent will call into the MCP server, retrieve the relevant entries, and ground its analysis in the Ray Group framework.
Inspect the server interactively
The MCP team ships an inspector that's great for debugging:
npm run inspectThis launches the MCP Inspector against this server, lets you call every tool by hand, and shows the raw JSON-RPC traffic.
What's coming in the premium tier
Extended corpus — 50+ named patterns with named-protocol references; 30+ glossary entries
audit_screenshot— submit a screenshot, receive a structured rubric-aligned auditaudit_protocol— submit a protocol URL, receive a multi-page auditCase studies — anonymised Ray Group audit findings, indexed by protocol type
API-key auth + hosted transport — so you can use it from cloud-hosted agents, not just locally
Premium tier ships with a paid MCP API key and an account on raygroup.uk/products/defi-ux-mcp. The free tier above stays free, forever.
License
MIT. See LICENSE.
Author
Built and maintained by Ray Group — an independent UK-based product practice grounded in human-computer interaction. Founder: Madalina Raicu — Senior UX Engineer specialised in HCI; international speaker on UX in Web3 and DeFi.
Issues, PRs, and content suggestions welcome at github.com/raygroup/raygroup-defi-ux-mcp.
Available Tools
5 toolsget_glossary_entryA
Returns a cognitive-bias / heuristic / principle entry from the Ray Group DeFi UX glossary, with the bias's general definition and its specific manifestation in DeFi product UX. Use when reasoning about a UX decision and you want a named, well-defined cognitive concept to anchor the analysis.
Inputs: slug.
get_patternA
Returns one or more named DeFi UX patterns from the Ray Group library. Patterns are recurring solutions Ray Group has seen ship well in production (or seen fail when absent). Look up a single pattern by slug, or filter by category or by the rubric area the pattern relates to.
Inputs: slug, category, rubricArea.
get_rubricA
Returns the Ray Group DeFi UX rubric — the eight scored areas used in every Ray Group DeFi UX audit and taught in the EthCC, ETH Prague, and ETH Milan talks. Optionally filter to a single area by slug. Use this tool to ground UX assessments in a published, opinionated framework rather than generic advice.
Inputs: area.
list_categoriesA
Returns the top-level structure of the Ray Group DeFi UX MCP corpus — every rubric area, every pattern slug, every glossary entry slug. Use this as a discovery tool before more specific queries: it lets the agent see what's available without exhaustive crawling.
Inputs: no named parameters.
search_defi_uxA
Free-text search across the entire Ray Group DeFi UX corpus — rubric areas, named patterns, and the cognitive-bias glossary. Returns the top matching entries by simple substring relevance. Use this when the agent has a specific question (e.g. 'slippage', 'wallet onboarding', 'loss aversion in trading') and wants the most relevant entries surfaced without knowing the exact slug.
Inputs: query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose: retrieving a glossary entry, a pattern, a rubric, listing all categories, or free-text searching. There is no ambiguity or overlap.
All tools follow a consistent verb_noun pattern using lowercase snake_case: get_glossary_entry, get_pattern, get_rubric, list_categories, search_defi_ux. The verbs (get, list, search) are descriptive and predictably used.
With 5 tools, the server is well-scoped for its purpose—a curated knowledge base of DeFi UX concepts. Each tool covers a necessary operation: retrieval by identifier, listing structure, and full-text search.
The set covers the core read operations: retrieve individual items, list available slugs, and search. A minor gap is the lack of batch retrieval (e.g., get all patterns), but list_categories combined with individual get tools suffices for the domain.
Maintenance
Related MCP Connectors
Read-only canon of design and copy rules for AI agents to audit generated UI, served as resources.
Human know-how for AI agents: rules, reasons and checks for design, code, product and writing.
AI Agent Utility Layer for agent safety, web monitoring, crypto research and tool discovery.
Read-only tools over the Safer Agentic AI framework: 239 patterns + 15 heuristics.
Related MCP Servers
- AlicenseAqualityBmaintenanceProvides deterministic, read-only design knowledge for AI coding agents to help them choose visual directions, plan UI states, and compose design tokens, all without network access.659 npm28MIT
- AlicenseNot gradedqualityDmaintenanceProvides AI agents with component documentation, usage examples, and design tokens from the WordPress Design System, enabling them to follow the latest design system guidance for creating user interfaces.GPL 2.0
- AlicenseBqualityDmaintenanceProvides AI agents with research tools for AI agent ecosystem analysis, DeFi protocol analysis, and general market research.329 npmMIT
- FlicenseNot gradedqualityCmaintenanceProvides AI agents with architecture decision records, project conventions, and real codebase usage data so they can understand why, when, and where to use design system components.-