Luw.ai

v0.3.22
ai.luw/mcp Checked 18 hours ago Published 5 days ago

AI interior, exterior and landscape design, photoreal rendering, image editing, video and 3D.

Values you need

VariableWhat it is
LUW_API_KEYrequired secret Your Luw.ai API key from https://app.luw.ai/dashboard/api
LUW_OUTPUT_DIRoptional Optional folder where generated files are also downloaded

npm (npx) discovery passed

Requires Node.js 18+

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

Remote (hosted)

Run in a terminal
claude mcp add --transport http mcp https://mcp.luw.ai/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.luw.ai/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://mcp.luw.ai/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://mcp.luw.ai/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.luw.ai/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Ask the user for: LUW_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: luw_interior_design, luw_exterior_design, luw_sketch_to_render, luw_render, luw_edit_image, luw_magic_wand, luw_landscape_design, luw_upscale_image, ….
  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