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

@voidog/wordpress-mcp-server

v1.2.0

Published

MCP server for WordPress REST API integration

Readme

WordPress MCP Server

npm Tests codecov Node.js TypeScript License: MIT

A Model Context Protocol (MCP) server that gives AI assistants full control over WordPress content management.

Works with the wordpress-mcp-connector WordPress plugin.

Tools

20 tools for managing WordPress content:

| Category | Tools | |----------|-------| | Site | wp_get_site_info | | Posts | wp_list_posts, wp_get_post, wp_create_post, wp_update_post, wp_delete_post | | Pages | wp_list_pages, wp_get_page, wp_create_page, wp_update_page, wp_delete_page | | Categories | wp_list_categories, wp_create_category | | Tags | wp_list_tags, wp_create_tag | | Media | wp_list_media, wp_get_media, wp_upload_media, wp_update_media, wp_delete_media |

Requirements

Quick Start

1. Install the WordPress Plugin

Install and activate wordpress-mcp-connector on your WordPress site, then generate an API key from Settings → MCP Connector.

2. Configure Your MCP Client

Add to your MCP client configuration (e.g. Claude Desktop, Claude Code):

{
  "mcpServers": {
    "wordpress": {
      "command": "npx",
      "args": ["-y", "@voidog/wordpress-mcp-server"],
      "env": {
        "WORDPRESS_URL": "https://your-site.com",
        "WORDPRESS_API_KEY": "your-api-key-here",
        "WORDPRESS_USERNAME": "author1"
      }
    }
  }
}

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | WORDPRESS_URL | Yes | WordPress site URL (e.g. https://example.com) | | WORDPRESS_API_KEY | Yes | API key from WordPress admin → Settings → MCP Connector | | WORDPRESS_USERNAME | No | WordPress username to execute operations as (defaults to first admin) |

Development

git clone https://github.com/voidog/wordpress-mcp-server.git
cd wordpress-mcp-server
npm install
npm run build

Testing

# Run all tests
npm test

# Run with coverage report
npm run test:coverage

Tests live in the tests/ directory with client.test.ts, index.test.ts, and tools/*.test.ts. All tests run against mock implementations — no live WordPress site required.

Project Structure

wordpress-mcp-server/
├── src/
│   ├── index.ts          # Server entry point
│   ├── client.ts         # WordPress REST API client
│   └── tools/
│       ├── site.ts       # wp_get_site_info
│       ├── posts.ts      # Post CRUD tools
│       ├── pages.ts      # Page CRUD tools
│       ├── media.ts      # Media management tools
│       ├── categories.ts # Category tools
│       └── tags.ts       # Tag tools
├── tests/
│   ├── helpers/
│   │   └── mock-server.ts  # MockMcpServer with Zod validation
│   ├── tools/              # Per-tool test files
│   ├── client.test.ts
│   └── index.test.ts
├── vitest.config.ts
├── package.json
├── tsconfig.json
├── LICENSE
└── README.md

Tech Stack

Architecture

┌─────────────┐    stdio     ┌─────────────────────┐    HTTP     ┌───────────────────────────┐
│  MCP Client │◄────────────►│ wordpress-mcp-server │◄──────────►│ wordpress-mcp-connector   │
│  (Claude)   │              │  (Node.js)           │            │  (WordPress Plugin)       │
└─────────────┘              └─────────────────────┘            └───────────────────────────┘
                                                                  ▲
                                                                  │ REST API
                                                                  ▼
                                                                ┌───────────┐
                                                                │ WordPress │
                                                                │ Database  │
                                                                └───────────┘

License

MIT — see LICENSE for details.