MCP installation by client
What this lets you do
Connect Claude Code, Codex, Cursor, Hermes, OpenClaw, or another stdio MCP client to DreamLayer image tools.What you need
- Node.js 22.12 or later
- A DreamLayer API key with credits
- One supported MCP client
Steps
The examples below install the stable package. For the sprite-sheet beta, replace@dreamlayer/mcp with @dreamlayer/mcp@0.4.0-beta.5 in your chosen command or
JSON args, then reconnect the server. The beta tag points to that version;
latest remains 0.3.0. See the beta configuration for a complete example.
1. Configure Claude Code
2. Configure Codex
3. Configure Cursor, Hermes, OpenClaw, or a generic client
Add a stdio server to the client’s MCP configuration:Confirm it worked
Restart the client, list its MCP tools, and call the DreamLayer capabilities tool. The result must report protocol version1.
Common errors
Troubleshooting
Runnpx -y @dreamlayer/mcp in a terminal to confirm the package resolves and the process starts, then check the client’s configuration file location in its current documentation.