One API key. Full WordPress access for Claude, ChatGPT, LangChain, n8n, and any autonomous agent — without OAuth, browser sessions, or Application Passwords.
WP Admin for AI Agents is a WordPress plugin that exposes posts, pages, custom post types, and meta fields through a REST API secured with API keys. It is built for the Model Context Protocol (MCP) mindset: stateless auth, tool-shaped endpoints, and structured JSON — no HTML scraping.
XML-RPC can duplicate meta rows on every update instead of updating in place. Application Passwords are awkward for agents (interactive setup, blocked on some hosts, not truly stateless). Stock REST usage often still fights meta duplicates and lacks first-class API key management. This plugin uses native update_post_meta() and simple key-based auth so automations behave predictably.
Stateless API keys, endpoints mapped to clear actions, JSON responses for parsers, and optional alignment with MCP tool definitions. Keys are stored SHA256-hashed; scopes cover read, write, and admin; usage can be tracked and keys revoked instantly.
Stable tag 2.0.0 · Requires WordPress 5.0+ · PHP 7.4+ · Tested up to WordPress 6.8 · GPLv2+
Create, update, and publish posts and pages; work with custom post types such as products, listings, or portfolios.
CRUD meta without duplicate rows; bulk-update many keys in one request. Fits WooCommerce-style product meta workflows.
Optional endpoint to push price, change, and date — updating last price fields and appending to a history array for stocks or crypto tickers.
WordPress admin UI for all meta (including _ prefixed keys). Generate, list, and delete API keys with scopes.
/wp-content/plugins/ and activate.X-API-Key on requests under /wp-json/wp-ai/v1/ — e.g. health, get meta, update meta, bulk-update, update post, and key management routes.Full endpoint reference, MCP snippets, and FAQ live in the repository README.
# Example: health + meta update (from project README)
curl -H "X-API-Key: mm_live_xxx" https://yoursite.com/wp-json/wp-ai/v1/health
curl -X POST -H "X-API-Key: mm_live_xxx" \
-H "Content-Type: application/json" \
-d '{"post_id":123,"meta_key":"_price","meta_value":"29.99"}' \
https://yoursite.com/wp-json/wp-ai/v1/update
The plugin is free on GitHub. If you want architecture review, hardening, or automation design around WordPress and agents, FastBytes can help.