claudaborative-editing
Enables real-time AI editing assistance in the WordPress block editor, allowing Claude to proofread, review, edit, translate, compose, and prepare posts for publishing.
README
Claudaborative Editing
AI editing assistance directly in the WordPress block editor. Claude joins as a real-time collaborator to proofread, review, edit, translate, compose, and prepare your posts for publishing.
Getting Started
- Install the Claudaborative Editing WordPress plugin and activate it.
- Run the following in your terminal:
npx claudaborative-editing start
This checks that Claude Code is installed, runs a setup wizard on first use (opens your browser to authorize with WordPress), and starts a Claude Code session connected to your site.
Open any post in the block editor and use the AI Actions menu in the toolbar.
Features
AI Actions menu
A sparkle icon in the editor toolbar opens a dropdown with actions you can trigger on the current post:
- Proofread: Fix grammar, spelling, and punctuation.
- Review: Leave editorial notes on the post.
- Edit: Make broad editorial changes with a custom focus prompt (e.g., "make the tone more conversational").
- Translate: Translate content into another language.
- Compose: Plan and outline a post through a guided back-and-forth conversation.
Pre-publish checks
When you publish, an AI-powered panel suggests improvements to your post's excerpt, categories, tags, and slug. Apply suggestions individually or all at once.
Editorial notes
Sparkle buttons appear on editorial notes in the collaboration sidebar. Address a single note or all open notes at once: Claude reads the note, understands the feedback, and makes the requested changes.
Conversation panel
A side panel opens for interactive commands like Compose. Chat back and forth with Claude to refine an outline, then approve it to generate the post structure.
Real-time collaboration
Claude appears as a named collaborator in the editor, using the same collaborative editing infrastructure as human editors. Edits from Claude and humans merge automatically: you can both work on the same post at the same time.
Connection status
A sparkle icon in the editor footer shows whether Claude is connected. Click it to see which post Claude is editing and whether a command is in progress.
Prerequisites
- Claude Code installed
- WordPress 7.0+, or WordPress 6.9 with Gutenberg 22.8+, with collaborative editing enabled (Settings → Writing)
- A WordPress user with
edit_postscapability
Configuration
Setup wizard
npx claudaborative-editing setup # Interactive setup (browser-based auth)
npx claudaborative-editing setup --manual # Skip browser auth, enter credentials manually
npx claudaborative-editing setup --remove # Remove configuration from Claude Code
Environment variables
If you prefer to configure credentials manually:
| Variable | Description |
|---|---|
WP_SITE_URL |
WordPress site URL |
WP_USERNAME |
WordPress username |
WP_APP_PASSWORD |
WordPress Application Password |
How It Works
The project has two parts: a WordPress plugin and an MCP server.
The WordPress plugin adds the AI Actions UI to the block editor and manages a command queue. When you trigger an action (like "Proofread"), the plugin sends the command to the MCP server via WordPress REST API endpoints and real-time Yjs sync.
The MCP server (the npm package) runs locally on your machine and bridges Claude Code with WordPress. It connects to the same Yjs CRDT-based collaborative editing infrastructure that powers multi-user editing in the block editor, so Claude's edits merge seamlessly with human edits.
See CLAUDE.md for architecture details, sync protocol documentation, and key design decisions.
Development
MCP server
npm install
npm run build # Build with tsup → dist/
npm test # Run vitest
npm run typecheck # TypeScript type check
npm run lint # ESLint + markdownlint + Prettier check
npm run dev # Watch mode build
npm run dev:wp # Start a local WordPress via wp-playground-cli (no Docker)
WordPress plugin
cd wordpress-plugin
npm install
npm run build # Build with @wordpress/scripts → build/
npm run typecheck # TypeScript type check
npm run test # TypeScript tests
composer install
composer phpcs # PHP CodeSniffer
composer phpstan # PHPStan static analysis
Run npm run lint from the repo root to lint everything (ESLint + stylelint + markdownlint + Prettier).
License
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。