UiChemy for EmDash (Beta)AI and MCP on EmDash

AI and MCP on EmDash

Connect Claude, Cursor or another MCP client to your EmDash site so an AI can create designs, place and publish them, edit their code, and set SEO.

UiChemy for EmDash includes MCP tools, so an AI assistant connected to your site can build and edit designs for you. The setup is on UiChemy, then Home.

Pre-release. UiChemy for EmDash is at version 0.2.0. It comes ready to use on sites you publish from AI Website Creator as HTML + EmDash. The standalone package (@uichemy/emdash) is not published to npm or the EmDash plugin registry yet, so the manual install steps will change.

The Home screen with the MCP setup

Set It Up

Turn on the tools

Switch on Expose UiChemy tools to AI agents. It makes 21 tools available: design, dynamic data, site code, design system, media and forms.

Create an API token

Click Open API tokens. In EmDash, create a personal API token that can use the UiChemy MCP tools. Copy it, because it is shown once.

Connect your agent

Replace YOUR_TOKEN with your token. The screen gives you the MCP endpoint, a ready command for Claude Code, and a JSON block for Cursor, Claude Desktop and other clients.

EmDash asks you to approve the tools again whenever a UiChemy update changes them. If your agent says "tool not found", switch the setting off and on.

What the AI Can Do

The tool names start with uichemy__. These are the main ones:

ToolWhat it does
describe_siteLists your collections, fields, taxonomies, designs, and what the site allows
dynamic_list_fieldsLists every dynamic token this site resolves
design_createCreates a design from its full code, as a draft first
design_placePlaces a design in a page or post
design_updateChanges a design's status, for example to published
design_get_code, design_patch_code, design_set_codeReads, finds and replaces, or rewrites a design's code
media_uploadUploads one file to the media library and returns its URL
seo_get, seo_updateReads and writes a page's SEO

The plugin also gives the AI a short briefing that teaches the build order.

The Build Order

  1. Describe the site, and list the dynamic fields before using any.
  2. Create the design in one call, as a draft.
  3. Place it in a page or post, then publish it.
  4. To change it later, read its code first. The read returns a hash. The edit sends that hash back, and a stale hash is refused, so the AI never overwrites a change you made in the editor.

Good to Know

  • Names must be exact. An unknown collection, field or term renders empty, not as an error.
  • Public HTTPS images and videos in the code are copied into the media library.
  • If Allow custom CSS & JavaScript is off, CSS and JavaScript are removed on save, and the response lists what was removed.
  • Free sites resolve only the free tokens. See Designs and the UiChemy Design Block.