Labnana MCP

v2.2.0
io.github.exoticknight/labnana-mcp Checked 2 days ago Published 1 month ago

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

Values you need

VariableWhat it is
LABNANA_API_KEYrequired secret Labnana API key.
LABNANA_OUTPUT_DIRoptional Default directory for saved images.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add labnana-mcp -e 'LABNANA_API_KEY=<LABNANA_API_KEY>' -- npx -y @exoticknight/labnana-mcp@2.2.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "labnana-mcp": {
      "args": [
        "-y",
        "@exoticknight/labnana-mcp@2.2.0"
      ],
      "command": "npx",
      "env": {
        "LABNANA_API_KEY": "<LABNANA_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "labnana-mcp": {
      "args": [
        "-y",
        "@exoticknight/labnana-mcp@2.2.0"
      ],
      "command": "npx",
      "env": {
        "LABNANA_API_KEY": "<LABNANA_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "LABNANA_API_KEY",
      "id": "labnana-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "labnana-mcp": {
      "args": [
        "-y",
        "@exoticknight/labnana-mcp@2.2.0"
      ],
      "command": "npx",
      "env": {
        "LABNANA_API_KEY": "${input:labnana-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.labnana-mcp]
command = "npx"
args = ["-y", "@exoticknight/labnana-mcp@2.2.0"]
env = { "LABNANA_API_KEY" = "<LABNANA_API_KEY>" }

For AI agents

  1. Ask the user for: LABNANA_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: get_subscription, estimate_credits, generate_image, list_generation_tasks, get_generation_task.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json