Install IMG.LY CoDesign in your coding agent

Paste this prompt into your agent. It reads this page and does the whole install, including setting up Node if it is missing. The one thing left to you is a restart at the end. The page names the exact commands for Claude Code and Codex, and any other agent with a terminal can follow the same steps with its own.

Paste this into Claude Code, Codex, or any other coding agent
Read img.ly/codesign/install.md to install and use the CoDesign MCP server

Steps for the agent

Steps 02 and 03 carry one line for Claude Code and one for Codex. Run the one for the client you are running in, not both. If you are in neither, run the third path in each step: the server is identical everywhere, so all you have to work out is how your own client registers it.

Step 01

Get Node 22 or newer in place

Check the version first. If Node is missing or older than v22, install or upgrade it yourself rather than handing that back to the user. Use whatever the machine already has: nvm, Homebrew, winget, or the system package manager. Ask only if the install needs a permission you do not have.

Check the installed Node version
node --version
Quickest path when nvm is available
nvm install 22 && nvm use 22
Step 02

Add the MCP server

Run this once, using the line for your client. On the Claude Code line, --scope user registers CoDesign for every project on this machine; Codex takes no scope flag. Keep @latest so npx re-resolves the package instead of reusing a stale cached copy, and keep stdio, which selects the transport and is a subcommand rather than a flag.

Claude Code: register CoDesign for every project on this machine
claude mcp add --scope user codesign -- npx -y @imgly/codesign-mcp@latest stdio
Codex: register CoDesign
codex mcp add codesign -- npx -y @imgly/codesign-mcp@latest stdio

Running in something else? Read those two lines as a pattern rather than looking for your own name on this page. The server is the same everywhere: npx -y @imgly/codesign-mcp@latest stdio, started locally over stdio. Your job is to find how your own client registers one and pass it that command. Most coding agents have an mcp subcommand of their own, and --help on your CLI will name it. If your client reads a JSON config file instead, merge the block below into it, keeping any servers already listed. Match the shape of the file you find: the wrapper key is mcpServers in most clients, but a few name it differently, and the command and args pair is the part that matters.

Any other coding agent: the same server as a config entry
{
  "mcpServers": {
    "codesign": {
      "command": "npx",
      "args": ["-y", "@imgly/codesign-mcp@latest", "stdio"]
    }
  }
}
Step 03

Confirm it registered

codesign should appear in the list. If it does not, work out why and fix it yourself: a wrong Node version and a typo in the command cover most cases. Show the user the output only if you cannot resolve it.

Claude Code: list the registered MCP servers
claude mcp list
Codex: list the registered MCP servers
codex mcp list

In any other client, run its own equivalent, the counterpart of whatever you registered with. If it has no list command, read the config file back and check that the entry is valid JSON and sits in the file the client actually loads. One more check that works anywhere: run npx -y @imgly/codesign-mcp@latest stdio in a terminal and confirm the process starts and waits for input rather than exiting with an error. That proves the command is good even when you cannot yet see it listed.

Step 04

Hand back to the user, the only manual step

CoDesign is not available in this session yet, so do not try to call its tools. This last part is the one thing you cannot do for the user. Tell them to restart the client they are in, then to send the message below. It starts a short guided flow that explains what CoDesign does and produces one finished design. No account is needed. Signing in to a free IMG.LY account is optional and only adds AI image generation.

What the user sends after restarting
start the CoDesign onboarding
Free Local MCP Server

Stuck on a step?

Ask in the Discord and someone will take a look. In a client with no terminal, where the config is edited by hand? There is a guide for any other MCP client.