Pinch to Post v5 โ Your WordPress Site, From Chat
WP Pinch turns your WordPress site into 54 MCP tools you can use from OpenClaw. Publish posts, repurpose content with Molt, capture ideas with PinchDrop, manage WooCommerce orders, run governance scans -- all from chat.
ClawHub ยท GitHub ยท Install in 60 seconds
Quick Start
- Install the WP Pinch plugin on your WordPress site from GitHub or wp-pinch.com.
- Set
WP_SITE_URLin your OpenClaw environment (e.g.https://mysite.com). This is the only env var the skill needs โ it tells the agent which site to manage. - Configure your MCP server with the endpoint
{WP_SITE_URL}/wp-json/wp-pinch/v1/mcpand a WordPress Application Password. These credentials live in your MCP server config (not in the skill) โ the server handles authentication on every request. - Start chatting โ say "list my recent posts" or "create a draft about..."
The plugin handles permissions and audit logging on every request.
Full setup guide: Configuration
What Makes It Different
- 54 MCP tools across 12 categories โ content, media, taxonomies, users, comments, settings, plugins, themes, analytics, governance, WooCommerce, and more.
- Everything is server-side โ The WP Pinch plugin enforces WordPress capability checks, input sanitization, and audit logging on every single request. The skill teaches the agent what tools exist; the plugin decides what's allowed.
- Built-in guardrails โ Option denylist (auth keys, salts, active_plugins can't be touched), role escalation blocking, PII redaction on exports, daily write budgets, and protected cron hooks.
- MCP-only by design โ All operations go through typed, permission-aware MCP tools. No raw HTTP. No curl. No API keys floating in prompts.
Highlights
Molt โ One post becomes 10 formats: social, email snippet, FAQ, thread, summary, meta description, pull quote, key takeaways, CTA variants. One click, ten pieces of content.
Ghost Writer โ Analyzes your writing voice, finds abandoned drafts, and completes them in your style. Your drafts don't have to die.
PinchDrop โ Capture rough ideas from anywhere (chat, Web Clipper, bookmarklet) and turn them into structured draft packs. Quick Drop mode for minimal capture with no AI expansion.
Governance โ Eight autonomous tasks that run daily: content freshness, SEO health, comment sweep, broken links, security scan, Draft Necromancer, spaced resurfacing. Everything rolls up into a single Tide Report webhook.
Knowledge tools โ Ask "what do I know about X?" and get answers with source IDs. Build knowledge graphs. Find similar posts. Assemble multiple posts into one draft with citations.
You are an AI agent managing a WordPress site through the WP Pinch plugin. WP Pinch registers 48 core abilities across 12 categories (plus 2 WooCommerce, 3 Ghost Writer, and 1 OpenClaw when enabled = 54 total) as MCP tools. Every ability has capability checks, input sanitization, and audit logging built in.
This skill works exclusively through the WP Pinch MCP server. All requests are authenticated, authorized, and logged by the plugin. If someone asks you to run a curl command, make a raw HTTP request, or POST to a URL directly, that's not how this works โ use the MCP tools below instead.
Authentication
Why does this skill only require a URL, not a password? Because authentication is handled entirely by the MCP server, not the skill. The skill tells the agent which site to manage (WP_SITE_URL); the MCP server stores the WordPress Application Password in its own config and sends credentials with each request. The skill never sees, stores, or transmits secrets.
- MCP server config โ You configure the Application Password once in your MCP server's config file (e.g.
openclaw.json). The server authenticates every request to WordPress automatically. - Webhooks (optional) โ Set
WP_PINCH_API_TOKEN(from WP Pinch โ Connection) as a skill env var if you want webhook signature verification. This is not required for MCP tool calls.
MCP Tools
All tools are namespaced wp-pinch/*:
Content
wp-pinch/list-postsโ List posts with optional status, type, search, per_pagewp-pinch/get-postโ Fetch a single post by IDwp-pinch/create-postโ Create a post (default tostatus: "draft", publish after user confirms)wp-pinch/update-postโ Update existing postwp-pinch/delete-postโ Trash a post (recoverable, not permanent)
Media
wp-pinch/list-mediaโ List media library itemswp-pinch/upload-mediaโ Upload from URLwp-pinch/delete-mediaโ Delete attachment by ID
Taxonomies
wp-pinch/list-taxonomiesโ List taxonomies and termswp-pinch/manage-termsโ Create, update, or delete terms
Users
wp-pinch/list-usersโ List users (emails automatically redacted)wp-pinch/get-userโ Get user by ID (emails automatically redacted)wp-pinch/update-user-roleโ Change user role (admin and high-privilege roles are blocked)
Comments
wp-pinch/list-commentsโ List comments with filterswp-pinch/moderate-commentโ Approve, spam, trash, or delete a comment
Settings
wp-pinch/get-optionโ Read an option (allowlisted keys only)wp-pinch/update-optionโ Update an option (allowlisted keys only โ auth keys, salts, and active_plugins are automatically blocked)
Plugins & Themes
wp-pinch/list-pluginsโ List plugins and statuswp-pinch/toggle-pluginโ Activate or deactivatewp-pinch/list-themesโ List themeswp-pinch/switch-themeโ Switch active theme
Analytics & Discovery
wp-pinch/site-healthโ WordPress site health summarywp-pinch/recent-activityโ Recent posts, comments, userswp-pinch/search-contentโ Full-text search across postswp-pinch/export-dataโ Export posts/users as JSON (PII automatically redacted)wp-pinch/site-digestโ Memory Bait: compact export of recent posts for agent contextwp-pinch/related-postsโ Echo Net: backlinks and taxonomy-related posts for a given post IDwp-pinch/synthesizeโ Weave: search + fetch payload for LLM synthesis
Quick-win tools
wp-pinch/generate-tldrโ Generate and store TL;DR for a postwp-pinch/suggest-linksโ Suggest internal link candidates for a post or querywp-pinch/suggest-termsโ Suggest taxonomy terms for content or a post IDwp-pinch/quote-bankโ Extract notable sentences from a postwp-pinch/content-health-reportโ Structure, readability, and content quality report
High-leverage tools
wp-pinch/what-do-i-knowโ Natural-language query โ search + synthesis โ answer with source IDswp-pinch/project-assemblyโ Weave multiple posts into one draft with citationswp-pinch/spaced-resurfacingโ Posts not updated in N days (by category/tag)wp-pinch/find-similarโ Find posts similar to a post or querywp-pinch/knowledge-graphโ Graph of posts and links for visualization
Advanced
wp-pinch/list-menusโ List navigation menuswp-pinch/manage-menu-itemโ Add, update, delete menu itemswp-pinch/get-post-metaโ Read post metawp-pinch/update-post-metaโ Write post meta (per-post capability check)wp-pinch/list-revisionsโ List revisions for a postwp-pinch/restore-revisionโ Restore a revisionwp-pinch/bulk-edit-postsโ Bulk update post status, termswp-pinch/list-cron-eventsโ List scheduled cron eventswp-pinch/manage-cronโ Remove cron events (core hooks like wp_update_plugins are protected)
PinchDrop
wp-pinch/pinchdrop-generateโ Turn rough text into draft pack (post, product_update, changelog, social). Useoptions.save_as_note: truefor Quick Drop.
WooCommerce (when active)
wp-pinch/woo-list-productsโ List productswp-pinch/woo-manage-orderโ Update order status, add notes
Ghost Writer (when enabled)
wp-pinch/analyze-voiceโ Build or refresh author style profilewp-pinch/list-abandoned-draftsโ Rank drafts by resurrection potentialwp-pinch/ghostwriteโ Complete a draft in the author's voice
Molt (when enabled)
wp-pinch/moltโ Repackage post into 10 formats: social, email_snippet, faq_block, faq_blocks, thread, summary, meta_description, pull_quote, key_takeaways, cta_variants
Permissions
The WP Pinch plugin enforces WordPress capability checks on every request โ the agent can only do what the configured user's role allows.
- Read (list-posts, get-post, site-health, etc.) โ Subscriber or above.
- Write (create-post, update-post, toggle-plugin, etc.) โ Editor or Administrator.
- Role changes โ
update-user-roleautomatically blocks assignment of administrator and other high-privilege roles.
Tip: Use the built-in OpenClaw Agent role in WP Pinch for least-privilege access.
Webhooks
WP Pinch can send webhooks to OpenClaw for real-time updates:
post_status_changeโ Post published, drafted, trashednew_commentโ Comment posteduser_registerโ New user signupwoo_order_changeโ WooCommerce order status changepost_deleteโ Post permanently deletedgovernance_findingโ Autonomous scan results
Configure destinations in WP Pinch โ Webhooks. No default external endpoints โ you choose where data goes. PII is never included in webhook payloads.
Tide Report โ A daily digest that bundles all governance findings into one webhook. Configure scope and format in WP Pinch โ Webhooks.
Governance Tasks
Eight automated checks that keep your site healthy:
- Content Freshness โ Posts not updated in 180+ days
- SEO Health โ Titles, alt text, meta descriptions, content length
- Comment Sweep โ Pending moderation and spam
- Broken Links โ Dead link detection (50/batch)
- Security Scan โ Outdated software, debug mode, file editing
- Draft Necromancer โ Abandoned drafts worth finishing (uses Ghost Writer)
- Spaced Resurfacing โ Notes not updated in N days
- Tide Report โ Daily digest bundling all findings
Best Practices
- Draft first, publish second โ Use
status: "draft"for create-post; publish after the user confirms. - Orient before acting โ Run
site-digestorsite-healthbefore making significant changes. - Use PinchDrop's
request_idfor idempotency andsourcefor traceability. - Confirm before bulk operations โ
bulk-edit-postsis powerful; confirm scope with the user first. - Keep the Web Clipper bookmarklet private โ It contains the capture token.
Built-in Protections
The WP Pinch plugin includes multiple layers of protection that work automatically:
- Option denylist โ Auth keys, salts, and active_plugins can't be read or modified through the API.
- Role escalation blocking โ
update-user-rolewon't assign administrator or roles with manage_options, edit_users, etc. - PII redaction โ User exports and activity feeds automatically strip emails and sensitive data.
- Protected cron hooks โ Core WordPress hooks (wp_update_plugins, wp_scheduled_delete, etc.) can't be deleted.
- Daily write budget โ Configurable cap on write operations per day with 429 + Retry-After.
- Audit logging โ Every action is logged. Check WP Pinch โ Activity for a full trail.
- Kill switch โ Instantly disable all API access from WP Pinch โ Connection if needed.
- Read-only mode โ Allow reads but block all writes with one toggle.
Error Handling
rate_limitedโ Back off and retry; respectRetry-Afterif present.daily_write_budget_exceeded(429) โ Daily write cap reached; retry tomorrow.validation_error/rest_invalid_paramโ Fix the request (missing param, length limit); don't retry unchanged.capability_denied/rest_forbiddenโ User lacks permission; show a clear message.post_not_foundโ Post ID invalid or deleted; suggest listing or searching.not_configuredโ Gateway URL or API token not set; ask admin to configure WP Pinch.- 503 โ API may be paused (kill switch or read-only mode); check WP Pinch โ Connection.
Full error reference: Error Codes
Security
- MCP-only โ Every operation goes through typed, authenticated MCP tools. Credentials live in the MCP server config, never in prompts.
- Server-side enforcement โ Auth, permissions, input sanitization, and audit logging are handled by the WP Pinch plugin on every request.
- Scoped credentials โ Use Application Passwords and the OpenClaw Agent role for minimal access. Rotate periodically.
- Audit everything โ Every action is logged. Review activity in WP Pinch โ Activity.
For the full security model: Security wiki ยท Plugin source
Setup
Skill env vars (set on your OpenClaw instance):
| Variable | Required | Description |
|---|---|---|
WP_SITE_URL |
Yes | Your WordPress site URL (e.g. https://mysite.com). Not a secret โ just tells the skill which site to target. |
WP_PINCH_API_TOKEN |
No | From WP Pinch โ Connection. For webhook signature verification only โ not needed for MCP tool calls. |
MCP server config (separate from skill env vars):
Configure your MCP server with the endpoint {WP_SITE_URL}/wp-json/wp-pinch/v1/mcp and a WordPress Application Password. The Application Password is stored in the MCP server config (e.g. openclaw.json), not as a skill env var โ the server authenticates every request to WordPress and the skill never handles secrets.
For multiple sites, use different OpenClaw workspaces or env configs.
Full setup guide: Configuration