MCP WordPress Server 标志

MCP WordPress Server

社区
docdyhr

MCP Server to manage a Wordpress CMS system.

发布者docdyhr
代码仓库mcp-wordpress
语言JavaScript
复刻数
18
星标数
108
可用工具
0
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    MCP WordPress Server 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 108 个 Star 和 18 个 Fork。

MCP Toplist

🚀 MCP WordPress Server

The Most Comprehensive WordPress MCP Server

Manage WordPress sites with natural language through AI tools like Claude Desktop

Quick Start • Why This MCP Server? Installation Options • Documentation • Examples

CI/CD Pipeline GitHub Stars NPM Version NPM Downloads NPM Total Downloads Docker Pulls Coverage Status

TypeScript CodeQL Docker License

🎉 v3.3.21 - CI-Tested on Node 20/22/24

🎯 Why This MCP Server?

Transform WordPress management from complex admin panels to simple conversations:

text
❌ Before: Login → Admin Panel → Navigate → Click → Fill Forms → Save
✅ After:  "Create a new blog post about AI trends with SEO optimization"

Key Advantages:

  • 🏆 Most Complete: 71 tools vs 20-30 in alternatives
  • ⚡ Fastest Setup: 2-click Claude Desktop installation via DXT
  • 🔒 CI-Tested: 2750+ tests across Node 20/22/24, CodeQL + Trivy security scanning
  • 🎯 TypeScript Native: 100% type safety, best-in-class developer experience
  • 🌐 Multi-Site: Manage up to 50 WordPress sites from one place

🚀 Quick Start

Get up and running in under 5 minutes:

Prerequisites

  • WordPress: Version 5.6+ with REST API enabled
  • Claude Desktop: Latest version installed
  • Application Password: Generated from WordPress admin panel

3-Step Setup

1️⃣ Generate WordPress Application Password

text
WordPress Admin → Users → Profile → Application Passwords → Add New

2️⃣ Install MCP Server (Choose One)

Option A: DXT Extension (Easiest)

bash
# Download and install in Claude Desktop
curl -L https://github.com/docdyhr/mcp-wordpress/releases/latest/download/mcp-wordpress.dxt -o mcp-wordpress.dxt
# Then: Claude Desktop → Extensions → Install → Select DXT file

Option B: NPM Global Install

bash
npm install -g mcp-wordpress

3️⃣ Test Your Connection

text
In Claude: "Test my WordPress connection"
Response: "✅ Authentication successful! Connected to: Your Site Name"

📺 Watch 2-minute Setup Video | 📖 Detailed Setup Guide

⚡ Installation Options

🏆 Recommended: Claude Desktop Extension (DXT)

Easiest installation - just 2 clicks!

  1. Download: mcp-wordpress.dxt (3.4MB)
  2. Install: Claude Desktop → Extensions → Install → Select DXT file
  3. Configure: Enter your WordPress site URL and credentials

✅ Zero command line required ✅ Easy updates ✅ Built-in security

📖 Complete DXT Setup Guide →

🚀 Alternative: NPX (Power Users)

bash
# Run directly - always latest version
npx -y mcp-wordpress

# Interactive setup wizard
npm run setup

🔧 Other Options

📋 Configuration

Single Site (.env)

bash
WORDPRESS_SITE_URL=https://myblog.com
WORDPRESS_USERNAME=admin
WORDPRESS_APP_PASSWORD=xxxx xxxx xxxx xxxx xxxx xxxx

Claude Desktop Config

json
{
  "mcpServers": {
    "mcp-wordpress": {
      "command": "npx",
      "args": ["-y", "mcp-wordpress"],
      "env": {
        "WORDPRESS_SITE_URL": "https://myblog.com",
        "WORDPRESS_USERNAME": "admin",
        "WORDPRESS_APP_PASSWORD": "xxxx xxxx xxxx xxxx xxxx xxxx"
      }
    }
  }
}

📖 Complete Configuration Guide — multi-site, JWT, Docker, production environments

🔐 Authentication

WordPress Application Passwords are recommended:

  1. WordPress Admin → Users → Profile → Application Passwords → Add New
  2. Copy the generated password into your config

Alternative methods: JWT, Basic Auth, API Key — see Authentication Configuration

🌟 What Makes This Special

FeatureThis ServerCompetition
Tools Available71 tools20-30 tools
Claude Desktop DXT✅ 2-click install❌ Manual setup
Multi-Site Support✅ Up to 50 sites❌ Single site
TypeScript✅ 100% TypeScript, strict mode⚠️ Partial/None
Performance Monitoring✅ Real-time analytics❌ Basic only
Test Coverage✅ 2750+ tests, ~76% line coverage⚠️ Limited
Security Scanning✅ CodeQL + Trivy in CI⚠️ Unknown

📋 Available Tools (71 Tools)

Content Management

  • 📝 Posts (6 tools) - Create, edit, delete, list posts and revisions
  • 📄 Pages (6 tools) - Manage static pages and revisions
  • 🖼️ Media (5 tools) - Upload, manage media library and files
  • 🔍 SEO (11 tools) - Content analysis, metadata, schema markup, SERP tracking, keyword research

