MCP Connector For WordPress
A local MCP server that bridges Claude Desktop to your WordPress site via the WordPress MCP Adapter. It dynamically discovers and proxies all tools, resources, and prompts registered through the WordPress Abilities API.
README
MCP Connector For WordPress
A local MCP server that bridges Claude Desktop (or any compatible MCP host) to your WordPress site via the WordPress MCP Adapter.
Every tool, resource, and prompt registered through the WordPress Abilities API is discovered at runtime and proxied transparently. The connector itself has no built-in WordPress knowledge — the available capabilities depend entirely on the abilities registered on your WordPress site.
Prerequisites
| Requirement | Notes |
|---|---|
| Node.js ≥ 18 | Claude Desktop ships with Node.js 24.13.0 built-in |
| WordPress ≥ 6.8 | Target site |
| WordPress MCP Adapter | Must be installed on the WordPress site — this determines what capabilities are available |
| WordPress Abilities API | Abilities must be registered via wp_register_ability() for the adapter to expose them |
Installation
1. Download
Download the latest .mcpb bundle from GitHub Releases.
2. Generate a WordPress Application Password
- Log in to WordPress as an administrator
- Go to Users → Your Profile
- Scroll to Application Passwords
- Enter a name (e.g.
Claude Desktop) and click Add New Application Password - Copy the generated password — it will look like
xxxx xxxx xxxx xxxx xxxx xxxx
3. Install in Claude Desktop
- Open Claude Desktop and go to Settings → Extensions
- Click Advanced settings
- Click Install Extension
- Browse and select the downloaded
.mcpbfile - Click Install, then click Install again to confirm
- Fill in your WordPress site URL, username, and Application Password, then click Save
- Set Tool permissions — allow the read-only tools (Discover Abilities, Get Ability Info) and the write tool (Execute Ability) as needed
- Enable the extension with the toggle
Configuration reference
| Variable | Required | Description |
|---|---|---|
WP_API_URL |
Yes | Base URL of your WordPress site, e.g. https://example.com |
WP_USERNAME |
Yes | WordPress administrator username |
WP_APP_PASSWORD |
Yes | Application Password (spaces allowed) |
DEBUG |
No | Set to mcp-connector for verbose debug output on stderr |
Available tools
The connector exposes three meta-tools that dynamically proxy capabilities from the WordPress MCP Adapter:
| Tool | Description | Hint |
|---|---|---|
mcp-adapter-discover-abilities |
List all abilities (tools, resources, prompts) available on the connected WordPress site, with their names, descriptions, and input schemas | Read-only |
mcp-adapter-execute-ability |
Execute any ability by name with the given arguments — available abilities depend on what is registered on your WordPress site | Destructive |
mcp-adapter-get-ability-info |
Get detailed information about a specific ability including its full input/output schema | Read-only |
What capabilities will be available?
The connector discovers all abilities at runtime from your WordPress site via the WordPress MCP Adapter. The adapter converts abilities registered through the WordPress Abilities API (wp_register_ability()) into MCP tools, resources, and prompts.
The exact set of capabilities depends on:
- Which plugins or themes register abilities on your site
- How those abilities are configured
- Which users have permission to access them
Use mcp-adapter-discover-abilities to see what is available on your specific site. The adapter may expose tools (executable actions), resources (read-only data endpoints), and prompts (guided workflow templates).
Usage examples
Example 1: Discover available abilities
User prompt:
What tools are available on my WordPress site?
What happens:
The agent calls mcp-adapter-discover-abilities to list all tools, resources, and prompts registered on the WordPress site.
Expected output: A categorised list of all abilities available on the connected site, with their names, descriptions, and input schemas.
Example 2: Get details about a specific ability
User prompt:
Tell me more about the "create-post" tool — what arguments does it accept?
What happens:
The agent calls mcp-adapter-get-ability-info with name: "create-post" to retrieve the full input/output schema.
Expected output: The tool's description, required and optional parameters, their types, and any constraints.
Note: The tool name
create-postis used here as an illustration. The actual tools available depend on the abilities registered on your WordPress site. Use the discover ability first to see what is available.
Example 3: Execute an ability
User prompt:
Create a draft blog post titled "Spring Product Launch" with a short intro paragraph.
What happens:
- The agent calls
mcp-adapter-discover-abilities(if it hasn't already) to find the appropriate tool. - The agent calls
mcp-adapter-execute-abilitywith the tool name and arguments discovered in step 1. - The WordPress site processes the request and returns the result.
Expected output: The result from the WordPress site, such as a confirmation with a post ID and permalink.
Note: This example assumes a post-creation ability is registered on your WordPress site. The exact tool names and arguments depend on the abilities registered via the WordPress Abilities API.
Troubleshooting
404 — endpoint not found
- Confirm the WordPress MCP Adapter is installed
- Confirm abilities are registered on the site (the adapter exposes abilities registered via the Abilities API)
- Verify
WP_API_URLhas no trailing slash and matches the site URL exactly
401 / 403 — authentication failed
- Re-generate the Application Password in WordPress
- Ensure the username matches exactly (case-sensitive)
- Check that the user has permission to access the registered abilities
Timeout errors
- The WordPress site may be slow or unreachable; check server response times
- Set
DEBUG=mcp-connectorto see detailed request logs
Enable debug logging
Add "DEBUG": "mcp-connector" to the env section in your MCP config. All debug output goes to stderr and will appear in Claude Desktop's MCP server logs.
Privacy
This MCP server acts as a transparent bridge between the MCP host (e.g. Claude Desktop) and your WordPress site. It does not collect, store, or transmit any data to third parties.
All communication flows directly from the local MCP server to your WordPress site over HTTPS using your provided credentials. No analytics, telemetry, or tracking is included.
For the full privacy policy, see PRIVACY.md.
Support
- Issues: GitHub Issues
- Author: Valu Digital Oy
Development
# Clone and install
git clone https://github.com/valu-digital/mcp-connector-for-wordpress.git
cd mcp-connector-for-wordpress
npm install
# Build
npm run build
# Build in watch mode
npm run dev
# Run all checks (typecheck + lint + format)
npm run check
# Run directly with env vars
WP_API_URL=https://your-site.com \
WP_USERNAME=admin \
WP_APP_PASSWORD="xxxx xxxx xxxx xxxx" \
DEBUG=mcp-connector \
node dist/index.js
To test with Claude Desktop, add this to your claude_desktop_config.json:
{
"mcpServers": {
"mcp-connector-for-wordpress": {
"command": "node",
"args": ["/absolute/path/to/mcp-connector-for-wordpress/dist/index.js"],
"env": {
"WP_API_URL": "https://your-site.com",
"WP_USERNAME": "your-wp-username",
"WP_APP_PASSWORD": "xxxx xxxx xxxx xxxx xxxx xxxx"
}
}
}
}
The server speaks MCP over stdin/stdout. Use the MCP Inspector for interactive testing:
npx @modelcontextprotocol/inspector node dist/index.js
License
GPL-2.0-or-later
Credits
Built by Valu Digital Oy.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。