{"id":132291,"date":"2025-08-12T10:56:35","date_gmt":"2025-08-12T10:56:35","guid":{"rendered":"\/tutorials\/?p=132291"},"modified":"2026-03-09T19:16:17","modified_gmt":"2026-03-09T19:16:17","slug":"wordpress-mcp-integration","status":"publish","type":"post","link":"\/ng\/tutorials\/wordpress-mcp-integration","title":{"rendered":"What is WordPress MCP integration?"},"content":{"rendered":"<?xml encoding=\"utf-8\" ?><p>The Model Context Protocol (MCP) is a unified interface that enables AI-powered systems to interact and exchange data with other platforms, tools, and applications.<\/p><p>The WordPress-MCP integration sets up the interface to allow AI platforms to access data on the content management system (CMS). This enables you to connect and use an AI agent for WordPress management.<\/p><p>This integration is possible with an MCP server, which converts natural language in your prompt to application programming interface (API) calls that perform specific actions in your website. This makes working with WordPress more efficient, beginner-friendly, and automated.<\/p><p>If you have a website running on a Hostinger WordPress hosting plan, it&rsquo;ll already have MCP integrated. This means you can use Kodee, our AI assistant, to handle various tasks like updating general site settings, managing posts, or taking care of your WooCommerce store inventory.<\/p><p>Otherwise, you can integrate MCP with WordPress by setting up an MCP server on a personal machine. To do this, get an application password from WordPress, install an MCP server package, and connect an AI agent by connecting its configuration file.<\/p><p>Let&rsquo;s explore the WordPress-MCP integration in detail, including its example use cases and how to set up your own server on a personal computer.<\/p><p>\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-what-is-a-wordpress-mcp-server\"><strong>What is a WordPress MCP server?<\/strong><\/h2><p>A WordPress MCP server is a tool that facilitates the connection between WordPress sites and AI-powered platforms. It exposes data and functionality of your WordPress instance to AI tools like Claude through the <a href=\"\/ng\/tutorials\/wordpress-rest-api\">REST API<\/a>.<\/p><p>This integration enables the AI tool to access, use, and manipulate data on your WordPress sites, which include posts, pages, users, media, themes, and more. As users, you can then use the AI platform to manage WordPress data using natural language.<\/p><p>The MCP server for WordPress takes the natural language instructions from the AI tool, converts them into API calls, and forwards them to the CMS. Like traditional API, this communication requires authentication to <a href=\"\/ng\/tutorials\/how-to-secure-wordpress-for-ai-automation\">maintain security<\/a>.<\/p><h2 class=\"wp-block-heading\" id=\"h-benefits-of-the-wordpress-mcp-integration\"><strong>Benefits of the WordPress MCP integration<\/strong><\/h2><p>The benefits of integrating WordPress and MCP mainly relate to improved management efficiency. Here are several reasons why you should consider this integration:<\/p><ul class=\"wp-block-list\">\n<li><strong>Streamlining site administration<\/strong>. The WordPress MCP server enables you to use natural language to manage various aspects of your websites, minimizing the need for code or commands. This makes administration tasks more beginner-friendly and less technical. <\/li>\n\n\n\n<li><strong>Saving time and effort<\/strong>. Traditionally, you need to access multiple menus to modify specific settings of your site. The MCP lets you directly manage various aspects of WordPress via an AI agent like Claude, making the process more efficient. <\/li>\n\n\n\n<li><strong>Multi-site management<\/strong>. Connecting multiple sites to an AI tool using the MCP server enables you to manage them easily from a centralized platform.<\/li>\n\n\n\n<li><strong>Automating tasks<\/strong>. AI tools connected via the WordPress MCP server can automatically complete a series of tasks based on simple instructions.  <\/li>\n<\/ul><p>Given its benefits, using the MCP server can take your site administration tasks to the next level. Now, let&rsquo;s learn how to set it up for your website so you can try this tool yourself.<\/p><h2 class=\"wp-block-heading\" id=\"h-how-to-use-the-wordpress-mcp-integration-in-hostinger\"><strong>How to use the WordPress MCP integration in Hostinger<\/strong><\/h2><p>Using the WordPress MCP integration in Hostinger is very straightforward, as it is preconfigured.<\/p><p>By default, <a href=\"\/ng\/wordpress-hosting\">Hostinger&rsquo;s managed WordPress hosting solution<\/a> comes integrated with our AI assistant, <strong>Kodee<\/strong>, through MCP. This means you can directly manage your website by chatting with AI out of the box.<\/p><?xml encoding=\"utf-8\" ?><figure class=\"wp-block-image size-large\"><a class=\"hgr-tutorials-cta hgr-tutorials-cta-wordpress-hosting\" href=\"\/ng\/wordpress-hosting\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"2048\" height=\"600\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/public\" alt=\"\" class=\"wp-image-111781\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=2048,fit=scale-down 2048w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=1536,fit=scale-down 1536w\" sizes=\"auto, (max-width: 2048px) 100vw, 2048px\" \/><\/a><\/figure><p>If you are already using our hosting plan, you need to update the Hostinger WordPress plugin and grant permission to enable the integration.<\/p><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e16bdea874d\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"998\" height=\"456\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-asks-for-permission-to-manage-wordpress.png\/public\" alt=\"Kodee asks for permission to manage WordPress\" class=\"wp-image-132293\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-asks-for-permission-to-manage-wordpress.png\/w=998,fit=scale-down 998w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-asks-for-permission-to-manage-wordpress.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-asks-for-permission-to-manage-wordpress.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-asks-for-permission-to-manage-wordpress.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 998px) 100vw, 998px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>Once set up, here&rsquo;s how to access the Kodee interface and use the MCP integration on Hostinger WordPress hosting:<\/p><ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/hpanel.hostinger.com\/\">Log in to hPanel<\/a> and go to the <strong>sidebar <\/strong>&rarr; <strong>Websites <\/strong>&rarr; <strong>Websites list<\/strong>.<\/li>\n\n\n\n<li>Click the <strong>WP Admin <\/strong>button for the WordPress website you want to manage. <\/li>\n<\/ol><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e16bdea8f31\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1239\" height=\"195\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/the-wp-admin-button-on-hpanel.png\/public\" alt=\"The WP Admin button on hPanel\" class=\"wp-image-132296\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/the-wp-admin-button-on-hpanel.png\/w=1239,fit=scale-down 1239w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/the-wp-admin-button-on-hpanel.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/the-wp-admin-button-on-hpanel.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/the-wp-admin-button-on-hpanel.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/the-wp-admin-button-on-hpanel.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1239px) 100vw, 1239px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"3\" class=\"wp-block-list\">\n<li>In the WordPress admin dashboard, click the<strong> Kodee<\/strong> icon in the bottom right corner. <\/li>\n<\/ol><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e16bdea9658\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"742\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/the-kodee-button-on-the-wordpress-admin-dashboard.png\/public\" alt=\"The Kodee button on the WordPress admin dashboard\" class=\"wp-image-132297\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/the-kodee-button-on-the-wordpress-admin-dashboard.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/the-kodee-button-on-the-wordpress-admin-dashboard.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/the-kodee-button-on-the-wordpress-admin-dashboard.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/the-kodee-button-on-the-wordpress-admin-dashboard.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/the-kodee-button-on-the-wordpress-admin-dashboard.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"4\" class=\"wp-block-list\">\n<li>Enter your prompt to ask Kodee to modify your website, like in this example:<\/li>\n<\/ol><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"atomic\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Create a new contributor user in my WordPress instance with John Doe as the username. <\/pre><p>Kodee can handle various maintenance and management tasks. In the next section, we will learn more about the practical use case examples.<\/p><h2 class=\"wp-block-heading\" id=\"h-use-case-examples-of-the-wordpress-mcp-automation\"><strong>Use case examples of the WordPress MCP automation<\/strong><\/h2><p>Here are some use case examples of the WordPress MCP automation, as well as their prompts and outputs.<\/p><p>Note that since our MCP integration is still in its early stages, Kodee has yet to support advanced functionality. However, it can already handle various day-to-day tasks, which we&rsquo;ll explain in this section.<\/p><h3 class=\"wp-block-heading\" id=\"h-1-administering-wordpress-general-settings-and-users\"><strong>1. Administering WordPress general settings and users<\/strong><\/h3><p>The most basic use case for the WordPress MCP integration is to check detailed information about your site, such as the site name, URL, admin email address, and more. To do this, specify what type of information you want to check in your prompt, like so:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"atomic\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Check the admin email address associated with my WordPress site.<\/pre><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e16bdea9f48\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"706\" height=\"322\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-checks-wordpress-website-admin-email-address.png\/public\" alt=\"Kodee checks a WordPress website's admin email address\" class=\"wp-image-132298\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-checks-wordpress-website-admin-email-address.png\/w=706,fit=scale-down 706w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-checks-wordpress-website-admin-email-address.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-checks-wordpress-website-admin-email-address.png\/w=150,fit=scale-down 150w\" sizes=\"auto, (max-width: 706px) 100vw, 706px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>You can also update your site&rsquo;s general settings by asking Kodee, for example:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"atomic\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Update the admin email address associated with my WordPress site from oldemail@mail.com to newemail@mail.com.<\/pre><p>Moreover, you can ask the AI assistant to manage user settings in your WordPress instance. Here are some tasks you can do:<\/p><ul class=\"wp-block-list\">\n<li>Search and filter WordPress users, listing them with pagination.<\/li>\n\n\n\n<li>Retrieve a username based on the account&rsquo;s ID.<\/li>\n\n\n\n<li>Create a new user account in your WordPress site. <\/li>\n\n\n\n<li>Check the currently logged-in user. <\/li>\n\n\n\n<li>Update information about a user or the currently logged-in one. <\/li>\n<\/ul><p>For example, you can check all admin users in your WordPress instance by entering this prompt:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"atomic\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">List all users with the administrator role in my WordPress website.<\/pre><h3 class=\"wp-block-heading\" id=\"h-2-managing-posts-and-pages\"><strong>2. Managing posts and pages<\/strong><\/h3><p>Managing posts and pages using the WordPress-MCP integration is a huge time saver, mainly since most of your site&rsquo;s content is composed of them. Here are the operations you can ask Kodee to perform via MCP:<\/p><ul class=\"wp-block-list\">\n<li>Search and filter all posts and pages in your WordPress website. <\/li>\n\n\n\n<li>Fetch the content of a specific post or page using its ID. <\/li>\n\n\n\n<li>Create a new post or page.<\/li>\n\n\n\n<li>Update an existing post or page with new content. <\/li>\n<\/ul><p>In addition to the default posts and pages, you can manage custom post types, categories, and tags using Kodee via MCP. This is especially helpful for a complex WordPress website with different kinds of content.<\/p><p>For example, the following prompt will create a new category for blog posts and assign a couple of existing articles to it:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"atomic\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Create a new post category called \"Sponsored.\" Then, assign existing posts with the IDs of 28 and 30 to this new category.<\/pre><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e16bdeaa909\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"690\" height=\"466\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-creates-and-manage-a-post-catagory.png\/public\" alt=\"Kodee creates an manage a post category in WordPress\" class=\"wp-image-132299\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-creates-and-manage-a-post-catagory.png\/w=690,fit=scale-down 690w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-creates-and-manage-a-post-catagory.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-creates-and-manage-a-post-catagory.png\/w=150,fit=scale-down 150w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><h3 class=\"wp-block-heading\" id=\"h-3-managing-media-files\"><strong>3. Managing media files<\/strong><\/h3><p>You can use the WordPress-MCP integration to manage files in your website&rsquo;s media library, which might include images, videos, audio, and other documents. This makes the process efficient since finding a specific file among hundreds of items can be time-consuming.<\/p><p>The most basic operation when managing media files with AI is to list all of them and get detailed information about a specific item using its ID. You can do this using these prompts:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"atomic\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">List all files in my media library. <\/pre><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"atomic\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Provide detailed information about the media file with the ID number 12345. <\/pre><p>You can also look up a specific media file using its title, caption, or description. Here&rsquo;s an example prompt:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"atomic\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Find the image file with the description of &ldquo;The main home page of Hostinger&rsquo;s website.&rdquo;<\/pre><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e16bdeab156\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"696\" height=\"396\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-finds-an-image-on-the-wordpress-media-library.png\/public\" alt=\"Kodee finds an image on the WordPress media library based on its description\" class=\"wp-image-132300\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-finds-an-image-on-the-wordpress-media-library.png\/w=696,fit=scale-down 696w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-finds-an-image-on-the-wordpress-media-library.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-finds-an-image-on-the-wordpress-media-library.png\/w=150,fit=scale-down 150w\" sizes=\"auto, (max-width: 696px) 100vw, 696px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>After finding a specific media file, you can ask AI to update its information, such as its name, title, or description. Note that for now, you can&rsquo;t upload or remove an item from the media library using Kodee.<\/p><p><div class=\"protip\">\n                    <h4 class=\"title\">More features coming soon<\/h4>\n                    <p>We are continuously refining and expanding Kodee capabilities with MCP. You can soon expect it to be able to upload media to your WordPress website or delete existing content.<\/p>\n                <\/div>\n\n\n\n<\/p><h3 class=\"wp-block-heading\" id=\"h-4-handling-products-in-woocommerce\"><strong>4. Handling products in WooCommerce<\/strong><\/h3><p>Handling products in WooCommerce becomes very efficient with MCP, as you can use AI to adjust various aspects of items on your online store. Here are several operations you can perform:<\/p><ul class=\"wp-block-list\">\n<li>Change an item&rsquo;s price, description, title, brand, category, label, or stock. <\/li>\n\n\n\n<li>Add a new product and create a new brand to categorize it. <\/li>\n\n\n\n<li>Create a new product tag, list the existing ones, and assign them to products in your online store. <\/li>\n<\/ul><p>For example, you can create a new brand and add a product to it using this prompt:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"atomic\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Create a new brand called &ldquo;Lunara.&rdquo; Then, make new products called &ldquo;Classic Gold Bracelet,&rdquo; &ldquo;Elegant Silver Bangle,&rdquo; and &ldquo;Minimalist Chain Bracelet&rdquo; in this brand. <\/pre><p>Let&rsquo;s say you want to create a new product. Here&rsquo;s how the prompt might look:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"atomic\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Add a new product in my store called &ldquo;Jade bracelet&rdquo; and set the stock for this item to 30.<\/pre><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e16bdeabab5\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"656\" height=\"400\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-creates-a-new-product-and-set-the-stock-on-woocommerce.png\/public\" alt=\"Kodee creates a new product and set the stock quantity on WooCommerce\" class=\"wp-image-132301\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-creates-a-new-product-and-set-the-stock-on-woocommerce.png\/w=656,fit=scale-down 656w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-creates-a-new-product-and-set-the-stock-on-woocommerce.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-creates-a-new-product-and-set-the-stock-on-woocommerce.png\/w=150,fit=scale-down 150w\" sizes=\"auto, (max-width: 656px) 100vw, 656px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>You can also set a discounted sale for a specific period of time:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"atomic\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Set the default price for &ldquo;Jade bracelet&rdquo; to US$20. From today until the end of this month, set a promotional discounted price of US$18.<\/pre><p>If your product requires copies for the name or description, you can also ask the AI assistant to create one. The prompt is as follows:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"atomic\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Create a description for &ldquo;Jade bracelet&rdquo; and add it to the product page. <\/pre><h3 class=\"wp-block-heading\" id=\"h-5-reporting-woocommerce-store-data\"><strong>5. Reporting WooCommerce store data<\/strong><\/h3><p>Beyond the product, the WordPress-MCP integration enables you to summarize various types of WooCommerce store data using AI. You can check your ecommerce site&rsquo;s total products, coupons, registered users, sales, and more.<\/p><p>For example, you can create a sales report by asking the following:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"atomic\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Check the total number of sales in my store from the 12th of July to the 12th of August. <\/pre><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e16bdeac40e\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"660\" height=\"380\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-checks-number-of-sales-on-woocommerce.png\/public\" alt=\"Kodee checks the number of sales on a WooCommerce online store\" class=\"wp-image-132302\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-checks-number-of-sales-on-woocommerce.png\/w=660,fit=scale-down 660w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-checks-number-of-sales-on-woocommerce.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/kodee-checks-number-of-sales-on-woocommerce.png\/w=150,fit=scale-down 150w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>You can also ask AI to list orders in your WooCommerce store, which streamlines fulfillment, customer inquiries, and inventory management. Here&rsquo;s how the prompt might look:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"atomic\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">List all orders in my WooCommerce store for this past week.<\/pre><h2 class=\"wp-block-heading\" id=\"h-how-to-set-up-your-own-wordpress-mcp-server\"><strong>How to set up your own WordPress MCP server<\/strong><\/h2><p>Setting up your own WordPress MCP server gives you more flexibility in integrating your sites with AI. For example, you can connect any compatible AI platform with your website based on your needs and preferences.<\/p><p>There are various WordPress MCP server versions with different functionalities and setup processes. In this tutorial, we&rsquo;ll show you how to install <a href=\"https:\/\/github.com\/Automattic\/wordpress-mcp\" target=\"_blank\" rel=\"noreferrer noopener\">an MCP server from Automattic<\/a>, which, based on our testing, is the most reliable and easiest to install manually.<\/p><p>To <a href=\"\/ng\/tutorials\/how-to-run-hostinger-api-mcp-server\">set up your own MCP server<\/a>, you need an authentication key to allow an AI agent to connect to your website securely. Automattic&rsquo;s MCP server supports a token or a WordPress application password.<\/p><p>Tokens are more secure as you can set an expiration time that prevents the credential from being compromised in the long term. In this tutorial, however, we&rsquo;ll use an application password as it&rsquo;s easier to set up. Here&rsquo;s how to create one:<\/p><ol class=\"wp-block-list\">\n<li>Open your website&rsquo;s WordPress admin dashboard and navigate to the <strong>sidebar<\/strong> &rarr; <strong>Users<\/strong> &rarr; <strong>Profile<\/strong>.<\/li>\n\n\n\n<li>Scroll down to the <strong>Application Passwords<\/strong> section.<\/li>\n\n\n\n<li>Enter a name for your application password, preferably something descriptive like <strong>MCP integration<\/strong>.<\/li>\n\n\n\n<li>Hit <strong>Add Application Password<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e16bdeacd97\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"2476\" height=\"494\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/application-password-menu-on-wordpress.png\/public\" alt=\"The Application Password creation and management menu on WordPress\" class=\"wp-image-132303\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/application-password-menu-on-wordpress.png\/w=2476,fit=scale-down 2476w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/application-password-menu-on-wordpress.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/application-password-menu-on-wordpress.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/application-password-menu-on-wordpress.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/application-password-menu-on-wordpress.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/application-password-menu-on-wordpress.png\/w=1536,fit=scale-down 1536w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/application-password-menu-on-wordpress.png\/w=2048,fit=scale-down 2048w\" sizes=\"auto, (max-width: 2476px) 100vw, 2476px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"5\" class=\"wp-block-list\">\n<li>Copy the application password and store it in a safe location.<\/li>\n<\/ol><p><div><p class=\"important\"><strong>Important!<\/strong> For security reasons, you won&rsquo;t be able to see your application password again after closing the configuration menu. If you lost it, you must create a new one.<\/p><\/div>\n\n\n\n<\/p><p>Now, let&rsquo;s get into the steps of installing and configuring the WordPress MCP server. Note that other MCP servers might require installation using commands, but the one we use in this tutorial comes as a plugin. Here&rsquo;s how to install it:<\/p><ol class=\"wp-block-list\">\n<li>Download the latest version of the MCP server from the <a href=\"https:\/\/github.com\/Automattic\/wordpress-mcp\/releases\" target=\"_blank\" rel=\"noreferrer noopener\">Automattic GitHub repository&rsquo;s release page<\/a>.<\/li>\n\n\n\n<li>On your WordPress admin dashboard, go to the <strong>sidebar &rarr; Plugin &rarr; Add Plugin<\/strong>.<\/li>\n\n\n\n<li>Click the <strong>Upload Plugin<\/strong> button at the top of the page. <\/li>\n\n\n\n<li>Hit <strong>Choose file <\/strong>and select the <strong>ZIP <\/strong>plugin file you downloaded earlier. <\/li>\n\n\n\n<li>Click <strong>Install Now<\/strong>. <\/li>\n<\/ol><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e16bdead71d\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1634\" height=\"506\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/wordpress-plugin-installation-menu.png\/public\" alt=\"The WordPress plugin installation menu\" class=\"wp-image-132305\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/wordpress-plugin-installation-menu.png\/w=1634,fit=scale-down 1634w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/wordpress-plugin-installation-menu.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/wordpress-plugin-installation-menu.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/wordpress-plugin-installation-menu.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/wordpress-plugin-installation-menu.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/wordpress-plugin-installation-menu.png\/w=1536,fit=scale-down 1536w\" sizes=\"auto, (max-width: 1634px) 100vw, 1634px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"6\" class=\"wp-block-list\">\n<li>Once installed, click <strong>Activate Plugin<\/strong>. <\/li>\n\n\n\n<li>Navigate to the <strong>sidebar &rarr; Settings<\/strong> &rarr; <strong>MCP<\/strong>.<\/li>\n<\/ol><p>Now, let&rsquo;s integrate an AI tool into your WordPress by adding the MCP server configuration. In this tutorial, we&rsquo;ll demonstrate how to connect Claude Desktop, but the steps might be different if you use another tool:<\/p><ol class=\"wp-block-list\">\n<li>Open <strong>Claude Desktop<\/strong>. <\/li>\n\n\n\n<li>Navigate to the<strong> menu bar<\/strong> &rarr; <strong>Claude <\/strong>&rarr; <strong>Settings<\/strong>. If you&rsquo;re on Windows, go to the<strong> burger<\/strong> icon at the top left menu &rarr; <strong>File<\/strong> &rarr; <strong>Settings<\/strong>.<\/li>\n\n\n\n<li>Click the <strong>Developer <\/strong>tab and click <strong>Edit Config<\/strong>.<\/li>\n\n\n\n<li>Open the <strong>claude_desktop_config.json<\/strong> file using a text editor.<\/li>\n\n\n\n<li>Paste the following configuration:<\/li>\n<\/ol><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">{\n\t\"mcpServers\": {\n\t\t\"wordpress-mcp\": {\n\t\t\t\"command\": \"npx\",\n\t\t\t\"args\": [ \"-y\", \"@automattic\/mcp-wordpress-remote@latest\" ],\n\t\t\t\"env\": {\n\t\t\t\t\"WP_API_URL\": \"https:\/\/your-site.com\/\",\n\t\t\t\t\"WP_API_USERNAME\": \"your-username\",\n\t\t\t\t\"WP_API_PASSWORD\": \"your-application-password\",\n\t\t\t\t\"LOG_FILE\": \"optional-path-to-log-file\"\n\t\t\t}\n\t\t}\n\t}\n}<\/pre><ol start=\"6\" class=\"wp-block-list\">\n<li>Replace the following placeholders with the actual values:\n<ul class=\"wp-block-list\">\n<li><strong>Your-site.com<\/strong>. The address of your WordPress website.<\/li>\n\n\n\n<li><strong>Your-username<\/strong>. Your WordPress website&rsquo;s admin account username.<\/li>\n\n\n\n<li><strong>Your-application-password<\/strong>. The application password associated with the admin account. <strong> <\/strong><\/li>\n\n\n\n<li><strong>Optional-path-to-log-file<\/strong>. The optional file location for your WordPress MCP server event logs. Leave it as is to use the default log file. <\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Save the file and restart Claude. <\/li>\n<\/ol><p>That&rsquo;s it! Now, ask Claude to create a new user account on your WordPress website. If the integration works, it should ask for permission to modify your site.<\/p><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e16bdeae186\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"1081\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/claude-asks-for-permission-to-modify-a-wordpress-website.png\/public\" alt=\"Claude asks for a permission to modify a WordPress website\" class=\"wp-image-132306\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/claude-asks-for-permission-to-modify-a-wordpress-website.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/claude-asks-for-permission-to-modify-a-wordpress-website.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/claude-asks-for-permission-to-modify-a-wordpress-website.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/claude-asks-for-permission-to-modify-a-wordpress-website.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2025\/08\/claude-asks-for-permission-to-modify-a-wordpress-website.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><h2 class=\"wp-block-heading\" id=\"h-final-thoughts\"><strong>Final thoughts<\/strong><\/h2><p>The WordPress-MCP integration lets you complete various tasks, like checking your website&rsquo;s general settings and handling inventory, by simply chatting with an AI agent. Whether you are a seasoned developer or a beginner, it can make your site administration more efficient.<\/p><p>Given its benefits, integrating an AI tool into your WordPress website via MCP might be the next step in your online journey. You can do it by installing the MCP server package or purchasing a WordPress hosting plan from Hostinger, which has it set up by default.<\/p><p>This integration is powerful by itself, but you can go even further in fully automating your WordPress website management tasks by connecting other tools. For example, <a href=\"\/ng\/tutorials\/how-to-use-n8n-with-mcp\">combining MCP with n8n <\/a>creates a fully autonomous system for various purposes. If you are interested in further streamlining your website management tasks, we have a <a href=\"\/ng\/tutorials\/vps\/automation\">catalog of automation tutorials<\/a> that will help you get started.<\/p><p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Model Context Protocol (MCP) is a unified interface that enables AI-powered systems to interact and exchange data with other platforms, tools, and applications. The WordPress-MCP integration sets up the interface to allow AI platforms to access data on the content management system (CMS). This enables you to connect and use an AI agent for [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/ng\/tutorials\/wordpress-mcp-integration\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":337,"featured_media":143114,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"What is WordPress MCP integration?","rank_math_description":"WordPress-MCP integration is a way of connecting an AI agent into WordPress to streamline website management tasks. Learn how to set it up here.","rank_math_focus_keyword":"wordpress mcp","footnotes":""},"categories":[22637],"tags":[],"class_list":["post-132291","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/wordpress-mcp-integration","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/wordpress-mcp-integration","default":0},{"locale":"en-UK","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/wordpress-mcp-integration","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/wordpress-mcp-integration","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/wordpress-mcp-integration","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/wordpress-mcp-integration","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/wordpress-mcp-integration","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/wordpress-mcp-integration","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/132291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/users\/337"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/comments?post=132291"}],"version-history":[{"count":3,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/132291\/revisions"}],"predecessor-version":[{"id":143113,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/132291\/revisions\/143113"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/media\/143114"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/media?parent=132291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/categories?post=132291"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/tags?post=132291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}