🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@mindstone-engineering/mcp-server-napkin

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mindstone-engineering/mcp-server-napkin

Napkin AI visual generation MCP server for Model Context Protocol hosts

latest
Source
npmnpm
Version
0.3.1
Version published
Weekly downloads
11
-8.33%
Maintainers
1
Weekly downloads
 
Created
Source

@mindstone-engineering/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.

Requirements

  • Node.js 20+
  • npm

Quick Start

Install & build

cd <path-to-repo>/connectors/napkin
npm install
npm run build

npx (once published)

npx -y @mindstone-engineering/mcp-server-napkin

Local

node dist/index.js

Configuration

Environment variables

  • NAPKIN_API_KEY — Napkin AI API key
  • MCP_WORKSPACE_PATH — optional workspace path for saving generated visuals
  • MCP_HOST_BRIDGE_STATE — optional path to a host bridge state file used for credential management
  • MINDSTONE_REBEL_BRIDGE_STATE — backwards-compatible alias for MCP_HOST_BRIDGE_STATE
  • NAPKIN_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 see TIMEOUT errors 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 text
  • napkin_check_status — Check the status of a visual generation request
  • napkin_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.

FAQs

Package last updated on 29 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts