Skip to main content
The Avocado Studio MCP Server exposes pages, blocks, and block discovery as Model Context Protocol tools. Plug it into Claude Desktop (or any MCP host) and Claude can read and edit your site with the same operations the web editor uses.
Current status: Phases 1, 2, 3a shipped — 40 tools, both stdio and streamable HTTP transports. One site per install. Claude connector directory listing + OAuth land in Phase 3b.

What you get

The MCP server is a thin wrapper: every mutation goes through POST /ops on the orchestrator, so Zod validation, undo history, version log, and demo-mode gating all still apply.

Tool catalog

Discovery

Pages

Blocks

Sites

Media

Publishing

History

Planner

Preview

Install

Claude Desktop

Open ~/Library/Application Support/Claude/claude_desktop_config.json and add:
Restart Claude Desktop. Open Settings → Connectors → avocado-studio to set per-tool permissions (Always allow / Ask / Never allow). The discovery and get tools are safe to auto-allow; keep mutations on Ask.

Claude Code

HTTP transport (remote / custom connector)

Start the HTTP server:
Output: avocado-studio MCP server listening on http://localhost:4300/mcp In Claude Desktop → Settings → Connectors → Add custom connector:
  • URL: http://localhost:4300/mcp
  • Auth: Bearer token — the value you passed as AVOCADO_MCP_BEARER_TOKEN
Stateless mode — each POST is a self-contained JSON-RPC call. Health probe at GET /healthz (no auth) for load balancers.

Environment variables

How agents should use it

  1. Discover first. Call avocado-list-block-types once, then avocado-get-block-schema for any type you’re about to add or edit. The schema tells you which props are required and which enum values are valid.
  2. Read before mutate. Call avocado-get-page to get block ids before avocado-update-block-props — block ids are stable and opaque.
  3. Prefer structural ops over full rewrites. avocado-update-list-item with an index + patch is cheaper and safer than replacing the whole list via avocado-update-block-props.

Roadmap

  • Phase 1 + 2 + 3a — shipped. 40 tools across 8 groups. Stdio transport (local install) and streamable HTTP transport (custom connectors, remote deploy) both work with the same tool registry. Approve/reject plan loop supported.
  • Phase 3b — Hosted deployment (Render) + OAuth in front of /mcp (replaces shared-secret bearer with proper login flow, same UX as “AEM Content MCP Service”). Submit to Claude’s connector directory. Add per-tool read-only annotations and audit logging.
  • Phase 4 — MCP resources (pin a page as context), MCP prompts (slash-command templates), typed client generated from the orchestrator OpenAPI.