微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

54个MCP工具,安全接管WordPress

Pinch to Post - Manage WordPress sites through WP Pinch MCP server · v5.5.1
专业技能 安全 A 级 作者 nickhamze 公开目录收录
4.8k 下载 11 安装 10.7k 收藏 106 浏览

简介

通过MCP协议安全连接WordPress,54个工具实现内容管理、智能改写与自动治理,凭证隔离设计保障企业级安全

原始描述

Manage WordPress sites through WP Pinch MCP tools. Part of WP Pinch (wp-pinch.com).

通过你的 Agent 添加

安装目录:pinch-to-post/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/pinch-to-post-manage-wordpress-sites-through-wp-pinch-mcp-server/
Codex CLI~/.codex/skills/pinch-to-post-manage-wordpress-sites-through-wp-pinch-mcp-server/
DeepSeek Harness~/.agents/skills/pinch-to-post-manage-wordpress-sites-through-wp-pinch-mcp-server/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

Pinch to Post 是面向 WordPress 站点的 MCP(Model Context Protocol)内容管理工具集,通过 WP Pinch 插件将站点能力封装为 54 个结构化工具。用户仅需配置 WP_SITE_URL 环境变量,所有认证凭证由 MCP 服务器独立管理,实现「技能无密、服务器持密」的安全架构。

典型工作流:

  • 内容创作:create-post 默认草稿模式,确认后发布;molt 一键将单篇内容 repurposed 为 10 种格式(社媒、邮件、FAQ、线程等)
  • 知识管理:what-do-i-know 自然语言查询带溯源 ID;knowledge-graph 构建站点内容图谱;spaced-resurfacing 识别沉睡内容
  • 自动治理:8 项每日巡检(内容新鲜度、SEO 健康、失效链接、安全扫描等),Tide Report 统一汇总 webhook
  • WooCommerce:订单管理、产品列表(需插件激活)

显著优点

安全架构领先:T-MD 纯文档型 Skill(无可执行代码)+ MCP 凭证分离 + WordPress 端多层防护(选项黑名单、角色升级阻止、PII 脱敏、每日写入预算)。通过 CLS-Certify S+ 认证(95 分)。

功能密度极高:54 个工具覆盖内容、媒体、分类、用户、评论、设置、插件、主题、分析、治理、电商六大领域,Ghost Writer 语音分析与 Draft Necromancer 等 AI 原生功能深度集成。

运维友好:审计日志全记录、kill switch 一键熔断、read-only 模式、429 + Retry-After 限速保护。

潜在局限

部署复杂度:需同时配置 WordPress 插件 + MCP 服务器 + OpenClaw 环境变量,三步 setup 对非技术用户有门槛。WP Pinch 插件本身的安全更新依赖用户主动维护。

生态锁定:MCP-only 设计(5.5.0 移除 REST fallback)意味着必须依赖 WP Pinch 插件,无法直接对接标准 WordPress REST API 或其他 MCP 实现。

Webhook 配置风险:可选的 WP_PINCH_API_TOKEN 若配置不当(如明文暴露),可能引入签名验证漏洞。

适合人群

  • 内容运营团队:需要批量管理、自动改写、跨平台分发的 WordPress 站点运营者
  • 技术博主/知识管理者:依赖双向链接、知识图谱、 spaced repetition 内容复习的深度用户
  • 电商运营:WooCommerce 商家需自动化订单处理与产品内容管理
  • 安全敏感型企业:对凭证隔离、审计合规、最小权限有硬性要求的组织

常规风险

风险项 说明 缓解措施
MCP 服务器依赖 Skill 本身无代码,安全完全依赖 WP Pinch 插件与 MCP 服务器实现 保持插件更新至最新版,审查 MCP 配置
权限边界模糊 用户可能为便利授予过高 WordPress 权限 强制使用「OpenClaw Agent」内置最小权限角色
Webhook 令牌泄露 多用户环境下误将 API Token 提交版本控制 仅限 OpenClaw 环境变量存储,禁止硬编码
写入预算耗尽 每日上限触发 429 导致业务中断 监控 Tide Report,错峰安排批量操作

技能正文


name: pinch-to-post version: 5.5.1 description: Manage WordPress sites through WP Pinch MCP tools. Part of WP Pinch (wp-pinch.com). author: RegionallyFamous project: https://github.com/RegionallyFamous/wp-pinch homepage: https://wp-pinch.com user-invocable: true security: All operations go through MCP tools. Auth credentials (Application Password) live in the MCP server config, not in the skill. The skill only needs WP_SITE_URL (not a secret). Server-side capability checks and audit logging on every request. tags:

  • wordpress
  • wp-pinch
  • cms
  • mcp
  • content-management
  • automation category: productivity triggers:
  • wordpress
  • wp
  • blog
  • publish
  • post
  • site management metadata: {"openclaw": {"emoji": "🦞", "requires": {"env": ["WP_SITE_URL"]}}} changelog: | 5.5.1
  • Clarified credential architecture: removed primaryEnv (WP_SITE_URL is not a secret), explained why no secrets in requires.env (auth handled by MCP server, not skill). Split Setup into skill env vars vs MCP server config. Authentication section now directly answers "why only a URL?" 5.5.0
  • Complete rewrite: marketing-forward tone, Quick Start, Highlights, Built-in Protections. MCP-only (removed all REST/curl fallback). Security framed as features, not warnings. 5.4.0
  • Fixed metadata format: single-line JSON per OpenClaw spec. Removed non-spec optionalEnv field. 5.3.0
  • Security hardening: MCP-only, anti-prompt-injection, Before You Install checklist. 5.2.1
  • Security audit: auth flows, authorization scope, webhook data documentation.

