Skip to content
EMDASH 1.6 TUTORIAL

AI-Native Publishing with EmDash MCP Server & Agent Skills

Connect Claude Code, Codex, or Cursor directly to your EmDash 1.6 site via the built-in MCP server, install emdash-cms/skills, and prototype sites with emdash-build.

EmDash 1.6+Intermediate2 min read·

Three Pillars of EmDash's AI-Native Stack

  1. Built-in MCP Server: Exposes typed collection schemas and draft CRUD operations directly to AI agents.
  2. Official Agent Skills (emdash-cms/skills): Teaches coding agents exact EmDash 1.6 conventions so they never generate outdated 0.x code.
  3. emdash-build: Open-source chat-based site builder running in Cloudflare Sandboxes.

1. Install Official EmDash Agent Skills

Bash
npx skills add emdash-cms/skills

Your coding agent now knows the exact signatures for getEmDashEntry(), cacheCloudflare(), emdash-plugin.jsonc, and editorDraft panels.

2. Connect Your Agent to EmDash MCP

Generate a scoped token in EmDash Admin → Settings → API & MCP, then add your site's MCP endpoint to Claude Code, Cursor, or Codex:

JSON
{
  "mcpServers": {
    "my-emdash-site": {
      "type": "http",
      "url": "https://yourdomain.com/_emdash/mcp",
      "headers": {
        "Authorization": "Bearer <your-scoped-token>"
      }
    }
  }
}

3. Safe Human-in-the-Loop Editorial Flow

Always instruct agents to save entries as drafts first. Combine EmDash 1.3's readable revision diffs with EmDash 1.5's real-time co-editing so human editors review and polish AI-assisted drafts before publishing.