Hot Line:

+1 (917) 730-2010

AI-Powered Web Development, SEO, Shopify & WordPress — Get a Free Consultation Today. Get Started

Tutorials

How To Connect Claude AI to WordPress via MCP (Step-by-step)

  • 08 Jun, 2026
  • 0 Comments
  • By WebSensePro
How To Connect Claude AI to WordPress via MCP (Step-by-step)

Tired of paying developers to create blog posts and manage your WordPress site? There’s a game-changing solution that lets you automate WordPress directly from Claude AI, completely free, no coding required.

In this comprehensive guide, I’ll walk you through connecting Claude AI to your WordPress website so you can create SEO-friendly blog posts, manage pages, and handle content tasks instantly, all without leaving the chat.

What You’ll Learn

By the end of this tutorial, you’ll be able to:

  • Connect Claude AI directly to your WordPress installation
  • Create SEO-optimized blog posts with a simple chat prompt
  • Manage pages, posts, and WooCommerce products automatically
  • Delete, edit, and organize content hands-free
  • Analyze your WordPress content for SEO improvements

Let’s get started!

Step 1: Download the Required Tools

To automate WordPress with Claude AI, you’ll need two essential components:

1. WordPress MCP Adapter

The MCP Adapter is the bridge that connects Claude to your WordPress site. Download the latest release here:

MCP Adapter Plugin: https://github.com/WordPress/mcp-adapter/releases

Click on “Releases” and download the latest version to your computer.

2. WSP WordPress MCP Plugin

This custom plugin makes the integration simple and user-friendly, even if you’re not technical.

MCP Plugin: https://github.com/bilalnaseer/wsp-wordpress-mcp/releases

Download the latest release of the WSP WordPress MCP plugin.

Once both files are downloaded, keep them handy—you’ll need them in the next step.

Step 2: Install Both Plugins on WordPress

Now it’s time to upload and activate these plugins on your WordPress site.

Installing the MCP Adapter

  1. Log in to your WordPress dashboard
  2. Navigate to PluginsAdd New
  3. Click Upload Plugin
  4. Select the downloaded MCP Adapter file
  5. Click Install Now
  6. Click Activate Plugin

You should now see “MCP” in your WordPress menu.

Installing the WSP WordPress MCP Plugin

  1. Return to PluginsAdd New
  2. Click Upload Plugin
  3. Choose the WSP WordPress MCP plugin file
  4. Click Install Now
  5. Click Activate Plugin

Great! Both plugins are now active on your WordPress site.

Step 3: Configure Abilities & Permissions

With both plugins active, you need to set up what Claude can do on your site.

  1. Go to MCP in your WordPress menu
  2. Click Settings
  3. You’ll see various toggles for different abilities:

Posts: Read posts, Create posts, Update posts, Delete posts Pages: Read pages, Create pages, Update pages, Delete pages Taxonomy: Manage categories and tags Comments: Manage comments Media: Manage images and files Users: Manage user accounts

Toggle ON the abilities you want Claude to have. For example, if you only want Claude to read posts (not create them), leave the “Create Posts” toggle OFF.

⚠️ Security Note: Be cautious with deletion permissions—only enable what you truly need.

Step 4: Generate Your Application Password

Claude needs secure access to your WordPress site. Here’s how to create an application password:

  1. Go to UsersAll Users
  2. Click on your user account to edit it
  3. Scroll down to Application Passwords
  4. Enter a name (e.g., “Claude AI”)
  5. Click Add Application Password
  6. Copy the generated password (you’ll need this in the next step)

⚠️ Important: Never share this password with anyone. Treat it like your WordPress login credentials.

Step 5: Get Your Configuration File

Now you need to retrieve the configuration file that connects Claude to WordPress.

  1. In WordPress, go to MCPSettings
  2. Scroll down to Config Files
  3. You’ll see a JSON configuration code
  4. Click Copy to Clipboard

This config file contains all the settings Claude needs to access your WordPress site.

Step 6: Add Configuration to Claude

It’s time to connect Claude to your WordPress installation:

  1. Open Claude.ai
  2. Click your User Avatar (top right)
  3. Select Settings
  4. Click Developer
  5. Click Edit Config
  6. Open the file in a text editor (like Visual Studio Code)

