From your agent
Run it from your agent
Paste this into Codex, Claude Code, or any agent that can install an MCP server. The run happens on Layerhand, with GPT-6 Astra driving the editor. Bring your own OpenAI key.
Set up Layerhand as an MCP server in this session. Layerhand retouches a photograph inside a real image editor and returns a layered PSD. The loop, the editor, and GPT-6 Astra run on Layerhand's servers. The user brings their own OpenAI API key. Hosted files on https://layerhand-732371853772.us-central1.run.app: - MCP package: https://layerhand-732371853772.us-central1.run.app/plugins/layerhand-mcp.tgz - Claude plugin zip: https://layerhand-732371853772.us-central1.run.app/plugins/layerhand.zip - Claude marketplace: https://layerhand-732371853772.us-central1.run.app/plugins/marketplace.json - stdio binary: https://layerhand-732371853772.us-central1.run.app/plugins/layerhand-mcp.js Do this: 1. Download the MCP package from https://layerhand-732371853772.us-central1.run.app/plugins/layerhand-mcp.tgz 2. Configure the MCP server for this host using one of: Codex: codex mcp add layerhand --env OPENAI_API_KEY="$OPENAI_API_KEY" -- npx -y https://layerhand-732371853772.us-central1.run.app/plugins/layerhand-mcp.tgz Claude Code: claude plugin marketplace add https://layerhand-732371853772.us-central1.run.app/plugins/marketplace.json && claude plugin install layerhand@layerhand Other stdio hosts: download https://layerhand-732371853772.us-central1.run.app/plugins/layerhand-mcp.js and run it with node, with OPENAI_API_KEY set. LAYERHAND_URL defaults to https://layerhand-732371853772.us-central1.run.app. 3. Confirm the tools start_run, wait_run, steer_run, cancel_run, and get_result are available. 4. Ask the user for a JPEG or PNG and a short instruction, then call start_run. Never put the API key in a tool argument. Read it from the environment.
Manual install
Use these if you would rather type the commands yourself. They stay collapsed so the prompt stays first.
Codex
codex mcp add layerhand --env OPENAI_API_KEY="$OPENAI_API_KEY" -- npx -y https://layerhand-732371853772.us-central1.run.app/plugins/layerhand-mcp.tgz
Claude Code
claude plugin marketplace add https://layerhand-732371853772.us-central1.run.app/plugins/marketplace.json && claude plugin install layerhand@layerhand
Other MCP hosts
curl -L https://layerhand-732371853772.us-central1.run.app/plugins/layerhand-mcp.js -o layerhand-mcp.js # Then register a stdio MCP server that runs: # node layerhand-mcp.js # with OPENAI_API_KEY in the environment. LAYERHAND_URL defaults to https://layerhand-732371853772.us-central1.run.app.