Skip to content

Utsav-Ladani/WordPress-MCP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordPress MCP

npm version npm downloads

A Model Context Protocol server for WordPress content management. It has ability to create, update, search and get posts. It also has ability to get WordPress block types schema to generate post content using blocks.

📺 Demo

This posts are entirely generated by Claude

Demo 1

WordPress.MCP.Demo.2.mp4

Demo 2

WordPress.MCP.Demo.mov

📦 Installation

Add following configuration to your claude_desktop_config.json file to use this MCP server:

{
  "mcpServers": {
    "wordpress": {
      "command": "npx",
      "args": ["-y", "wordpress-mcp"],
      "env": {
        "WORDPRESS_HOST_URL": "http://localhost:<PORT>",
        "WORDPRESS_API_USERNAME": "<WORDPRESS_USERNAME>",
        "WORDPRESS_API_PASSWORD": "<WORDPRESS_APPLICATION_PASSWORD>",
        "WORDPRESS_POST_AUTHOR_ID": "<WORDPRESS_POST_AUTHOR_ID>"
      }
    }
  }
}

Check Testing your server with Claude for Desktop section in MCP Server Example Documentation for more details.

📝 Available Tools

  • createPost: Create a new WordPress post
  • updatePost: Update an existing post
  • searchPosts: Search for posts by title or keyword
  • getPost: Get a specific post
  • blockTypesSchema: Get WordPress block types schema

🎉 Happy vibe blogging 🎉

About

A Model Context Protocol server for WordPress

Resources

Stars

Watchers

Forks

Contributors