We ecommend signing on/signing in with a personal or business Google account for a seamless experience across our sites →
SpiritMCP — AI Nervous System for an Agency
Building SpiritMCP
An AI nervous system for our agency.
The first plugin and server pair that lets Claude — and every modern AI assistant — manage WordPress sites, hosting, and infrastructure with editorial care and surgical safety. Built in spare hours alongside a surgical career.

A surgeon, a side project, and a stack of broken bridges.
Every WordPress site we manage has dozens of moving parts. Every tool we tried connecting kept tripping over the seams. So we built our own.
The friction tax
Standard automation tools strip # from colours. Hundreds of meta fields need quoting that breaks on every special character. Builder-specific data gets silently dropped by REST. Cache plugins return 404s when purged programmatically.
Every "easy" task became a thirty-minute fight with the wrong layer of the stack.
Speak in JSON, write in PHP
SpiritMCP exposes every WordPress task as a clean, schema-typed tool Claude can call. The plugin runs operations in WordPress's own native PHP — the same ones the block editor uses — so what you ask for is what you get.
Special characters survive. Builder fields actually save. Cache actually clears. 47/47 tests passing on first deploy.
Two front doors. One careful system.
Claude connects to whichever side it needs. The server handles everything outside WordPress; the plugin handles everything inside. They speak through a single bridge when they need to coordinate.
"The breakthrough wasn't building one big tool. It was realising the system needed two — and that the smartest part would be the bridge between them."

Seven steps. Zero compromise.
What happens when Claude asks the server to do something inside WordPress. Confirm-token retries are automatic. Multi-tenant hosts work because the Host header is resolved per call.
From audit to live in one evening.
A condensed log of how the project came together — the moments where it clicked, broke, and clicked again.

Reviewing the original scaffold
Seven divergences from locked specifications. Decision: scrap and restart with a clean two-part architecture.
Two front doors, one shared core
Mode A for SpiritMCP server. Mode B for Claude Desktop. Same controllers, two dispatchers. Feature flags as outer gate; confirm tokens as inner gate.
Forty-two files, twenty controllers
Bootstrap to twenty REST controllers, MCP layer with rich JSON Schemas, admin settings, audit log, JWT auth, network guard, rate limiter, license stub.
Forty-seven tests, all passing
Every endpoint on a live production site. Special characters survived. Three minor bugs found and patched in v0.1.1.
SpiritMCP server learns the plugin
The server gained wp.plugin_call, wp.plugin_info, and automatic confirm-token retry.
Live on GitHub. Live on production.
Code pushed to github.com/meditatingsurgeon/spiritwp-mcp · server deployed via Coolify · plugin installed · audit log accumulating.
Technology stack
Two halves, both production-ready.
SpiritMCP server
- Fastify + MCP SDK over SSE transport
- VPS, SSH, file, and Claude Code remoting
wp.plugin_callproxy with auto-retrywp.plugin_infofor live feature flag visibility- Per-VPS bridge settings in JSON store
- Multi-tenant Host header resolution via SSH
- Audit tail for live debugging
SpiritWP MCP plugin
- 20 tool categories, 56 tools
- Mode A (localhost bridge) + Mode B (public MCP)
- 4 feature flags gating dangerous capabilities
- Confirm-token flow for destructive operations
- JSONL audit log with hash-and-rotate
- Rate limiting (30/min) on Mode B
- SEO adapter (autodetects any major plugin)
Open-source plugin. Hosted server. Yours from less than a coffee.
SpiritMCP is part of the Automate & Scale pillar — built once, refined publicly, available to every spiritual teacher who wants AI in their stack without losing control of it.
Ready to raise your frequency?
Tell us your vision — we will tell you what is possible.
![[Staging] The Spiritual Agency](https://staging.spiritual.agency/wp-content/uploads/2026/04/The-Spiritual-Agency-New-Logo-Dark-Background.png)