
Napkin
io.github.mindstone由 GitHub 账号 mindstone 发布v0.4.1更新于 Oct 25, 2026
Napkin AI visual generation MCP server for Model Context Protocol hosts
概览
Napkin 是一个本地 MCP 服务器,让助手根据文字生成 Napkin AI 图表、信息图和插画等视觉内容,查询生成状态并下载结果。
- 可以做什么
- 根据文字描述生成专业视觉内容,可选择内置样式并附带上下文文本。查询视觉生成请求的状态。将生成好的视觉文件下载到磁盘,且不会覆盖已有文件。列出 15 种内置视觉样式,此操作无需 API 密钥或网络请求。在会话中配置 Napkin AI API 密钥。
- 适用场景
- 适合希望助手把文字说明转成图表、信息图或插画并保存到本地的场景,而不是只用文字描述视觉内容。适用于可提供 Napkin AI API 密钥的桌面 MCP 宿主。
- 运行要求
- 通过 npx 在本地运行,需要 Node.js 20+ 和 npm。需要 NAPKIN_API_KEY 中的 Napkin AI API 密钥,并能访问 Napkin API 网络。可选设置:MCP_WORKSPACE_PATH 指定生成视觉内容的保存目录,NAPKIN_REQUEST_TIMEOUT_MS 设置外部请求超时(默认 60 秒,最长 30 分钟)。
安装
在 SourceWeft 中
- 打开 控制台中的 Napkin,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@mindstone/mcp-server-napkin
[npm version] [License: FSL-1.1-MIT]
Napkin AI visual generation MCP server for Model Context Protocol hosts. Generate professional visuals — diagrams, infographics, and illustrations — from text descriptions, check generation status, and download results through a standardised MCP interface.
Status
- Version: 0.4.1 · npm
- Auth: API key (
NAPKIN_API_KEY) - Tools: 5 (visuals, downloads, styles)
- Surface: cloud-api
- Machine-readable:
STATUS.json
Note: The Napkin API is currently a developer preview (see api.napkin.ai). Endpoints and behavior may change; report upstream issues to [email protected]. Older guides reference
context_before/context_afterparameters — Napkin deprecated these in favor of the singlecontextparameter, whichnapkin_generate_visualsupports.
Requirements
- Node.js 20+
- npm
One-click install
[Add to Cursor] [Add to VS Code] [Add to VS Code Insiders]
After clicking the button, your host will prompt you to fill: NAPKIN_API_KEY, NAPKIN_REQUEST_TIMEOUT_MS.
Manual config for Claude Desktop / Claude Code / Goose / Continue.dev (Napkin)
Quick Start
Install & build
npx (once published)
Local
Configuration
Environment variables
NAPKIN_API_KEY— Napkin AI API keyMCP_WORKSPACE_PATH— optional workspace path for saving generated visualsMCP_HOST_BRIDGE_STATE— optional path to a host bridge state file used for credential managementMINDSTONE_REBEL_BRIDGE_STATE— backwards-compatible alias forMCP_HOST_BRIDGE_STATENAPKIN_REQUEST_TIMEOUT_MS— optional override (positive integer ms, max 30 min) for the outbound HTTP request timeout applied to Napkin API, host-bridge, and download calls. Default:60000(60s). Raise this if you seeTIMEOUTerrors on slow submits or large downloads; lower it if you want tighter bounds.
Host configuration examples
Claude Desktop / Cursor
Local development (no npm publish needed)
Tools (5)
Configuration
configure_napkin_api_key— Configure the Napkin AI API key
Generation
napkin_generate_visual— Generate a professional visual from textnapkin_check_status— Check the status of a visual generation request (vendor-authored free text — warning/error messages andvisual_query— is wrapped in<untrusted-content>envelopes so hosts treat it as data; codes, IDs, and URLs stay raw, with their machine-identifier charset enforced by response validation)napkin_download_visual— Download a generated visual file to disk (existing files are never overwritten — pass a differentfilenameor omit it to auto-generate one). Redirects are re-validated against the Napkin host allow-list before being followed; off-list redirect targets are refused.
Styles
napkin_list_styles— List the 15 built-in Napkin visual styles (IDs, descriptions, categories) to pick astyle_idfornapkin_generate_visual. Static catalog; no API key or network call required.
Licence
FSL-1.1-MIT — Functional Source License, Version 1.1, with MIT future licence. The software converts to MIT licence on 2030-04-08.
来源:connectors/napkin/README.md,提交 22c4611
工具
0版本历史
1- v0.4.1最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。