An MCP server that lets AI assistants generate wireframes programmatically. Returns editable Wiretext URLs or renders ASCII art directly.
claude mcp add wiretext -- npx -y @wiretext/mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"wiretext": {
"command": "npx",
"args": ["-y", "@wiretext/mcp"]
}
}
}.cursor/mcp.json
{
"mcpServers": {
"wiretext": {
"command": "npx",
"args": ["-y", "@wiretext/mcp"]
}
}
}~/.codex/config.toml
[mcp_servers.wiretext] command = "npx" args = ["-y", "@wiretext/mcp"]
Generate an editable Wiretext URL from wire objects. Returns a shareable link that opens in the editor.
Render wire objects as ASCII art. Useful for previewing layouts inline.
Primitives: box, text, line, arrow
| Type | Description | Key Props |
|---|---|---|
| button | Clickable button | label, icon, align |
| input | Text input field | label, icon |
| select | Dropdown select | label |
| checkbox | Checkbox with label | label, checked |
| radio | Radio button | label, checked |
| toggle | On/off switch | label, checked |
| table | Data table | columns, rows, filterable |
| modal | Modal dialog | label |
| browser | Browser window | label (URL) |
| card | Content card | label (title) |
| navbar | Navigation bar | navItems |
| tabs | Tab bar | tabs |
| progress | Progress bar | progress (0-100) |
| icon | Single icon character | icon |
| image | Image placeholder | label, icon |
| alert | Alert banner | label, alertType |
| avatar | User avatar | label (initials), icon |
| divider | Horizontal rule | label |
| breadcrumb | Breadcrumb nav | items, separator |
| list | Bulleted/numbered list | items, listStyle |
| stepper | Step indicator | items, activeStep |
| rating | Dot rating | value, maxValue |
| skeleton | Loading placeholder | width, height |
[
{
"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
}
]