User & Community

  • 👥 Users (6 tools) - User management and profiles
  • 💬 Comments (7 tools) - Comment moderation and management
  • 🏷️ Taxonomies (10 tools) - Categories and tags management

Site Management

  • ⚙️ Site Settings (6 tools) - Site configuration and statistics
  • 🔐 Authentication (3 tools) - Auth testing and management
  • ⚡ Cache Management (4 tools) - Performance caching control
  • 📊 Performance Monitoring (6 tools) - Real-time metrics and optimization
  • 🛠️ System (1 tool) - Version checking

📖 Complete Tool Documentation | Live API Reference

🤖 Examples

text
💬 "Create a new blog post about AI trends with SEO optimization"
💬 "Check my WordPress site performance and provide optimization recommendations"
💬 "Find all draft posts older than 30 days and provide a summary"
💬 "Batch update all client sites with the new privacy policy footer"
💬 "List all posts from my client-blog site"

📖 More Examples | Real-World Workflows

🧪 Testing & Security

bash
npm test              # Full test suite (2750/2750 passing, 94 files)
npm run test:security # Security tests (371/371 passing)
npm run health        # System health check

📖 Security Documentation — OWASP coverage, penetration testing, compliance

🛠️ Troubleshooting

bash
npm run health         # System check
DEBUG=true npm run dev # Debug logging
npm run fix:rest-auth  # Fix WordPress 401 errors
ErrorSolution
401 UnauthorizedRegenerate application password
403 ForbiddenCheck user role (Editor+ required)
404 Not FoundVerify WORDPRESS_SITE_URL
Connection TimeoutCheck WordPress REST API access

📖 Full Troubleshooting Guide

📚 Documentation

Getting Started

User Guides

Integration Guides

Developer Documentation

Deployment & Operations

🔧 Requirements

  • WordPress 5.0+ with REST API enabled
  • HTTPS recommended for production
  • Application Passwords enabled (WordPress 5.6+)
RoleAccess
AdministratorFull access to all functions
EditorPosts, pages, comments, media
AuthorOwn posts and media
ContributorOwn posts (drafts only)
SubscriberRead only

🚀 Next Steps

Ready to transform your WordPress management?

  1. 🏆 Download DXT Extension - Easiest setup (2 minutes)
  2. ⚡ Try NPX Method - Power user setup (5 minutes)
  3. 📚 Explore All Tools - See what's possible
  4. 💬 Join Discussions - Get help and share ideas

🔗 Similar Projects


📋 Changelog

v3.3.21 (July 2026)

  • 🔒 Security Hardening - SSRF denylist, HTTPS enforcement, logger redaction, dependency floor updates
  • 🐳 Docker Release Reliability - Bounded publish-job timeouts and corrected retry-on-hang logic
  • 📚 DOX Documentation - Hierarchical AGENTS.md contract tree for per-directory work guidance

See CHANGELOG.md for the complete, release-by-release history.

v3.3.14 (June 2026)

  • 🔒 Security Updates - Patch moderate Hono vulnerabilities, update allowlisted npm-bundled advisories
  • 🧪 CI - Smoke-test improvements and Node 24 validation

v3.x Series (2025–2026)

  • 🏗️ Modular Architecture - Domain-specific operation modules and composition pattern
  • 🔄 Fault Tolerance - Circuit breaker pattern with automatic recovery
  • 📊 2200+ Tests - Comprehensive test suite across security, cache, server, client, config, utils, tools, and performance
  • ⚡ Caching Layer - CachedWordPressClient with configurable TTL; 50–70% faster repeat requests
  • 🌐 Multi-Site - Up to 50 WordPress sites from one configuration file
  • 🔐 4 Auth Methods - App Passwords (recommended), JWT, Basic, API Key
  • 🐳 Docker & DXT - One-click Claude Desktop extension and Docker Hub image

For the full history see CHANGELOG.md.


🙏 Acknowledgments

Special thanks to Stephan Ferraro for the upstream project that inspired this implementation.


⭐ Found this helpful? Give us a star on GitHub! ⭐

将 MCP WordPress Server MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 MCP WordPress Server 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 MCP WordPress Server 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 MCP WordPress Server MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "mcp-wordpress": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 MCP WordPress Server MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 MCP WordPress Server MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 MCP WordPress Server 帮我完成这项任务吗?
MCP WordPress Server
当然。我已阅读。
以下是我使用 MCP WordPress Server 得到的结果。

常见问题

MCP WordPress Server MCP 服务器有什么用途?

MCP WordPress Server 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 MCP WordPress Server MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 MCP WordPress Server,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 MCP WordPress Server MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 MCP WordPress Server 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 MCP WordPress Server MCP 连接到 TypingMind?

MCP WordPress Server 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

MCP WordPress Server MCP 在 TypingMind 中提供哪些工具?

MCP WordPress Server 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 MCP WordPress Server MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 MCP WordPress Server 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