5.2.0

  • Added Molt: repackage any post into 10 formats (social, thread, FAQ, email, meta description, and more)
  • Added Ghost Writer: analyze author voice, find abandoned drafts, complete them in your style
  • Added 10+ high-leverage tools: what-do-i-know, project-assembly, knowledge-graph, find-similar, spaced-resurfacing
  • Added quick-win tools: generate-tldr, suggest-links, suggest-terms, quote-bank, content-health-report
  • Added site-digest (Memory Bait), related-posts (Echo Net), synthesize (Weave)
  • PinchDrop Quick Drop mode for minimal note capture
  • Daily write budget with 429 + Retry-After support
  • Governance expanded to 8 tasks including Draft Necromancer and Spaced Resurfacing
  • Tide Report: daily digest bundling all governance findings into one webhook

5.1.0

  • Added PinchDrop capture endpoint with idempotency via request_id
  • Web Clipper bookmarklet support
  • Webhook events: post_delete, governance_finding
  • WooCommerce abilities: woo-list-products, woo-manage-order

5.0.0

  • Initial release on ClawHub
  • 38+ core MCP abilities across 10 categories
  • MCP-first with REST API fallback
  • Full capability checks, input sanitization, audit logging
  • Governance: content freshness, SEO health, comment sweep, broken links, security scan
  • Webhook integration for post, comment, user, and WooCommerce events

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

  1. Install the WP Pinch plugin on your WordPress site from GitHub or wp-pinch.com.
  2. Set WP_SITE_URL in 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.
  3. Configure your MCP server with the endpoint {WP_SITE_URL}/wp-json/wp-pinch/v1/mcp and a WordPress Application Password. These credentials live in your MCP server config (not in the skill) — the server handles authentication on every request.
  4. 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 Molt 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_page
  • wp-pinch/get-post — Fetch a single post by ID
  • wp-pinch/create-post — Create a post (default to status: "draft", publish after user confirms)
  • wp-pinch/update-post — Update existing post
  • wp-pinch/delete-post — Trash a post (recoverable, not permanent)

Media

  • wp-pinch/list-media — List media library items
  • wp-pinch/upload-media — Upload from URL
  • wp-pinch/delete-media — Delete attachment by ID

Taxonomies

  • wp-pinch/list-taxonomies — List taxonomies and terms
  • wp-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 filters
  • wp-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 status
  • wp-pinch/toggle-plugin — Activate or deactivate
  • wp-pinch/list-themes — List themes
  • wp-pinch/switch-theme — Switch active theme

Analytics & Discovery

  • wp-pinch/site-health — WordPress site health summary
  • wp-pinch/recent-activity — Recent posts, comments, users
  • wp-pinch/search-content — Full-text search across posts
  • wp-pinch/export-data — Export posts/users as JSON (PII automatically redacted)
  • wp-pinch/site-digest — Memory Bait: compact export of recent posts for agent context
  • wp-pinch/related-posts — Echo Net: backlinks and taxonomy-related posts for a given post ID
  • wp-pinch/synthesize — Weave: search + fetch payload for LLM synthesis

Quick-win tools

  • wp-pinch/generate-tldr — Generate and store TL;DR for a post
  • wp-pinch/suggest-links — Suggest internal link candidates for a post or query
  • wp-pinch/suggest-terms — Suggest taxonomy terms for content or a post ID
  • wp-pinch/quote-bank — Extract notable sentences from a post
  • wp-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 IDs
  • wp-pinch/project-assembly — Weave multiple posts into one draft with citations
  • wp-pinch/spaced-resurfacing — Posts not updated in N days (by category/tag)
  • wp-pinch/find-similar — Find posts similar to a post or query
  • wp-pinch/knowledge-graph — Graph of posts and links for visualization

Advanced

  • wp-pinch/list-menus — List navigation menus
  • wp-pinch/manage-menu-item — Add, update, delete menu items
  • wp-pinch/get-post-meta — Read post meta
  • wp-pinch/update-post-meta — Write post meta (per-post capability check)
  • wp-pinch/list-revisions — List revisions for a post
  • wp-pinch/restore-revision — Restore a revision
  • wp-pinch/bulk-edit-posts — Bulk update post status, terms
  • wp-pinch/list-cron-events — List scheduled cron events
  • wp-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). Use options.save_as_note: true for Quick Drop.

WooCommerce (when active)

  • wp-pinch/woo-list-products — List products
  • wp-pinch/woo-manage-order — Update order status, add notes

Ghost Writer (when enabled)

  • wp-pinch/analyze-voice — Build or refresh author style profile
  • wp-pinch/list-abandoned-drafts — Rank drafts by resurrection potential
  • wp-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-role automatically 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, trashed
  • new_comment — Comment posted
  • user_register — New user signup
  • woo_order_change — WooCommerce order status change
  • post_delete — Post permanently deleted
  • governance_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

  1. Draft first, publish second — Use status: "draft" for create-post; publish after the user confirms.
  2. Orient before acting — Run site-digest or site-health before making significant changes.
  3. Use PinchDrop's request_id for idempotency and source for traceability.
  4. Confirm before bulk operations — bulk-edit-posts is powerful; confirm scope with the user first.
  5. 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-role won'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; respect Retry-After if 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

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

wordpressmcpcontent-managementcmsautomationghost-writerknowledge-graphwoocommerce

同类 Skill