← Back to editor

Wiretext MCP Server

An MCP server that lets AI assistants generate wireframes programmatically. Returns editable Wiretext URLs or renders ASCII art directly.

Install

Claude Code

claude mcp add wiretext -- npx -y @wiretext/mcp

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "wiretext": {
      "command": "npx",
      "args": ["-y", "@wiretext/mcp"]
    }
  }
}

Cursor

.cursor/mcp.json

{
  "mcpServers": {
    "wiretext": {
      "command": "npx",
      "args": ["-y", "@wiretext/mcp"]
    }
  }
}

Codex

~/.codex/config.toml

[mcp_servers.wiretext]
command = "npx"
args = ["-y", "@wiretext/mcp"]

Tools

create_wireframe

Generate an editable Wiretext URL from wire objects. Returns a shareable link that opens in the editor.

render_wireframe

Render wire objects as ASCII art. Useful for previewing layouts inline.

Components

Primitives: box, text, line, arrow

TypeDescriptionKey Props
buttonClickable buttonlabel, icon, align
inputText input fieldlabel, icon
selectDropdown selectlabel
checkboxCheckbox with labellabel, checked
radioRadio buttonlabel, checked
toggleOn/off switchlabel, checked
tableData tablecolumns, rows, filterable
modalModal dialoglabel
browserBrowser windowlabel (URL)
cardContent cardlabel (title)
navbarNavigation barnavItems
tabsTab bartabs
progressProgress barprogress (0-100)
iconSingle icon charactericon
imageImage placeholderlabel, icon
alertAlert bannerlabel, alertType
avatarUser avatarlabel (initials), icon
dividerHorizontal rulelabel
breadcrumbBreadcrumb navitems, separator
listBulleted/numbered listitems, listStyle
stepperStep indicatoritems, activeStep
ratingDot ratingvalue, maxValue
skeletonLoading placeholderwidth, height

Example

[
  {
    "type": "component",
    "componentType": "navbar",
    "position": { "col": 0, "row": 0 },
    "width": 50,
    "navItems": ["Home", "Products", "About"]
  },
  {
    "type": "component",
    "componentType": "breadcrumb",
    "position": { "col": 2, "row": 4 },
    "items": ["Home", "Products", "Laptops"]
  },
  {
    "type": "component",
    "componentType": "card",
    "position": { "col": 2, "row": 6 },
    "width": 22, "height": 10,
    "label": "MacBook Pro"
  },
  {
    "type": "component",
    "componentType": "rating",
    "position": { "col": 4, "row": 13 },
    "value": 4, "maxValue": 5
  }
]