{"id":207188,"date":"2024-10-22T04:00:28","date_gmt":"2024-10-22T04:00:28","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wpraiz-content-api-tool\/"},"modified":"2026-03-17T09:02:52","modified_gmt":"2026-03-17T09:02:52","slug":"wpraiz-content-api-tool","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/wpraiz-content-api-tool\/","author":15188291,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0.2","stable_tag":"2.0.2","tested":"7.0","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"WPRaiz Content API Tool","header_author":"Jos\u00e9 \u00cdcaro \u2013 WPRaiz","header_description":"Plugin para criar postagens via API REST com campos personalizados de SEO, upload de imagens e categoria principal.","assets_banners_color":"0e284a","last_updated":"2026-03-17 09:02:52","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wpraiz.com.br","header_author_uri":"https:\/\/wpraiz.com.br","rating":5,"author_block_rating":0,"active_installs":70,"downloads":1568,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.3":{"tag":"1.3","author":"zeicaro","date":"2024-10-22 04:03:00"},"1.4":{"tag":"1.4","author":"zeicaro","date":"2024-10-30 16:49:07"},"1.5":{"tag":"1.5","author":"zeicaro","date":"2025-04-02 03:26:44"},"1.5.1":{"tag":"1.5.1","author":"zeicaro","date":"2025-04-02 03:31:38"},"2.0.0":{"tag":"2.0.0","author":"zeicaro","date":"2026-03-14 07:36:07"},"2.0.1":{"tag":"2.0.1","author":"zeicaro","date":"2026-03-17 08:57:57"},"2.0.2":{"tag":"2.0.2","author":"zeicaro","date":"2026-03-17 09:02:52"}},"upgrade_notice":{"2.0.0":"<p>Major update with AI features, MCP server, and complete rewrite. All v1 endpoints remain compatible. Review the new Settings page after upgrading.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":3},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3482396,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3482396,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3482396,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3482396,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.3","1.4","1.5","1.5.1","2.0.0","2.0.1","2.0.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3168876,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Admin page \u2014 Endpoints tab with copy-to-clipboard URLs","2":"Admin page \u2014 Settings with AI provider configuration","3":"Admin page \u2014 MCP Server setup with Claude Desktop config","4":"Admin page \u2014 License activation"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[195933,229563,181641,242115,23853],"plugin_category":[],"plugin_contributors":[257741],"plugin_business_model":[],"class_list":["post-207188","plugin","type-plugin","status-publish","hentry","plugin_tags-ai-content","plugin_tags-claude","plugin_tags-content-automation","plugin_tags-mcp","plugin_tags-rest-api","plugin_contributors-zeicaro","plugin_committers-zeicaro"],"banners":{"banner":"https:\/\/ps.w.org\/wpraiz-content-api-tool\/assets\/banner-772x250.png?rev=3482396","banner_2x":"https:\/\/ps.w.org\/wpraiz-content-api-tool\/assets\/banner-1544x500.png?rev=3482396","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wpraiz-content-api-tool\/assets\/icon-128x128.png?rev=3482396","icon_2x":"https:\/\/ps.w.org\/wpraiz-content-api-tool\/assets\/icon-256x256.png?rev=3482396","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wpraiz-content-api-tool\/assets\/screenshot-1.png?rev=3168876","caption":"Admin page \u2014 Endpoints tab with copy-to-clipboard URLs"}],"raw_content":"<!--section=description-->\n<p><strong>WPRaiz Content API Tool<\/strong> turns your WordPress site into a powerful content API. Create posts, manage categories, generate AI content, and connect AI agents \u2014 all via REST API or Model Context Protocol (MCP).<\/p>\n\n<h4>What You Can Do<\/h4>\n\n<ul>\n<li><strong>Create &amp; Update Posts<\/strong> \u2014 Full control over title, content, status, categories, tags, excerpt, featured images, and custom meta fields via REST API.<\/li>\n<li><strong>Bulk Creation<\/strong> \u2014 Create up to 50 posts in a single request (Pro).<\/li>\n<li><strong>AI Content Generation<\/strong> \u2014 Generate full articles from a topic using Claude or OpenAI with your own API keys (Pro).<\/li>\n<li><strong>AI Rewrite<\/strong> \u2014 Improve SEO, fix grammar, change tone, expand, or summarize existing posts (Pro).<\/li>\n<li><strong>Auto-SEO<\/strong> \u2014 Automatically generate SEO titles and meta descriptions when not provided. Supports SEOPress, Yoast SEO, and Rank Math.<\/li>\n<li><strong>MCP Server<\/strong> \u2014 Connect AI agents (Claude Desktop, Cursor, Windsurf) directly to your site via Model Context Protocol.<\/li>\n<li><strong>Similar Post Search<\/strong> \u2014 Find duplicate or related content using intelligent Levenshtein-based scoring.<\/li>\n<li><strong>Webhooks<\/strong> \u2014 Get notified when posts are created or bulk operations complete, with HMAC signature verification.<\/li>\n<li><strong>JWT Authentication<\/strong> \u2014 Secure token-based auth with configurable rate limiting.<\/li>\n<\/ul>\n\n<h4>Free vs Pro<\/h4>\n\n<p><strong>Free<\/strong> (this plugin):<\/p>\n\n<ul>\n<li>Create and update single posts via REST API<\/li>\n<li>Search similar posts<\/li>\n<li>List and manage categories<\/li>\n<li>JWT and Basic Auth (Application Passwords)<\/li>\n<li>SEO plugin auto-detection and meta writing<\/li>\n<li>Featured image upload from URL<\/li>\n<li>Rate limiting<\/li>\n<li>Legacy v1 endpoint compatibility<\/li>\n<\/ul>\n\n<p><strong>Pro<\/strong> ($49\/year at <a href=\"https:\/\/wpraiz.com.br\/pro\">wpraiz.com.br\/pro<\/a>):<\/p>\n\n<ul>\n<li>Everything in Free, plus:<\/li>\n<li>Bulk post creation (up to 50 per batch)<\/li>\n<li>AI content generation (BYOK \u2014 Claude or OpenAI)<\/li>\n<li>AI post rewriting (5 modes)<\/li>\n<li>Auto-SEO via AI<\/li>\n<li>MCP Server (HTTP + STDIO transports)<\/li>\n<li>Webhook notifications with HMAC signing<\/li>\n<li>Priority support<\/li>\n<\/ul>\n\n<h4>MCP Server<\/h4>\n\n<p>The Model Context Protocol server lets AI agents interact with your WordPress site natively. Available via HTTP (REST API) or STDIO (WP-CLI).<\/p>\n\n<p><strong>Tools:<\/strong> create_post, update_post, search_similar, get_categories, generate_content, rewrite_post, bulk_create<\/p>\n\n<p><strong>Resources:<\/strong> site-info, recent-posts, categories, content-stats, seo-config<\/p>\n\n<p><strong>Prompts:<\/strong> publish_seo_article, content_series, seo_audit, refresh_old_content, internal_linking<\/p>\n\n<p>Add to your <code>claude_desktop_config.json<\/code>:<\/p>\n\n<pre><code>{\n    \"mcpServers\": {\n        \"wpraiz\": {\n            \"command\": \"wp\",\n            \"args\": [\"wpraiz-mcp\", \"serve\", \"--path=\/path\/to\/wordpress\", \"--user=1\"]\n        }\n    }\n}\n<\/code><\/pre>\n\n<h4>REST API Endpoints<\/h4>\n\n<p>Base URL: <code>https:\/\/yoursite.com\/wp-json\/wpraiz\/v2\/<\/code><\/p>\n\n\n\n\n  Endpoint\n  Method\n  Auth\n  Tier\n\n\n\n\n  create-post\n  POST\n  JWT\/Basic\n  Free\n\n\n  update-post\n  POST\n  JWT\/Basic\n  Free\n\n\n  create-posts\n  POST\n  JWT\/Basic\n  Pro\n\n\n  generate-content\n  POST\n  JWT\/Basic\n  Pro\n\n\n  rewrite-post\n  POST\n  JWT\/Basic\n  Pro\n\n\n  search-similar\n  GET\n  Public\n  Free\n\n\n  categories\n  GET\n  Public\n  Free\n\n\n  check-status\n  GET\n  Public\n  Free\n\n\n  auth\/token\n  POST\n  Credentials\n  Free\n\n\n\n\n<h4>Authentication<\/h4>\n\n<p><strong>JWT Token:<\/strong>\n1. POST to <code>auth\/token<\/code> with <code>username<\/code> and <code>password<\/code>\n2. Use the returned token as <code>Authorization: Bearer &lt;token&gt;<\/code><\/p>\n\n<p><strong>Basic Auth:<\/strong>\nUse WordPress Application Passwords with standard HTTP Basic authentication.<\/p>\n\n<h4>Requirements<\/h4>\n\n<ul>\n<li>WordPress 5.8+<\/li>\n<li>PHP 7.4+<\/li>\n<li>For AI features: Claude API key or OpenAI API key<\/li>\n<li>For MCP STDIO: WP-CLI installed<\/li>\n<\/ul>\n\n<h3>Support<\/h3>\n\n<p>Visit <a href=\"https:\/\/wpraiz.com.br\">wpraiz.com.br<\/a> or open an issue on <a href=\"https:\/\/github.com\/wpraiz\/wpraiz-content-api-tool\">GitHub<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/wpraiz-content-api-tool\/<\/code> or install through the WordPress plugins screen.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Go to <strong>Tools &gt; WPRaiz Content API<\/strong> to configure settings.<\/li>\n<li>(Optional) Add your AI API keys for content generation features.<\/li>\n<li>(Optional) Configure webhook URL for notifications.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"do%20i%20need%20an%20ai%20api%20key%20to%20use%20the%20plugin%3F\"><h3>Do I need an AI API key to use the plugin?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"which%20seo%20plugins%20are%20supported%3F\"><h3>Which SEO plugins are supported?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"is%20the%20rest%20api%20secure%3F\"><h3>Is the REST API secure?<\/h3><\/dt>\n<dd><p>Yes. All write endpoints require JWT or Basic Auth. Rate limiting is configurable. Read-only endpoints (search, categories, status) are public by design.<\/p><\/dd>\n<dt id=\"can%20i%20use%20custom%20post%20types%3F\"><h3>Can I use custom post types?<\/h3><\/dt>\n<dd><p>Yes. Both <code>create-post<\/code> and <code>search-similar<\/code> accept a <code>post_type<\/code> parameter. Any registered public post type is supported.<\/p><\/dd>\n<dt id=\"what%20is%20mcp%3F\"><h3>What is MCP?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"are%20v1%20endpoints%20still%20supported%3F\"><h3>Are v1 endpoints still supported?<\/h3><\/dt>\n<dd><p>Yes. Legacy endpoints under <code>api-post-creator\/v1\/<\/code> continue to work for backward compatibility.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>Fix: License client agora aponta para license server self-hosted (wpraiz.com.br\/Hotmart) em vez de LemonSqueezy<\/li>\n<li>Cleanup: Removidas refer\u00eancias a api.lemonsqueezy.com<\/li>\n<li>Add: URL do license server filtr\u00e1vel via 'wpraiz_license_server_url'<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Fix: Race condition no rate limiting (TTL nunca negativo)<\/li>\n<li>Fix: KSES filter sempre restaurado ap\u00f3s wp_update_post (try\/finally)<\/li>\n<li>Fix: JWT Authorization propagado corretamente em chamadas REST internas do MCP<\/li>\n<li>Fix: OpenRouter e DeepSeek retornam WP_Error em vez de string vazia em falhas<\/li>\n<li>Fix: WP_Filesystem null check antes de put_contents<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li><strong>Major rewrite<\/strong> \u2014 Complete architecture overhaul with PSR-4 namespacing<\/li>\n<li><strong>New:<\/strong> AI content generation with Claude and OpenAI (BYOK)<\/li>\n<li><strong>New:<\/strong> AI post rewriting (improve SEO, fix grammar, change tone, expand, summarize)<\/li>\n<li><strong>New:<\/strong> Auto-SEO \u2014 generate title and meta description via AI<\/li>\n<li><strong>New:<\/strong> MCP Server with HTTP and STDIO transports<\/li>\n<li><strong>New:<\/strong> MCP Tools, Resources, and Prompts for AI agents<\/li>\n<li><strong>New:<\/strong> WP-CLI command <code>wp wpraiz-mcp serve<\/code> for Claude Desktop<\/li>\n<li><strong>New:<\/strong> Bulk post creation (up to 50 per batch)<\/li>\n<li><strong>New:<\/strong> Post update endpoint<\/li>\n<li><strong>New:<\/strong> JWT authentication with configurable rate limiting<\/li>\n<li><strong>New:<\/strong> Webhook system with HMAC signing and retry logic<\/li>\n<li><strong>New:<\/strong> Admin UI with tabs (Endpoints, Settings, MCP, License)<\/li>\n<li><strong>Improved:<\/strong> Similar post search using Levenshtein distance scoring<\/li>\n<li><strong>Improved:<\/strong> SEO handler supports SEOPress, Yoast SEO, and Rank Math simultaneously<\/li>\n<li><strong>Improved:<\/strong> Media handler with content-type validation<\/li>\n<li><strong>Improved:<\/strong> Category auto-creation<\/li>\n<li>Backward compatible with v1 endpoints<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Added organized endpoints interface on admin page.<\/li>\n<li>New <code>search-similar-posts<\/code> endpoint for content similarity scoring.<\/li>\n<li>Compatibility with WordPress 6.7.2.<\/li>\n<li>SEO fields now written directly to all supported plugins.<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Added SEO metadata integration for SEOPress, Yoast SEO, and Rank Math.<\/li>\n<li>Introduced <code>\/check-status<\/code> endpoint.<\/li>\n<li>Enhanced error handling and response messages.<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Improved compatibility with WordPress 6.6.<\/li>\n<li>Added support for automatic category creation.<\/li>\n<li>Enhanced image upload functionality.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Added support for SEO metadata (SEOPress compatibility).<\/li>\n<li>Fixed image upload issues.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Initial public release with basic post creation via REST API.<\/li>\n<\/ul>","raw_excerpt":"REST API + MCP Server for WordPress. Create, update, and manage posts programmatically. AI content generation with your own API keys (BYOK).","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/207188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=207188"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/zeicaro"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=207188"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=207188"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=207188"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=207188"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=207188"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=207188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}