Skip to content
VS Code

Labnana MCP for VS Code

io.github.exoticknight/labnana-mcp

Generate and edit images with Labnana through a local MCP server with MCP Apps previews.

client:VS Code transport:stdio runtime:npm

Install Labnana MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "labnana-api-key",
      "description": "LABNANA_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "labnana-output-dir",
      "description": "LABNANA_OUTPUT_DIR",
      "password": true
    }
  ],
  "servers": {
    "labnana-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@exoticknight/labnana-mcp"
      ],
      "env": {
        "LABNANA_API_KEY": "${input:labnana-api-key}",
        "LABNANA_OUTPUT_DIR": "${input:labnana-output-dir}"
      }
    }
  }
}

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

Labnana MCP in other clients