You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MCP server that exposes the Monospace TUI design system so AI agents in other
projects can query design rules, color palettes, component specs, keyboard
bindings, and archetypes when building terminal user interfaces.
Requirements
Python 3.10+
mcp SDK (pip install mcp)
Configuration
Add to your Claude Code MCP settings (~/.claude/settings.json or project
.mcp.json):
Creates or overwrites a Mono Designer YAML artifact. Automatically runs schema validation and returns the structural ASCII wireframe projection for human review.
design_revise(file_path, json_patch)
Safely updates an existing YAML artifact using a JSON deep-merge patch. Validates the merged result before saving and returns the updated ASCII projection.
design_lint(directory)
Runs the Level 2 (Relational) and Level 3 (Heuristic) Mono Linter against a workspace directory to verify cross-artifact integrity (e.g., workflow links, focus arrays).
Design Consultation (sampling)
Tool
Description
design_consultation(message, session_id?)
Start or continue a multi-turn design consultation. Describe your project and get proposals for workflows, screens, components, keyboard maps, and palettes. Uses MCP sampling to reason with full design system context. Pass session_id from a previous response to continue the conversation.
Workflow Archetypes
Tool
Description
list_workflow_archetypes()
List all 7 workflow archetypes (task-flow patterns)
get_workflow_archetype(name)
Get workflow details: screen sequence, navigation model, keyboard map, layout guidance, state management (wizard, crud, monitor-respond, search-act, drill-down, pipeline, review-approve)
UI Archetypes
Tool
Description
list_archetypes()
List all 5 UI screen archetypes
get_archetype(name)
Get screen archetype details (dashboard, admin, file-manager, editor, fuzzy-finder)
Standard & Reference Sections
Tool
Description
get_standard_section(section)
Read a section of the design standard (layout, keyboard, navigation, components, color, borders, typography, state, accessibility, motion, archetypes)
An agent building a TUI calls individual tools to get specific design data:
workflow/archetype → patterns → layout rules → components → palette →
keyboard → rendering.
Design consultation (agent-to-agent)
An agent describes its project and has a multi-turn conversation with the
design system. The design_consultation tool uses MCP sampling — the
server requests an LLM completion from the client with the full Mono design
system as context. The calling agent provides the reasoning capability; the
server provides the design knowledge. The consultation prompt is
recommendation-forward and pattern-aware: it expects the agent to choose
strong directions, ask focused questions only when ambiguity materially
affects the design, and align the result with Mono patterns rather than
generic TUI advice.