WordPress Plugin Directory MCP Server
A Model Context Protocol (MCP) server that enables Claude Code to analyze, download, and compare with your local plugins.
接入你的智能体
從發布者安裝。不是 PlugMCP 端點。
遠端 URL 還是本機指令? 兩種安裝方式的差異
來自發布者
A Model Context Protocol (MCP) server that enables Claude Code to analyze, download, and compare with your local plugins.
A Model Context Protocol (MCP) server that enables Claude Code to analyze, download, and compare WordPress.org plugins with your local plugins. Read https://juanma.codes/2025/09/25/my-first-mcp-server-wordpress-plugin-directory-for-llms/ for more info.
🔗 Repository: https://github.com/juanma-wp/wordpress-org-mcp
# Register with Claude CLI
claude mcp add wordpress-org npx wordpress-org-mcp-server
# Verify registration
claude mcp list
search_pluginsSearch for WordPress.org plugins by keyword.
Parameters:
query (string): Search querylimit (number, optional): Maximum results (default: 10)Example:
Search for "jwt authentication" plugins
get_plugin_infoGet detailed information about a specific plugin.
Parameters:
slug (string): Plugin slugExample:
Get info for plugin "jwt-authentication-for-wp-rest-api"
download_pluginDownload a plugin from WordPress.org.
Parameters:
slug (string): Plugin slugversion (string, optional): Version (default: "latest")extract_pluginExtract a downloaded plugin ZIP file.
Parameters:
slug (string): Plugin slugzip_path (string, optional): Path to ZIP filelist_plugin_filesList files in an extracted plugin.
Parameters:
slug (string): Plugin slugextension (string, optional): Filter by extension (.php, .js, etc.)read_plugin_fileRead contents of a specific plugin file.
Parameters:
slug (string): Plugin slugfile_path (string): Relative path to filecompare_pluginsCompare local plugin with WordPress.org version.
Parameters:
local_path (string): Path to local plugin directorywp_org_slug (string): WordPress.org plugin slugformat (string, optional): "summary" or "detailed" (default: "summary")Example:
Compare my local plugin with WordPress.org version:
- local_path: "/absolute/path/to/rest-auth-jwt"
- wp_org_slug: "jwt-authentication-for-wp-rest-api"
get_file_diffGet detailed diff for a specific file.
Parameters:
local_path (string): Path to local pluginwp_org_slug (string): WordPress.org plugin slugfile_path (string): Relative path to fileSearch for similar plugins:
Search for JWT authentication plugins to see what's available
Get plugin details:
Get detailed info for "jwt-authentication-for-wp-rest-api"
Compare with your local plugin:
Compare my local plugin at "/path/to/my/plugin" with "jwt-authentication-for-wp-rest-api"
Examine specific differences:
Show me the diff for "includes/class-auth.php" between my plugin and "jwt-authentication-for-wp-rest-api"
The server stores downloaded and extracted plugins in system directories to avoid cluttering your project workspace:
macOS:
~/Library/Caches/wordpress-org-mcp//tmp/wordpress-org-mcp-extractions/Linux:
~/.cache/wordpress-org-mcp/ (or $XDG_CACHE_HOME/wordpress-org-mcp/)/tmp/wordpress-org-mcp-extractions/Windows:
%LOCALAPPDATA%\wordpress-org-mcp\Cache\%TEMP%\wordpress-org-mcp-extractions\Set these environment variables before registering the MCP server:
# Set custom paths
export WP_MCP_CACHE_DIR="/path/to/custom/cache"
export WP_MCP_EXTRACT_DIR="/path/to/custom/extractions"
# Register the MCP server (will use custom paths)
claude mcp add wordpress-org npx wordpress-org-mcp-server
**Persistent Setup:**
Add the environment variables to your shell profile (`.bashrc`, `.zshrc`, `.bash_profile`, etc.):
```bash
echo 'export WP_MCP_CACHE_DIR="/path/to/custom/cache"' >> ~/.zshrc
echo 'export WP_MCP_EXTRACT_DIR="/path/to/custom/extractions"' >> ~/.zshrc
source ~/.zshrc
Environment Variables:
WP_MCP_CACHE_DIR: Custom directory for downloaded ZIP filesWP_MCP_EXTRACT_DIR: Custom directory for extracted plugin files# Watch mode for development
npm run dev
# Build for production
npm run build
# Start the server
npm start
Binary files are compared by size only.
A Model Context Protocol (MCP) server that enables Claude Code to analyze, download, and compare WordPress.org plugins with your local plugins. Read https://juanma.codes/2025/09/25/my-first-mcp-server
總覽
A Model Context Protocol (MCP) server that enables Claude Code to analyze, download, and compare WordPress.org plugins with your local plugins. Read https://juanma.codes/2025/09/25/my-first-mcp-server-wordpress-plugin-directory-for-llms/ for more info.
工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
Wordpress Org 透過 stdio 在本機執行。
上次檢查時間:2026-10-28。 A Model Context Protocol (MCP) server that enables Claude Code to analyze, download, and compare WordPress.org plugins with your local plugins. Read https://juanma.codes/2025/09/25/my-first-mcp-server-wordpress-plugin-directory-for-llms/ for more info.