Replace the Config Content

  1. Delete all existing content in the config file
  2. Paste the configuration code you copied from WordPress
  3. Find the line that says "password": "replace with your application password"
  4. Replace it with the application password you generated earlier
  5. Save the file

Important: Restart Claude

After saving the config file:

  1. Close Claude completely
  2. Reopen Claude

This restart ensures Claude loads your new configuration.

Step 7: Verify the Connection

Let’s confirm everything is working:

  1. Open Claude SettingsDeveloper
  2. You should see “WordPress MCP Running” (green status)
  3. Go to CodeCustomizeConnectors
  4. You should see your WordPress MCP server listed
  5. Click on it to view available tools (Create Post, Read Posts, Delete Posts, etc.)

If you see a red error, something went wrong. Double-check your application password in the config file.

Step 8: Create Your First Blog Post with Claude

Now for the fun part! Let’s create a blog post using Claude:

  1. Open a New Chat in Claude
  2. Type something like:

“Please create a new blog post on my WordPress site about ‘How to Rank WordPress in Google.’ Make it SEO-friendly with proper heading tags and include at least 3 sections.”

  1. Claude will ask for permission—click Always Allow
  2. Wait a few seconds for Claude to create the post

Check Your New Post

  1. Go to PostsAll Posts in WordPress
  2. Your new blog post should appear in Draft status
  3. Click Preview to see the final result
  4. The post will be fully formatted with SEO-friendly heading tags (H2s, H3s, etc.)

That’s it! Your first AI-generated, SEO-optimized blog post is ready to publish.

Step 9: Advanced Features You Can Use

Claude can do much more than just create posts:

Create Multiple Posts Quickly

Ask Claude to create 5 blog posts about different topics in one request.

Delete or Edit Posts

“Delete the blog post with ID 60” or “Update my latest post with more information.”

Analyze Posts for SEO

“Analyze all my blog posts and tell me which ones need better heading structures.”

Create Pages & Products

“Create a new WooCommerce product” or “Build a new landing page for my services.”

Schedule Content

Use Claude to plan and batch-create content for your entire month.

Benefits of This Automation

No Developer Needed: Save thousands on freelancer costs ✅ Completely Free: No subscription fees ✅ SEO-Friendly: Claude creates properly structured content ✅ Time-Saving: Create content in seconds, not hours ✅ Content Analysis: Get SEO recommendations for existing posts ✅ Easy Management: Control what Claude can do with permission toggles

Troubleshooting Common Issues

Issue: Red error in Developer settings

  • Solution: Double-check your application password in the config file. Make sure there are no extra spaces.

Issue: Claude can’t see WordPress tools

  • Solution: Restart Claude after saving the config file. Close and reopen the application.

Issue: Permission denied errors

  • Solution: Check the “Abilities” section in WordPress settings. Make sure the toggles are ON for what you want Claude to do.

Issue: Posts aren’t being created

  • Solution: Ensure you gave Claude permission to “Create Posts” in the settings.

Frequently Asked Questions

Q: Is this secure? A: Yes! The application password is encrypted and only allows Claude the specific permissions you grant it.

Q: Can I limit what Claude does? A: Absolutely. Use the Abilities toggles to control exactly what Claude can and can’t do.

Q: Does this work with WooCommerce? A: Yes! You can create products, manage inventory, and more.

Q: Can I use this without the WSP plugin? A: You can create your own plugin, but the WSP plugin makes setup much easier for beginners.

Q: Is there a cost? A: Nope! This is completely free. You just need a Claude account (which has a free tier).

Final Thoughts

Automating WordPress with Claude AI is a game-changer for content creators, bloggers, and small business owners. You no longer need to hire expensive developers or spend hours writing and formatting content manually.

Start with the step-by-step guide above, and in less than 30 minutes, you’ll have a fully automated WordPress workflow that saves you time and money.

Have questions or run into issues? Drop a comment below, and I’ll help you troubleshoot!

Resources

🔗 WordPress MCP Adapter: https://github.com/WordPress/mcp-adapter/releases

🔗 WSP WordPress MCP Plugin: https://github.com/bilalnaseer/wsp-wordpress-mcp/releases

🔗 Claude AI: https://claude.ai

5/5 · 234 votes
Tags:

    Comments

    Background Pattern

    Want to work with us?

    Let’s build your website, grow your traffic, and automate your business with AI.

    Background Pattern