dreamlayer

v0.4.0-beta.5
io.github.TheDesignFounder/dreamlayer Checked 4 days ago Published 2 months ago

Generate and edit images, remove backgrounds, upscale, and create sprite sheets through DreamLayer.

Values you need

VariableWhat it is
DREAMLAYER_API_KEYrequired secret API key from platform.dreamlayer.io. Generation requires purchased credits.

npm (npx) discovery passed

Requires Node.js 18+

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

For AI agents

  1. Ask the user for: DREAMLAYER_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: dreamlayer_capabilities, dreamlayer_balance, dreamlayer_upload_image, dreamlayer_generate, dreamlayer_execution, dreamlayer_events, dreamlayer_download.
  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