Wp MCP — Development skill for Claude Code
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
[](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_routesafter installing new plugins - Single site, Basic Auth via Application Passwords
Prerequisites
- Node.js 18+
- A WordPress site with REST API enabled
- An Application Password for authentication
Quick Start
npx @wpgaurav/wp-mcp setup
This interactive wizard will:
- Ask for your WordPress URL, username, and Application Password
- Test the connection
- 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 |
Related Skills
WordPress Skill
Comprehensive WordPress skill for Claude Code — REST API, Gutenberg blocks, WooCommerce, RankMath/Yoast SEO, A
Bricks Skills
Agent skill for Bricks Builder: paste-ready JSON for layouts, templates, query loops, popups, ACF and WooComme
Wp Acf Review
WordPress ACF and content modeling review - validates field-group architecture, CPT and taxonomy decisions, re
Wp Migrate
Migrate existing WordPress content (Classic Editor, ACF, widgets, CPTs, shortcodes, page builders) into a bloc
WordPress MCP Elementor Wppilot
WordPress MCP server, Elementor MCP server and WooCommerce MCP server. Free: 103 typed abilities for posts, pa
Consent Leak Watch
Check that a WordPress or WooCommerce cookie banner really blocks trackers: drop two browser recordings (befor
Related Agents
Kio Fe CMS
CMS & Template Integrator (Chloe Martin). WordPress FSE Block integration, theme.json v3, SSR blocks, ACF Fiel
Context Engineering Kit
by Vlad Goncharov - Hand-crafted collection of advanced context engineering techniques and patterns with minim
Unit Test Writer
PHPUnit test writer for WordPress/WooCommerce PHP code. MUST BE USED whenever PHP unit tests need to be writte