Claude Wp
FreeMaintainedMCP server for WordPress — lets Claude (or any Model Context Protocol client) read and manage a WordPress site over the built-in WP REST API. No plugin required
About
MCP server for WordPress — lets Claude (or any Model Context Protocol client) read and manage a WordPress site over the built-in WP REST API. No plugin required on the WordPress side.
README
claude-wp-mcp
MCP server for WordPress — lets Claude (or any Model Context Protocol client) read and manage a WordPress site over the built-in WP REST API. No plugin required on the WordPress side.
Works with Claude Code, Claude Desktop, and any other MCP-compatible client (Cursor, Cline, Windsurf, etc.).
Features
- Posts — list, get, create, update, delete
- Pages — list, get, create, update, delete
- Taxonomies — list categories, list tags
- Media — list media library items, upload images/files (from a URL or a local path, one or many in a batch)
- Users — list users
wp_requestescape hatch — call any other/wp-json/...route (any REST namespace, any method) for things not covered by a dedicated toolfetch_url— fetch any web page (not limited to the configured WordPress site), get back Markdown plus title/description, e.g. to turn another page's content into a WordPress post/page. Respectsrobots.txtand paginates long pages. Sites behind a Cloudflare bot challenge can't be solved by a plain HTTP fetch —fetch_urldetects that case and errors with guidance to fetch the page via a real browser (e.g. Claude in Chrome) instead- Works read-only out of the box against any public WordPress site; write operations use a WordPress Application Password (no custom plugin needed)
Requirements
- Node.js 18+
- A reachable WordPress site with the REST API enabled (default on any WordPress install)
- For write operations: a WordPress user with an Application Password
Installation
git clone https://github.com/gs4lthung/claude-wp-mcp.git
cd claude-wp-mcp
npm install
Configuration
The server is configured entirely through environment variables:
| Variable | Required | Description |
|---|---|---|
WP_BASE_URL |
Yes | Base URL of the WordPress site, e.g. http://localhost:10004 |
WP_USERNAME |
For writes | WordPress username |
WP_APP_PASSWORD |
For writes | WordPress Application Password (not your login password) |
Generate an application password in wp-admin → Users → Profile → Application Passwords.
Usage
Claude Code
claude mcp add claude-wp-mcp -s user \
-e WP_BASE_URL=http://localhost:10004 \
-e WP_USERNAME=<user> \
-e WP_APP_PASSWORD=<app-password> \
-- node /path/to/claude-wp-mcp/src/index.js
Omit WP_USERNAME / WP_APP_PASSWORD to run read-only. Verify it's connected with claude mcp list.
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"claude-wp-mcp": {
"command": "node",
"args": ["/path/to/claude-wp-mcp/src/index.js"],
"env": {
"WP_BASE_URL": "http://localhost:10004",
"WP_USERNAME": "<user>",
"WP_APP_PASSWORD": "<app-password>"
}
}
}
}
Any other MCP client
Point it at node src/index.js (stdio transport) with the environment variables above.
Tools reference
| Tool | Auth required | Description |
|---|---|---|
wp_site_info |
No | Site name, URL, active REST namespaces — good connection sanity check |
wp_list_posts |
No | List posts (search, status, pagination) |
wp_get_post |
No | Get a single post by ID |
wp_create_post |
Yes | Create a post |
wp_update_post |
Yes | Update a post |
wp_delete_post |
Yes | Delete a post |
wp_list_pages |
No | List pages (search, pagination) |
wp_get_page |
No | Get a single page by ID |
wp_create_page |
Yes | Create a page |
wp_update_page |
Yes | Update a page |
wp_delete_page |
Yes | Delete a page |
wp_list_categories |
No | List categories |
wp_list_tags |
No | List tags |
wp_list_media |
No | List media library items |
wp_upload_media |
Yes | Upload one or more files (images etc.) from a URL or local path to the media library |
wp_list_users |
No (limited fields without auth) | List users |
wp_request |
Depends on route | Call any other WP REST API route directly |
fetch_url |
No | Fetch any web page and return its title, description, and content as Markdown (respects robots.txt, paginated; errors with guidance instead of a raw 403 if the page is behind a Cloudflare bot challenge) |
Security notes
- Use an Application Password, never your real WordPress login password.
- Application Passwords can be scoped to a single site and revoked independently from wp-admin → Users → Profile.
- This server talks directly to the REST API you configure — don't point it at a production site with a write-capable password unless you mean to.
License
Install Claude Wp in Claude Desktop, Claude Code & Cursor
unyly install claude-wpInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add claude-wp --env WP_APP_PASSWORD="" --env WP_BASE_URL="" --env WP_USERNAME="" -- npx -y claude-wp-mcpStep-by-step: how to install Claude Wp
FAQ
Is Claude Wp MCP free?
Yes, Claude Wp MCP is free — one-click install via Unyly at no cost.
Does Claude Wp need an API key?
Yes, it requires environment variables: WP_APP_PASSWORD, WP_BASE_URL, WP_USERNAME. Unyly injects them into the config during install.
Is Claude Wp hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Claude Wp in Claude Desktop, Claude Code or Cursor?
Open Claude Wp on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
Roblox Studio
Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce
by paralovAWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
by lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
MCPHub
Website to list high quality MCP servers and reviews by real users. Also provide online chatbot for popular LLM models with MCP server support.
MCP Servers Rating and User Reviews
Website to rate MCP servers, write authentic user reviews, and [search engine for agent & mcp](http://www.deepnlp.org/search/agent)
Compare Claude Wp with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
