Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I built an MCP server that lives inside WordPress - here's the safety model

Описание и применение

SiteHelm — безопасный плагин WordPress, который предоставляет 115 типизированных операций MCP с двухфазными записями, снимками и журналом аудита, позволяя ИИ управлять сайтом без прямого доступа к базе данных.

Задача

Clients need an AI agent to manage WordPress sites without exposing raw database or filesystem access.

Результат

SiteHelm enables secure, auditable AI-driven WordPress management with two‑phase writes, snapshot verification, and rollback, preventing accidental or malicious changes.

Рабочий процесс

  • Install SiteHelm plugin on WordPress
  • Configure agent to use SiteHelm MCP operations
  • When agent requests a write, SiteHelm performs a preview call returning before/after values and a single‑use plan token
  • Agent submits apply call with exact arguments and token
  • SiteHelm records snapshot before write
  • Executes write operation
  • Reads back site state and compares with preview promise
  • If mismatch, reports failure; otherwise logs change in wp-admin
  • Agent can pause writes via a single switch; plugins installed only from WordPress.org and deactivated by default

Доказательства

Two-phase writes. Every write is two calls. The first is a preview: it writes nothing and returns each field's before and after value with a single-use plan token.

Источник

Snapshot and verify. Before a write, the engine records everything a restore would need. After it, the site is read back and compared with the preview's promise.

Источник

Audit and rollback. Every change lands in a log in wp-admin, in plain sentences, and applied changes roll back from there - with a preview first.

Источник

  • Дата записи: 2026-09-17T15:30:51.354Z