Title: WPRaiz Content API Tool
Author: José Ícaro - WPRaiz
Published: <strong>2024 年 10 月 22 日</strong>
Last modified: 2026 年 3 月 17 日

---

搜索插件

![](https://ps.w.org/wpraiz-content-api-tool/assets/banner-772x250.png?rev=3482396)

![](https://ps.w.org/wpraiz-content-api-tool/assets/icon-256x256.png?rev=3482396)

# WPRaiz Content API Tool

 作者：[José Ícaro – WPRaiz](https://profiles.wordpress.org/zeicaro/)

[下载](https://downloads.wordpress.org/plugin/wpraiz-content-api-tool.2.0.2.zip)

 * [详情](https://cn.wordpress.org/plugins/wpraiz-content-api-tool/#description)
 * [评价](https://cn.wordpress.org/plugins/wpraiz-content-api-tool/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wpraiz-content-api-tool/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wpraiz-content-api-tool/#developers)

 [支持](https://wordpress.org/support/plugin/wpraiz-content-api-tool/)

## 描述

**WPRaiz Content API Tool** turns your WordPress site into a powerful content API.
Create posts, manage categories, generate AI content, and connect AI agents — all
via REST API or Model Context Protocol (MCP).

#### What You Can Do

 * **Create & Update Posts** — Full control over title, content, status, categories,
   tags, excerpt, featured images, and custom meta fields via REST API.
 * **Bulk Creation** — Create up to 50 posts in a single request (Pro).
 * **AI Content Generation** — Generate full articles from a topic using Claude 
   or OpenAI with your own API keys (Pro).
 * **AI Rewrite** — Improve SEO, fix grammar, change tone, expand, or summarize 
   existing posts (Pro).
 * **Auto-SEO** — Automatically generate SEO titles and meta descriptions when not
   provided. Supports SEOPress, Yoast SEO, and Rank Math.
 * **MCP Server** — Connect AI agents (Claude Desktop, Cursor, Windsurf) directly
   to your site via Model Context Protocol.
 * **Similar Post Search** — Find duplicate or related content using intelligent
   Levenshtein-based scoring.
 * **Webhooks** — Get notified when posts are created or bulk operations complete,
   with HMAC signature verification.
 * **JWT Authentication** — Secure token-based auth with configurable rate limiting.

#### Free vs Pro

**Free** (this plugin):

 * Create and update single posts via REST API
 * Search similar posts
 * List and manage categories
 * JWT and Basic Auth (Application Passwords)
 * SEO plugin auto-detection and meta writing
 * Featured image upload from URL
 * Rate limiting
 * Legacy v1 endpoint compatibility

**Pro** ($49/year at [wpraiz.com.br/pro](https://wpraiz.com.br/pro)):

 * Everything in Free, plus:
 * Bulk post creation (up to 50 per batch)
 * AI content generation (BYOK — Claude or OpenAI)
 * AI post rewriting (5 modes)
 * Auto-SEO via AI
 * MCP Server (HTTP + STDIO transports)
 * Webhook notifications with HMAC signing
 * Priority support

#### MCP Server

The Model Context Protocol server lets AI agents interact with your WordPress site
natively. Available via HTTP (REST API) or STDIO (WP-CLI).

**Tools:** create_post, update_post, search_similar, get_categories, generate_content,
rewrite_post, bulk_create

**Resources:** site-info, recent-posts, categories, content-stats, seo-config

**Prompts:** publish_seo_article, content_series, seo_audit, refresh_old_content,
internal_linking

Add to your `claude_desktop_config.json`:

    ```
    {
        "mcpServers": {
            "wpraiz": {
                "command": "wp",
                "args": ["wpraiz-mcp", "serve", "--path=/path/to/wordpress", "--user=1"]
            }
        }
    }
    ```

#### REST API Endpoints

Base URL: `https://yoursite.com/wp-json/wpraiz/v2/`

 Endpoint
 Method Auth Tier

 create-post
 POST JWT/Basic Free

 update-post
 POST JWT/Basic Free

 create-posts
 POST JWT/Basic Pro

 generate-content
 POST JWT/Basic Pro

 rewrite-post
 POST JWT/Basic Pro

 search-similar
 GET Public Free

 categories
 GET Public Free

 check-status
 GET Public Free

 auth/token
 POST Credentials Free

#### Authentication

**JWT Token:**
 1. POST to `auth/token` with `username` and `password` 2. Use the
returned token as `Authorization: Bearer <token>`

**Basic Auth:**
 Use WordPress Application Passwords with standard HTTP Basic authentication.

#### Requirements

 * WordPress 5.8+
 * PHP 7.4+
 * For AI features: Claude API key or OpenAI API key
 * For MCP STDIO: WP-CLI installed

### Support

Visit [wpraiz.com.br](https://wpraiz.com.br) or open an issue on [GitHub](https://github.com/wpraiz/wpraiz-content-api-tool).

## 屏幕截图

[⌊Admin page — Endpoints tab with copy-to-clipboard URLs⌉⌊Admin page — Endpoints
tab with copy-to-clipboard URLs⌉[

Admin page — Endpoints tab with copy-to-clipboard URLs

## 安装

 1. Upload the plugin files to `/wp-content/plugins/wpraiz-content-api-tool/` or install
    through the WordPress plugins screen.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Go to **Tools > WPRaiz Content API** to configure settings.
 4. (Optional) Add your AI API keys for content generation features.
 5. (Optional) Configure webhook URL for notifications.

## 常见问题

### Do I need an AI API key to use the plugin?

No. The free version works without any API keys. AI features (content generation,
rewriting, auto-SEO) require a Claude or OpenAI API key and a Pro license.

### Which SEO plugins are supported?

SEOPress, Yoast SEO, and Rank Math. The plugin auto-detects which one is active 
and writes meta data accordingly. It also writes to all three for maximum compatibility.

### Is the REST API secure?

Yes. All write endpoints require JWT or Basic Auth. Rate limiting is configurable.
Read-only endpoints (search, categories, status) are public by design.

### Can I use custom post types?

Yes. Both `create-post` and `search-similar` accept a `post_type` parameter. Any
registered public post type is supported.

### What is MCP?

Model Context Protocol is an open standard for connecting AI models to external 
tools. With our MCP server, Claude Desktop, Cursor, and other AI agents can create
posts, search content, and generate articles directly on your WordPress site.

### Are v1 endpoints still supported?

Yes. Legacy endpoints under `api-post-creator/v1/` continue to work for backward
compatibility.

## 评价

![](https://secure.gravatar.com/avatar/6e918a9e4951c1cfe6403e362fc26eb06abc7ee874c19c7e6376b7a25f3b6bd2?
s=60&d=retro&r=g)

### 󠀁[Amazing Tool](https://wordpress.org/support/topic/amazing-tool-176/)󠁿

 [kenshiads](https://profiles.wordpress.org/kenshiads/) 2024 年 10 月 26 日

This plugin is a game-changer for automating WordPress content. It lets me create
posts via API, handle SEO fields, upload images directly as featured images, and
assign categories automatically—all in one go. It’s exactly what I needed to streamline
content workflows from external systems. Simple setup, powerful features—couldn’t
recommend it more for developers!

![](https://secure.gravatar.com/avatar/19314901ec1d142db8f53464a040b44912bd976b474b9738b2bb29596ce76fa6?
s=60&d=retro&r=g)

### 󠀁[Plugin excelente](https://wordpress.org/support/topic/plugin-excelente-90/)󠁿

 [evilzao](https://profiles.wordpress.org/evilzao/) 2024 年 10 月 24 日

Facilita muito a criação automática de posts via API. Suporte a SEO e imagens funciona
perfeitamente. Recomendo para quem quer automatizar conteúdos!

![](https://secure.gravatar.com/avatar/edf269d664b17ec6869e0b58aca8752c8d686ad34dce6c2e32061a94cea7fb5a?
s=60&d=retro&r=g)

### 󠀁[Ótimo para Workflow com IA](https://wordpress.org/support/topic/otimo-para-workflow-com-ia/)󠁿

 [jibclbnp](https://profiles.wordpress.org/jibclbnp/) 2024 年 10 月 23 日

Parabéns pelo trabalho, ótima solução para integrações que exigem postagem automática
com Imagens no WordPress, no meu caso utilizando IA para criação dos conteúdos!

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/wpraiz-content-api-tool/reviews/)

## 贡献者及开发者

「WPRaiz Content API Tool」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ José Ícaro – WPRaiz ](https://profiles.wordpress.org/zeicaro/)

[帮助将「WPRaiz Content API Tool」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wpraiz-content-api-tool)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wpraiz-content-api-tool/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/wpraiz-content-api-tool/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/wpraiz-content-api-tool/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wpraiz-content-api-tool/)。

## 更新日志

#### 2.0.2

 * Fix: License client agora aponta para license server self-hosted (wpraiz.com.
   br/Hotmart) em vez de LemonSqueezy
 * Cleanup: Removidas referências a api.lemonsqueezy.com
 * Add: URL do license server filtrável via ‘wpraiz_license_server_url’

#### 2.0.1

 * Fix: Race condition no rate limiting (TTL nunca negativo)
 * Fix: KSES filter sempre restaurado após wp_update_post (try/finally)
 * Fix: JWT Authorization propagado corretamente em chamadas REST internas do MCP
 * Fix: OpenRouter e DeepSeek retornam WP_Error em vez de string vazia em falhas
 * Fix: WP_Filesystem null check antes de put_contents

#### 2.0.0

 * **Major rewrite** — Complete architecture overhaul with PSR-4 namespacing
 * **New:** AI content generation with Claude and OpenAI (BYOK)
 * **New:** AI post rewriting (improve SEO, fix grammar, change tone, expand, summarize)
 * **New:** Auto-SEO — generate title and meta description via AI
 * **New:** MCP Server with HTTP and STDIO transports
 * **New:** MCP Tools, Resources, and Prompts for AI agents
 * **New:** WP-CLI command `wp wpraiz-mcp serve` for Claude Desktop
 * **New:** Bulk post creation (up to 50 per batch)
 * **New:** Post update endpoint
 * **New:** JWT authentication with configurable rate limiting
 * **New:** Webhook system with HMAC signing and retry logic
 * **New:** Admin UI with tabs (Endpoints, Settings, MCP, License)
 * **Improved:** Similar post search using Levenshtein distance scoring
 * **Improved:** SEO handler supports SEOPress, Yoast SEO, and Rank Math simultaneously
 * **Improved:** Media handler with content-type validation
 * **Improved:** Category auto-creation
 * Backward compatible with v1 endpoints

#### 1.5

 * Added organized endpoints interface on admin page.
 * New `search-similar-posts` endpoint for content similarity scoring.
 * Compatibility with WordPress 6.7.2.
 * SEO fields now written directly to all supported plugins.

#### 1.4

 * Added SEO metadata integration for SEOPress, Yoast SEO, and Rank Math.
 * Introduced `/check-status` endpoint.
 * Enhanced error handling and response messages.

#### 1.3

 * Improved compatibility with WordPress 6.6.
 * Added support for automatic category creation.
 * Enhanced image upload functionality.

#### 1.2

 * Added support for SEO metadata (SEOPress compatibility).
 * Fixed image upload issues.

#### 1.1

 * Initial public release with basic post creation via REST API.

## 额外信息

 *  版本 **2.0.2**
 *  最后更新：**3 月前**
 *  活跃安装数量 **70+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/wpraiz-content-api-tool/)
 * 标签
 * [ai content](https://cn.wordpress.org/plugins/tags/ai-content/)[Claude](https://cn.wordpress.org/plugins/tags/claude/)
   [content automation](https://cn.wordpress.org/plugins/tags/content-automation/)
   [mcp](https://cn.wordpress.org/plugins/tags/mcp/)[rest-api](https://cn.wordpress.org/plugins/tags/rest-api/)
 *  [高级视图](https://cn.wordpress.org/plugins/wpraiz-content-api-tool/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/wpraiz-content-api-tool/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/wpraiz-content-api-tool/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/wpraiz-content-api-tool/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/wpraiz-content-api-tool/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/wpraiz-content-api-tool/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wpraiz-content-api-tool/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wpraiz-content-api-tool/reviews/)

## 贡献者

 *   [ José Ícaro – WPRaiz ](https://profiles.wordpress.org/zeicaro/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wpraiz-content-api-tool/)