wpgaurav

Wp MCP — Development skill for Claude Code

Development community

A TypeScript MCP server that exposes any WordPress site's REST API as MCP tools.

How to install Wp MCP

This entry records only its repository, not the path inside it, so there is no exact command to give. Open wpgaurav/wp-mcp and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Wp MCP does

A TypeScript MCP server that exposes any WordPress site's REST API as MCP tools. Hand-crafted tools for core endpoints plus auto-discovery of custom plugin endpoints (WooCommerce, ACF, Yoast, any plugin).

Alternatives in Development

  • Antigravity Claude Proxy — Proxy that exposes Antigravity provided claude / gemini models, so we can use them in Claude Code and OpenClaw 3.5k ★
  • WP REST API — WordPress REST API development 902 ★
  • Maintainer — Meta-skill that loads all llmwiki governance docs and exposes the three maintainer slash commands 375 ★

README

wp-mcp

[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-FFDD00?style=flat&logo=buymeacoffee&logoColor=black)](https://buymeacoffee.com/gauravtiwari)

A TypeScript MCP server that exposes any WordPress site's REST API as MCP tools. Hand-crafted tools for core endpoints plus **auto-discovery of custom plugin endpoints** (WooCommerce, ACF, Yoast, any plugin).

Features

  • 37 core tools for posts, pages, media, categories, tags, comments, plugins, themes, users, settings, menus, search, and site health
  • Auto-discovery engine that scans /wp-json/ and generates tools for any plugin's REST API endpoints
  • Both transports: stdio (default for Claude Code/Desktop) and HTTP (StreamableHTTP)
  • Re-scan on demand via wp_discover_routes after installing new plugins
  • Single site, Basic Auth via Application Passwords

Prerequisites

Quick Start

npx @wpgaurav/wp-mcp setup

This interactive wizard will:

  1. Ask for your WordPress URL, username, and Application Password
  2. Test the connection
  3. Write the config to Claude Desktop and/or Claude Code automatically

That's it. Restart Claude and your WordPress tools are ready.

Manual Installation

# Run directly with npx
npx @wpgaurav/wp-mcp

# Or install globally
npm install -g @wpgaurav/wp-mcp

Configuration

Set environment variables:

Variable Required Default Description
WP_URL Yes — WordPress site URL (no trailing slash)
WP_USERNAME Yes — WordPress username
WP_APP_PASSWORD Yes — Application Password
WP_MCP_TRANSPORT No stdio stdio or http
WP_MCP_PORT No 3000 HTTP transport port
WP_MCP_HOST No 127.0.0.1 HTTP transport bind addre