@mindstone-engineering/mcp-server-napkin
v0.3.0
Published
Napkin AI visual generation MCP server for Model Context Protocol hosts
Readme
@mindstone-engineering/mcp-server-napkin
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.
Requirements
- Node.js 20+
- npm
Quick Start
Install & build
cd <path-to-repo>/connectors/napkin
npm install
npm run buildnpx (once published)
npx -y @mindstone-engineering/mcp-server-napkinLocal
node dist/index.jsConfiguration
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
{
"mcpServers": {
"Napkin": {
"command": "npx",
"args": ["-y", "@mindstone-engineering/mcp-server-napkin"],
"env": {
"NAPKIN_API_KEY": "your-api-key"
}
}
}
}Local development (no npm publish needed)
{
"mcpServers": {
"Napkin": {
"command": "node",
"args": ["<path-to-repo>/connectors/napkin/dist/index.js"],
"env": {
"NAPKIN_API_KEY": "your-api-key"
}
}
}
}Tools (4)
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 requestnapkin_download_visual— Download a generated visual file to disk
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.
