Skip to content

WordPress Editor Plugin for Claudaborative Editing #28

@pento

Description

@pento

Overview

Create a WordPress plugin that adds UI to the Gutenberg editor, allowing users to trigger MCP actions (review, proofread, edit, translate, etc.) directly from within WordPress — without switching to the Claude Code terminal.

Architecture

The MCP server becomes a Claude Code Channel, pushing WordPress commands into Claude's context via channel notifications. WordPress acts as the message broker between the browser and the MCP server.

Three connection layers:

  1. Authentication (wp_connect / auto-connect) — existing
  2. Command Listener (SSE primary, REST polling fallback) — new, runs independently of sync loop
  3. Post Editing (wp_open_post / Yjs sync) — existing, triggered by commands

Key design decisions:

  • Commands scoped to the authenticated WordPress user (single user per Claude Code instance)
  • One post at a time (consistent with current MCP design)
  • Custom post type (wpce_command) for command storage (no custom DB tables — WordPress.com compatible)
  • Plugin lives in wordpress-plugin/ subdirectory of this repo
  • Bundled plugin zip in npm package for easy installation before wordpress.org listing

Phases

Phase 1: Foundation

Phase 2: Editor UI

Phase 3: Note Enhancements

Phase 4: Installation and Compatibility

Phase 5: Polish

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions