npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@node2flow/wordpress-mcp

v1.0.5

Published

MCP server for WordPress REST API — manage posts, pages, media, comments, categories, tags, and users

Readme

WordPress MCP Server

smithery badge npm version License: MIT

MCP (Model Context Protocol) server for WordPress REST API. Manage posts, pages, media, comments, categories, tags, and users through 20 tools.

Works with Claude Desktop, Cursor, VS Code, and any MCP client.


Quick Start

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "wordpress": {
      "command": "npx",
      "args": ["-y", "@node2flow/wordpress-mcp"],
      "env": {
        "WORDPRESS_URL": "https://your-site.com",
        "WORDPRESS_USERNAME": "your-username",
        "WORDPRESS_APP_PASSWORD": "your-application-password"
      }
    }
  }
}

Cursor / VS Code

Add to MCP settings:

{
  "mcpServers": {
    "wordpress": {
      "command": "npx",
      "args": ["-y", "@node2flow/wordpress-mcp"],
      "env": {
        "WORDPRESS_URL": "https://your-site.com",
        "WORDPRESS_USERNAME": "your-username",
        "WORDPRESS_APP_PASSWORD": "your-application-password"
      }
    }
  }
}

HTTP Mode (Streamable HTTP)

For remote deployment or shared access:

WORDPRESS_URL=https://your-site.com WORDPRESS_USERNAME=user WORDPRESS_APP_PASSWORD=pass npx @node2flow/wordpress-mcp --http

Server starts on port 3000 (configurable via PORT env var). MCP endpoint: http://localhost:3000/mcp


Configuration

| Environment Variable | Required | Description | |---|---|---| | WORDPRESS_URL | Yes | WordPress site URL (e.g. https://your-site.com) | | WORDPRESS_USERNAME | Yes | WordPress username | | WORDPRESS_APP_PASSWORD | Yes | Application Password (see below) | | PORT | No | Port for HTTP server (default: 3000, only used with --http) |

How to Create an Application Password

  1. Go to your WordPress Admin → UsersProfile
  2. Scroll down to Application Passwords
  3. Enter a name (e.g. "MCP Server") and click Add New Application Password
  4. Copy the generated password

Important: WordPress displays the password with spaces for readability (e.g. cUAn CKZ1 u5DN). The server automatically removes spaces — you can paste it as-is.


All Tools (20 tools)

Posts (5 tools)

| Tool | Description | |---|---| | wp_list_posts | List posts with filters (status, search, per_page) | | wp_get_post | Get single post with full content | | wp_create_post | Create post (title, content, status, categories, tags) | | wp_update_post | Update post fields | | wp_delete_post | Delete post (moves to trash) |

Pages (5 tools)

| Tool | Description | |---|---| | wp_list_pages | List pages with status filter | | wp_get_page | Get single page with full content | | wp_create_page | Create page (title, content, status, parent) | | wp_update_page | Update page fields | | wp_delete_page | Delete page |

Media (2 tools)

| Tool | Description | |---|---| | wp_list_media | List media files with type filter | | wp_delete_media | Permanently delete media file |

Comments (4 tools)

| Tool | Description | |---|---| | wp_list_comments | List comments, filter by post | | wp_create_comment | Create comment on post | | wp_update_comment | Moderate comment (approve/hold/spam/trash) | | wp_delete_comment | Permanently delete comment |

Taxonomy (2 tools)

| Tool | Description | |---|---| | wp_list_categories | List all categories with post counts | | wp_list_tags | List all tags with post counts |

Users & Site (2 tools)

| Tool | Description | |---|---| | wp_list_users | List users with roles | | wp_get_site_info | Get site name, description, URL, timezone |


Requirements

  • Node.js 18+
  • WordPress with REST API enabled (enabled by default)
  • Application Password (WordPress 5.6+)

For Developers

git clone https://github.com/node2flow-th/wordpress-mcp-community.git
cd wordpress-mcp-community
npm install
npm run build

# Run in stdio mode
WORDPRESS_URL=https://your-site.com WORDPRESS_USERNAME=user WORDPRESS_APP_PASSWORD=pass npm start

# Run in dev mode (hot reload)
WORDPRESS_URL=https://your-site.com WORDPRESS_USERNAME=user WORDPRESS_APP_PASSWORD=pass npm run dev

# Run in HTTP mode
WORDPRESS_URL=https://your-site.com WORDPRESS_USERNAME=user WORDPRESS_APP_PASSWORD=pass npm start -- --http

License

MIT License - see LICENSE

Copyright (c) 2026 Node2Flow

Links