ASCIIFlow MCP Server
Click on "Install 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., "@ASCIIFlow MCP ServerDraw an ASCII wireframe for a simple login page"
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.
ASCIIFlow MCP Server
An MCP (Model Context Protocol) server that exposes ASCIIFlow's drawing primitives as tools, enabling AI assistants to generate ASCII wireframes directly from PRDs or natural language descriptions.
Installation
Requires Node.js >= 20.
Recommended: Global installation from source
# Clone the repository with submodules
git clone --recurse-submodules https://github.com/bobooooo/asciiflow-mcp.git
cd asciiflow-mcp
# Install dependencies
npm install
# Install globally
npm install -g .If you already cloned without --recurse-submodules, initialize the submodule:
git submodule update --init --recursiveAlternative: Direct use with npx (may be slower)
npx -y github:bobooooo/asciiflow-mcpNote: This package uses a git submodule for the ASCIIFlow client library. When cloning, use
--recurse-submodulesto automatically fetch the required dependencies.
Related MCP server: tl-draw-mcp
Claude Desktop Configuration
For global installation (recommended):
Add the following to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"asciiflow": {
"command": "asciiflow-mcp"
}
}
}For npx:
{
"mcpServers": {
"asciiflow": {
"command": "npx",
"args": ["-y", "github:bobooooo/asciiflow-mcp"]
}
}
}Then restart Claude Desktop.
Available Tools
Tool | Parameters | Description |
| — | 创建/重置一个空白画布 |
|
| 在画布上绘制矩形框。 |
|
| 在两点之间绘制折线(先水平后垂直) |
|
| 在两点之间绘制带箭头的连线,箭头指向终点 |
|
| 在指定坐标添加文字,支持 |
| — | 导出当前画布为 ASCII 文本 |
| — | 预览当前画布状态(与 |
|
| 批量执行绘图指令并返回最终结果。 |
All coordinates are in character-grid units (columns / rows).
Example Usage
Single Tool Calls
Prompt Claude with:
帮我根据这个 PRD 生成登录页面的 ASCII 线框图:用户需要输入邮箱和密码,点击登录按钮后跳转到主页,底部有"忘记密码"和"注册"链接。
Claude will call the MCP tools sequentially and produce output like:
┌────────────────登录────────────────┐
│ │
│ │
│ 邮箱: │
│ ┌──────────────────────────────┐ │
│ │ │ │
│ └──────────────────────────────┘ │
│ │
│ 密码: │
│ ┌──────────────────────────────┐ │
│ │ │ │
│ └──────────────────────────────┘ │
│ │
│ ┌─────登 录──────┐ │
│ │ │ │
│ └──────────────┘ │
│ │
│ 忘记密码? 注册账号 │
│ │
└──────────────────────────────────┘Batch Tool Call
For better performance, use canvas_batch to execute all drawing operations in a single call:
{
"ops": [
{ "op": "canvas_new" },
{ "op": "draw_box", "x": 0, "y": 0, "w": 36, "h": 20, "label": "登录" },
{ "op": "add_text", "x": 2, "y": 3, "text": "邮箱:" },
{ "op": "draw_box", "x": 2, "y": 4, "w": 32, "h": 3 },
{ "op": "add_text", "x": 2, "y": 8, "text": "密码:" },
{ "op": "draw_box", "x": 2, "y": 9, "w": 32, "h": 3 },
{ "op": "draw_box", "x": 10, "y": 13, "w": 16, "h": 3, "label": "登 录" },
{ "op": "add_text", "x": 3, "y": 17, "text": "忘记密码?" },
{ "op": "add_text", "x": 22, "y": 17, "text": "注册账号" }
]
}Development
For Contributors
To modify the source code and rebuild:
# Clone with submodules
git clone --recurse-submodules https://github.com/bobooooo/asciiflow-mcp.git
cd asciiflow-mcp
# Install dependencies
npm install
# Build
npm run build
# Test locally
npm linkThe build process uses the ASCIIFlow client library from the client-repo submodule.
Run tests:
npm testRepository
Main repository: https://github.com/bobooooo/asciiflow
MCP package: https://github.com/bobooooo/asciiflow-mcp
License
MIT
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI agents to programmatically generate, edit, and view Excalidraw diagrams with real-time browser synchronization. It provides a suite of tools for adding shapes, text, and arrows to diagrams through natural language interactions.112,21498MIT
- Alicense-qualityDmaintenanceEnables Claude to draw on a live tldraw canvas from prompts, with real-time visualization in a browser. Provides tools for creating, updating, deleting shapes and retrieving canvas state.14MIT
- AlicenseBqualityBmaintenanceEnables AI assistants to create, animate, and export ASCII art using natural language, with live browser sync.96368MIT
- Alicense-qualityDmaintenanceEnables AI agents to create, modify, and share diagrams on a live Excalidraw canvas through MCP tools, supporting shapes, text, arrows, batch operations, and export to shareable links with images.1,3598MIT
Related MCP Connectors
Create, validate, edit, export (markdown/svg/png/mermaid), and search JSON Canvas files.
Generate cloud architecture diagrams, flowcharts, and sequence diagrams.
AI agent draws editable hand-drawn diagrams (flowchart, ER, architecture) via MCP, not static images
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bobooooo/asciiflow-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server