Add It to Your Editor
- Lite
- Full
1
Get Your Key
Buy a plan on Pricing. The e-mail after the purchase has your license key, and your account at
account.embededitor.com always shows it: sign in with your e-mail (it sends a 6-digit code), and each license has a card with its key, hidden until you tap Show.2
Point Your Project at the Registry
Point the Yarn 2 and newer ignore Set the key where your install runs, your shell or your CI’s secrets, never in git:The key stays out of
@embededitor scope at the registry, and keep the key in an environment variable named EMBED_EDITOR_KEY, out of git.For npm, pnpm, bun and Yarn 1, add this to the .npmrc of your project:.npmrc
.npmrc. Add this to .yarnrc.yml instead:.yarnrc.yml
Terminal
package.json and your lockfile, so npm ci keeps working when you replace it.3
Install
4
Copy Your Public Key
MCP runs on our cloud, so the editor needs your license’s public key, 
Your license has two keys. Each goes in one place only:
ee_pk_…. It’s one key for every Embed Editor cloud service: today MCP, and whatever we add later, with no new key for each.- Open your account at
account.embededitor.com. On your license’s card, Cloud Services shows the public key, with Copy. The e-mail with your license key has it too. - In Domains, add the sites that may use it: each origin, like
https://shop.example.com, or every subdomain of one, likehttps://*.shop.example.com. Until you add one, it works on any site.

On the card, Rotate gives the public key a new code and keeps its domains, and Remove takes it away, its domains with it (Create Key then makes a new one). Either way, the old code cannot make new links: put the new one in your page. Links already made last until they end.

5
Turn On the Agent
Give the editor The toolbar now has Agent. With Copy or Share on too, the three share one menu, Copy, Share, or Agent. Without
enableAgent and, in publicKey, the key you copied. The editor links through our relay, at https://agent.embededitor.com, with nothing for you to run.publicKey, the toolbar shows no Agent, and the browser’s console says why. If our relay refuses the key (rotated or removed, of a license that no longer stands, or on a site its domains don’t list), the Agent card says the agent isn’t set up for this site, and the console says which.6
Try It
- Open your page and tap Agent. A card under the toolbar shows a link.
-
Connect your AI agent to
https://agent.embededitor.com/mcp, once: the card’s first step shows this address, and its How to Connect the steps for each agent. In Claude Code, for example: -
Copy the link and paste it into your agent with a request: “Blur the faces in this photo:
https://agent.embededitor.com/link#…”. - Watch the edits land in the editor. Tap Disconnect when you’re done.
What the User Sees
Tapping Agent opens a card with the link and connection instructions. The user copies the link into their agent, then can disconnect from the card. Closing the card hides it without ending the link. The card reports when the agent connects, when the editor reconnects or when the link ends. If the relay cannot create a link, it offers Try Again; see Troubleshooting. The link ends when the user taps Disconnect, closes the tab, two hours after it was made, or two minutes after the tab went away. Disconnect and Cancel remain available while the editor’s AI works. Examples offers requests the user can copy with the link.Connecting Their Agent
Each user connects their agent to the relay once, athttps://agent.embededitor.com/mcp. Until an agent has connected in their browser, the card shows this address as its first step. How to Connect, in the card, shows them how, with a copy button for each address and command.

- Claude
- Claude Code
- ChatGPT
- Codex
- Cursor
- VS Code
- Grok
- Perplexity
In the Claude app or on claude.ai, on any plan (the Free holds one custom connector):
- Open Customize → Connectors, then Add → Add custom connector. On Team and Enterprise, an owner adds it for everyone in Organization settings → Connectors (Add → Custom → Web), and each member then chooses Connect on it in Customize → Connectors.
- Enter any name and the address
https://agent.embededitor.com/mcp, then Continue. For Authentication, choose No sign in, then Add.
#, so the user pastes it whole in the chat. It’s 256 random bits, it expires, and it ends with the tab.
What the Agent Can Do
The agent gets the commands your editor can run, the list the editor’s own AI is offered (its Annotate mode’s, with Annotate’s tools), with the rules it works by: use the editor’s tools before its pixels, look at the photo before marking it, say plainly what the editor can’t do, offering what it can do instead and asking first, undo, save or close only when asked, write texts on the photo in the request’s language, else in the editor’s, and a fill’s words in English.- Annotate: add, change, duplicate and remove arrows, texts, numbers, shapes and drawings. In the Full and the Trial the agent also gets the art director’s text the editor’s own AI composes with: the bar a composition must meet, how to tell the photo’s story, a plan before the first piece and a review after. Each command that places or moves an annotation answers with where it landed, so the agent checks overlaps and margins without measuring by eye.
- Obfuscate: hide parts of the photo, and change or remove those areas. Each command that places or moves an area answers with where it landed, as the watermark’s and the signature’s do, so the agent checks what an area covers.
- Adjust, Auto, Filter and Frame, the crop (its window, ratio, straightening, turn and mirror), the size Save writes, and the watermark and signature.
- Undo, Redo and Reset.
- Look: the image’s size, the edit’s state, and screenshots, of the whole photo or a zoom on an area; and, in the Full and the Trial where the AI’s brush is (your
onAiEditImageoronAiChooseCommands), the boxes of the areas the user marked with it, so “remove this” or “point here” lands where they mean. - Save, which calls your
onProcessas the user’s Save does. The agent saves only when the user asks. - Close, where the editor has a close.
- The AI’s pixel work, in the Full and the Trial, each only where you gave its function: fill an area and expand the photo with your
onAiEditImage, Detect with youronAiDetectObjects, and Remove Background with youronAiRemoveBackground. Each call runs your function, as the user’s tap does.
enable* prop, or anything outside the editor: no part of your page, no other tab, none of the user’s files.
The user sees its work as they see the editor’s own AI’s: nothing it makes is selected, their own selection stays, and an Undo or a Redo of its step selects nothing it made. The photo’s edge glows in the AI’s colors while the agent works, in the Lite too, as it does while the editor’s own AI works: from the start of its first call, through the calls after it with no blink between them, until 7 seconds after its last one, and it goes at once when the link ends. The user keeps the editor meanwhile, all but Undo, Redo, Reset, Save, Copy and Share, which are off while the edge glows, as while the editor’s own AI works: the photo is only half done. Agent stays live, so the user can always disconnect. Each call is one undo step, as MCP gives no edge to the agent’s request; the editor’s own AI makes a request of its own one step.
It sees the photo as screenshots of at most 1024 px, each with a note that maps its pixels to the photo’s, so it places boxes, arrows and hidden areas where it means to. In our trials, Claude placed them on target in 3000 px photos, zooming in to check and correcting itself, in about 20 s to a minute a request.
The Props
Most editors need only
enableAgent and publicKey. The other two are for Your Own Relay, which needs no public key.
Privacy
- In transit: the agent’s calls and their results, screenshots included, pass through the relay between the agent and the tab. On ours, the Data Processing Agreement covers your users’ data: you are its controller, Embed Editor the processor.
- Stored on the relay: for each link, its times, its status, and the editor’s list of commands with the guide text it sends beside them, deleted an hour after the link ends. The screenshots and the calls are never stored. Ours keeps no logs.
- The agent’s model runs on the user’s own account with their agent’s provider, never on yours.
Your Own Relay
Run the MCP relay at your own address, step by step.
Protocol
How the editor, the relay and the agent talk, to build a relay in any stack.