
Lousa
io.github.henriquepe由 GitHub 账号 henriquepe 发布v0.1.1更新于 Oct 24, 2026
A whiteboard where AI agents draw their explanations as hand-drawn animated diagrams
概览
Lousa 是一个本地 MCP 服务器加网页查看器,让 AI 智能体在实时白板上以手绘动画示意图的方式画出讲解内容。
- 可以做什么
- 根据由方框、箭头、圆柱、便签和文字组成的声明式场景创建白板,返回白板 id 和查看器链接,并可替换场景,使只有改动的元素重新播放动画。读取单个白板或列出白板,完成后删除白板。读取用户在查看器中选中的元素,让智能体精确针对这些元素操作。在浏览器标签页中逐笔渲染成手绘风格示意图。
- 适用场景
- 适合希望智能体以可视化方式而非大段文字讲解架构、流程或概念时使用,也适合在查看器中点选元素、实时迭代示意图的场景。
- 运行要求
- 通过 npx 作为本地进程运行,需要 Node.js 18.17 或更高版本;stdio 端点会自动启动本地服务器,查看器位于 127.0.0.1:4666。自建共享服务器时使用 LOUSA_TOKEN、LOUSA_URL、LOUSA_BUCKET、LOUSA_DATA_DIR 等环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Lousa,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Lousa
A whiteboard where your AI agent draws its explanations.
[Your agent drawing a rate limiter explanation, stroke by stroke]
Ask your agent "explain this visually" and it sketches an animated, hand-drawn diagram on a live board — instead of another wall of text. Lousa is an MCP server + web viewer: the agent authors a declarative scene (boxes, arrows, cylinders, notes), and the board renders it stroke by stroke, as if someone were drawing it in front of you.
Lousa is Portuguese for the classic school blackboard.
Why it's different
- The agent is the artist. No prompt box, no OCR — your coding agent already has the context and draws through typed MCP tools.
- Live, incremental drawing. Follow-ups edit the scene; the open tab animates only what changed, like watching the diagram evolve.
- Point at things. Click elements in the viewer to select them, then tell your agent "improve what I selected" — it reads your selection through
get_selectionand targets exactly that. - Boards expire by default (12h, sliding) — a whiteboard, not a document graveyard.
ttlHours: 0keeps a board forever.
Quick start
Requires Node.js 18.17+.
Any MCP host works — for stdio configuration use command npx, args ["-y", "lousa", "mcp"]. The stdio endpoint auto-starts the local server, so the viewer is always available. Then ask your agent to "draw how our auth flow works" and open the URL it returns.
MCP tools
The scene is a JSON array of elements — box, ellipse, diamond, cylinder, arrow (connects ids), line, text, note — rendered with rough.js. The full schema ships inside the tool definitions; agents need no extra setup.
Self-hosting a shared server
Run lousa on any Node host and point machines at it:
LOUSA_TOKEN gates board listing/creation/deletion and /mcp; per-board URLs act as capability links. AWS Lambda + S3 deployment is supported out of the box (lambda.js handler + LOUSA_BUCKET for storage); any HTTPS front (API Gateway, etc.) works.
Development
License
AGPL-3.0 © Henrique Pires
来源:README.md,提交 c2dd696
工具
0版本历史
1- v0.1.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分