wpagent-mcp
wpagent-mcp
Claude — 또는 MCP 호환 클라이언트 — 가 WordPress 사이트를 실제로 조작할 수 있게 해주는 MCP 서버입니다: 플러그인, 콘텐츠, 테마, 메뉴, 미디어, 사용자, WooCommerce, Elementor 및 WP-CLI.
무료 WpAgent 브리지 플러그인을 통해 REST API로 사이트와 통신하며, 모든 요청은 HMAC-SHA256으로 서명됩니다. 사이트 자격 증명이 사용되지 않으며, 어떤 데이터도 제3자 서비스를 거치지 않습니다. 연결은 클라이언트 → 사용자의 WordPress로 직접 이루어집니다.
설치
사전에 설치할 것은 없습니다. 아래 구성이 필요 시 자동으로 가져옵니다.
WordPress 사이트에 WpAgent 플러그인을 설치하고 활성화하세요.
WordPress 관리자에서 WpAgent를 열고 API 키를 생성하세요. 어시스턴트에 부여할 권한을 선택하세요. 읽기 전용 키로 시작하는 것이 안전합니다.
MCP 클라이언트에 서버를 추가하세요. Claude Desktop의 경우
claude_desktop_config.json에서:
{
"mcpServers": {
"wpagent": {
"command": "npx",
"args": ["-y", "wpagent-mcp"],
"env": {
"WP_SITE_URL": "https://your-site.com",
"WP_API_KEY_ID": "wpaia_xxxxxxxxxxxx",
"WP_API_SECRET": "the secret shown once when you generated the key"
}
}
}
}Claude Code의 경우:
claude mcp add wpagent \
--env WP_SITE_URL=https://your-site.com \
--env WP_API_KEY_ID=wpaia_xxxxxxxxxxxx \
--env WP_API_SECRET=... \
-- npx -y wpagent-mcp환경 변수
변수 | 필수 | 설명 |
| 예 | 사이트의 기본 URL, 끝에 슬래시 없음 |
| 예 | 플러그인에 표시되는 키 ID |
| 예 | 생성 시 한 번만 표시되는 시크릿 |
| 아니요 | 알아보기 쉬운 이름. 기본값은 호스트 이름 |
Related MCP server: Bridgistic
할 수 있는 작업
영역 | 예시 |
플러그인 | 목록, wordpress.org 검색, 설치, 활성화, 비활성화, 업데이트, 삭제 |
콘텐츠 | 글, 페이지, 제품, 모든 사용자 정의 글 유형, 메타 및 대표 이미지 포함 |
테마 | 목록, 검색, 설치, 활성화, 테마 모드, 사용자 정의 CSS, 로고, 색상 |
WooCommerce | 설정, 주문, 쿠폰, 배송 구역, 결제 게이트웨이, 세율, 통계 |
구조 | 메뉴, 위젯, 사이드바, 분류, 용어, 리디렉션 |
미디어 | 탐색, 업로드, 삭제 |
사용자 및 댓글 | 목록, 생성, 업데이트, 중재 |
감사 | 보안, SEO, 성능에 대한 모범 사례 점검, 자동 수정 포함 |
WP-CLI | 허용 목록에 등록된 명령, |
할 수 없는 작업
API에는 임의의 PHP에 대한 경로, 데이터베이스에 대한 경로, wp-config.php에 대한 경로가 없습니다. WP-CLI 실행은 사이트 소유자가 서버에서 define('WPAIA_ENABLE_WPCLI', true);를 추가하지 않는 한 비활성화되며, 추가하더라도 허용 목록에 등록된 명령만 실행됩니다 — db, eval, eval-file, shell, server, config 및 package는 항상 거부됩니다.
안전
모든 요청은 HMAC-SHA256으로 서명되고 타임스탬프가 포함됩니다. 5분이 지난 요청은 거부됩니다.
권한은 키별로 부여되며 모든 라우트에서 확인되므로 읽기 전용 키는 읽기 전용으로 유지됩니다.
모든 호출은 WordPress 관리자에서 읽을 수 있는 감사 로그에 기록됩니다.
WordPress에서 키를 해지하면 즉시 적용됩니다.
파괴적인 작업 전에는 어시스턴트에게 확인을 요청하고, 최신 백업을 유지하세요. 지시하면 콘텐츠를 삭제할 수 있기 때문입니다.
관련 자료
WpAgent — 동일한 브리지로 구축된 호스팅 대시보드, 무료 읽기 전용 티어 제공
브리지 플러그인은 GPL-2.0-or-later이고, 이 서버는 MIT입니다.
라이선스
MIT © KipDev
Available Tools
58 toolswp_activate_pluginA
Activate an installed WordPress plugin. You can provide the plugin file path (e.g. "woocommerce/woocommerce.php"), slug (e.g. "woocommerce"), or name.
Inputs: plugin (required).
wp_activate_themeA
Switch the active WordPress theme. Provide the theme slug (directory name).
Inputs: slug (required).
wp_audit_best_practicesA
Audit the WordPress site for best practices. Returns a checklist covering security (SSL, debug mode, file editing, admin user, XML-RPC, spam protection, security plugin), SEO (permalinks, SEO plugin), performance (caching plugin), maintenance (backups, auto-updates, WP/plugin updates), and theme (child theme). Each check includes a status (pass/fail/warning) and whether it can be auto-fixed.
Inputs: no named parameters.
wp_cli_executeA
Execute a WP-CLI command. Deny by default: only allowlisted commands run (cache, comment, core, cron, language, media, menu, option, plugin, post, rewrite, role, sidebar, site, term, theme, transient, user, widget). db, eval, eval-file, shell, server, config and package are refused, as are the --require, --exec, --ssh, --http and --path flags. Quote any value containing shell metacharacters. The feature is off unless the site owner set WPAIA_ENABLE_WPCLI in wp-config.php — call wp_cli_status first. Do NOT include the "wp" prefix (e.g., "plugin list", "cache flush").
Inputs: command (required).
wp_cli_list_commandsA
List the allowlisted WP-CLI commands and their permitted subcommands, plus the refused global flags. Anything absent from the list is refused.
Inputs: no named parameters.
wp_cli_statusA
Check WP-CLI availability. Returns whether the feature is enabled in wp-config.php, whether proc_open is available, the WP-CLI path and version. Call this before any WP-CLI command.
Inputs: no named parameters.
wp_create_contentB
Create a new WordPress post, page, or product. For WooCommerce products, you can set prices, SKU, stock, etc.
Inputs: type (required), title (required), sku, meta, +17 more.
wp_create_userC
Create a new WordPress user with username, email, and optional role/name fields.
Inputs: email (required), username (required), role, password, +3 more.
wp_deactivate_pluginB
Deactivate an active WordPress plugin.
Inputs: plugin (required).
wp_delete_commentB
Permanently delete a comment.
Inputs: id (required).
wp_delete_contentA
Delete a WordPress post, page, or product. By default moves to trash; use force=true to permanently delete.
Inputs: id (required), type (required), force.
wp_delete_mediaB
Delete a media file from the WordPress media library.
Inputs: id (required), force.
wp_delete_optionB
Delete a WordPress option by key.
Inputs: key (required).
wp_delete_pluginA
Delete a WordPress plugin (deactivates it first if active). This permanently removes the plugin files.
Inputs: plugin (required).
wp_elementor_get_pageA
Get the Elementor data for a page/post by its ID. Returns the full element tree (sections > columns > widgets), page settings, and metadata. Use this to understand the current structure before making modifications.
Inputs: id (required).
wp_elementor_list_templatesA
List all saved Elementor templates (sections, pages, headers, footers, etc.).
Inputs: no named parameters.
wp_elementor_statusA
Check if Elementor is active and get its version.
Inputs: no named parameters.
wp_elementor_update_pageA
Update the Elementor data for a page/post. Send the full element tree as JSON. The structure follows Elementor's hierarchy: sections (elType: "section") contain columns (elType: "column") which contain widgets (elType: "widget", widgetType: "heading"|"text-editor"|"image"|etc.). Each element has an "id" (8-char hex), "settings" object, and "elements" array for children. Always read the page first with wp_elementor_get_page to understand the current structure.
Inputs: id (required), elements (required), page_settings.
wp_elementor_widget_typesA
List all available Elementor widget types with their names, titles, icons, and categories. Use this to know which widgets you can use when building pages.
Inputs: no named parameters.
wp_fix_best_practicesA
Apply auto-fixes for best practice issues. Currently supports fixing: "permalinks" (sets to /%postname%/) and "xmlrpc" (disables via mu-plugin). Pass an array of fix IDs to apply.
Inputs: fixes (required).
wp_get_commentA
Get a single comment with full details by its ID.
Inputs: id (required).
wp_get_contentA
Get a single WordPress content item by ID with full details including content, meta fields, categories, tags, and WooCommerce product data if applicable.
Inputs: id (required), type (required).
wp_get_mediaA
Get detailed information about a single media file including all available sizes and URLs.
Inputs: id (required).
wp_get_optionA
Get a single WordPress option value by key. Common options: blogname, blogdescription, timezone_string, date_format, time_format, permalink_structure, posts_per_page, etc.
Inputs: key (required).
wp_get_options_batchB
Get multiple WordPress options at once. Provide a comma-separated list of option keys.
Inputs: keys (required).
wp_get_userB
Get detailed information about a specific WordPress user by ID.
Inputs: id (required).
wp_install_pluginA
Install a plugin from the WordPress.org repository by its slug. Optionally activate it immediately after installation.
Inputs: slug (required), activate.
wp_install_themeA
Install a theme from WordPress.org by its slug. Optionally activate it after installation.
Inputs: slug (required), activate.
wp_list_commentsB
List comments with optional filtering by status (approve, hold, spam, trash, all), post ID, and search.
Inputs: page, search, status, post_id, +1 more.
wp_list_contentA
List WordPress content (posts, pages, products, or any custom post type). Supports search, pagination, and filtering by status.
Inputs: type (required), page, order, search, +4 more.
wp_list_mediaB
List media files in the WordPress media library. Can filter by MIME type (image/jpeg, video/mp4, etc.) and search by name.
Inputs: page, search, per_page, mime_type.
wp_list_pluginsA
List all installed WordPress plugins with their status (active/inactive), version, and update availability.
Inputs: no named parameters.
wp_list_themesA
List all installed WordPress themes with their status (active/inactive), version, and parent theme info.
Inputs: no named parameters.
wp_list_usersB
List WordPress users with optional filtering by role, search query, and pagination.
Inputs: page, role, order, search, +2 more.
wp_reply_commentA
Reply to a comment as the site administrator.
Inputs: content (required), post_id (required), parent_id (required).
wp_search_pluginsA
Search the WordPress.org plugin directory. Use this to find plugins by name or keyword before installing them.
Inputs: query (required), per_page.
wp_search_themesA
Search the WordPress.org theme directory for themes matching a query.
Inputs: query (required), per_page.
wp_set_optionsA
Set one or more WordPress options. Provide an object of key-value pairs. Note: some sensitive options (siteurl, admin_email, etc.) are blocked for security.
Inputs: options (required).
wp_site_healthA
Check if the WordPress site is reachable and the WP AI Assistant plugin is active.
Inputs: no named parameters.
wp_site_infoA
Get comprehensive WordPress site information including version, plugins, theme, post types, WooCommerce status, and server details.
Inputs: no named parameters.
wp_update_comment_statusA
Change a comment status: approve, hold (unapprove), spam, or trash.
Inputs: id (required), status (required).
wp_update_contentA
Update an existing WordPress post, page, or product. Only provide the fields you want to change.
Inputs: id (required), type (required), sku, meta, +11 more.
wp_update_pluginA
Update a WordPress plugin to the latest version from WordPress.org.
Inputs: plugin (required).
wp_update_userB
Update an existing WordPress user (email, role, name fields).
Inputs: id (required), role, email, last_name, +2 more.
wp_upload_mediaA
Upload a file to the WordPress media library using base64-encoded data. Maximum file size: 10MB.
Inputs: data (required), filename (required), alt, title.
wp_woocommerce_create_couponB
Create a new WooCommerce coupon with discount rules.
Inputs: code (required), amount (required), expiry_date, product_ids, +6 more.
wp_woocommerce_create_tax_rateB
Create a new WooCommerce tax rate for a specific country/state.
Inputs: name (required), rate (required), country (required), state, +3 more.
wp_woocommerce_get_orderA
Get full details of a single WooCommerce order including line items, billing/shipping addresses, and payment info.
Inputs: id (required).
wp_woocommerce_get_settingsA
Get WooCommerce settings by group. Available groups: "general" (store address, currency), "products" (weights, stock), "shipping", "checkout" (guest checkout, etc.), "emails".
Inputs: group.
wp_woocommerce_list_couponsB
List all WooCommerce coupons with their discount types, amounts, and usage stats.
Inputs: per_page.
wp_woocommerce_list_ordersA
List WooCommerce orders with customer info, totals, and status. Supports filtering by status and pagination.
Inputs: page, status, per_page.
wp_woocommerce_list_tax_ratesA
List all WooCommerce tax rates configured on the site.
Inputs: no named parameters.
wp_woocommerce_payment_gatewaysA
List all available WooCommerce payment gateways with their enabled/disabled status.
Inputs: no named parameters.
wp_woocommerce_shipping_zonesA
List WooCommerce shipping zones with their configured shipping methods.
Inputs: no named parameters.
wp_woocommerce_statsA
Get WooCommerce sales statistics for a given period: total revenue, order count, average order value, and customer count.
Inputs: period.
wp_woocommerce_statusA
Check if WooCommerce is installed and active. Returns store details: currency, address, product/order counts, and enabled features.
Inputs: no named parameters.
wp_woocommerce_update_payment_gatewayC
Enable/disable or configure a WooCommerce payment gateway.
Inputs: id (required), title, enabled, options, +1 more.
wp_woocommerce_update_settingsB
Update WooCommerce settings. Provide key-value pairs of woocommerce_ prefixed options. For example: {"woocommerce_currency": "EUR", "woocommerce_default_country": "FR"}.
Inputs: settings (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 58 tools
Most tools follow a clear resource+action split (plugin, content, order, comment, media, user), but a few overlap: wp_site_info vs wp_site_health, wp_get_content vs wp_elementor_get_page, and wp_cli_execute can replicate many dedicated tools. Descriptions generally prevent misselection.
The overwhelming pattern is wp_<domain>_<verb>_<noun> in snake_case, which is predictable and easy to navigate. Deviations include noun-only names like wp_woocommerce_shipping_zones, wp_woocommerce_payment_gateways, and wp_elementor_widget_types, plus nominal names like wp_site_info and wp_site_health.
With 58 tools, this is far beyond the typical well-scoped MCP surface and creates a large namespace for an agent to navigate. While each subdomain is heavily covered, the count is excessive for a single server and many tools could be consolidated or exposed as subcommands.
The server covers a broad range of domains with solid CRUD cycles for content, plugins, media, options, and comments. However, notable lifecycle gaps remain: themes have no update/delete, WooCommerce coupons and tax rates have no update/delete, and users have no delete operation.
Maintenance
Related MCP Connectors
WordPress plugin exposing 60 MCP tools via OAuth 2.1: posts, pages, media, users, comments and SEO.
Manage WordPress blogs and WooCommerce shops from Claude, ChatGPT, Cursor and other MCP apps.
Security-first WordPress MCP server. 129 tools for Claude, ChatGPT, Gemini. Free on wp.org.
WordPress MCP; OAuth, connected site and eligible subscription or trial required.
Related MCP Servers
FlicenseNot gradedqualityAmaintenanceProduction MCP server that runs as a WordPress plugin, exposing 40+ tools for managing posts, pages, custom post types, WooCommerce products, media, users, and menus from any MCP client. Includes API key + OAuth 2.0 authentication, rate limiting (60 req/min per IP), and activity logging. Free on WordPress.org10-- AlicenseNot gradedqualityAmaintenanceProvides a secure MCP bridge to interact with WordPress sites via signed requests, scoped keys, and approval workflows.1GPL 2.0
- AlicenseNot gradedqualityCmaintenanceManages WordPress sites over the REST API, enabling users, posts/pages, media, ACF fields, and Elementor page operations through MCP-compatible clients.MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP-compatible clients to manage a WordPress site through the native REST API, including reading and creating posts and tags, uploading media, and assigning featured images with write safeguards.MIT