Skip to content
VS Code

Napkin for VS Code

io.github.mindstone/mcp-server-napkin

Napkin AI visual generation MCP server for Model Context Protocol hosts

client:VS Code transport:stdio runtime:npm

Install Napkin in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "napkin-api-key",
      "description": "NAPKIN_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-workspace-path",
      "description": "MCP_WORKSPACE_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "napkin-request-timeout-ms",
      "description": "NAPKIN_REQUEST_TIMEOUT_MS",
      "password": true
    }
  ],
  "servers": {
    "mcp-server-napkin": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-napkin"
      ],
      "env": {
        "NAPKIN_API_KEY": "${input:napkin-api-key}",
        "MCP_WORKSPACE_PATH": "${input:mcp-workspace-path}",
        "NAPKIN_REQUEST_TIMEOUT_MS": "${input:napkin-request-timeout-ms}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Napkin in other clients