wpagent-mcp
wpagent-mcp
Claude(またはMCP互換のクライアント)がWordPressサイトを実際に操作できるようにするMCPサーバーです。プラグイン、コンテンツ、テーマ、メニュー、メディア、ユーザー、WooCommerce、Elementor、WP-CLIを扱えます。
無料のWpAgentブリッジプラグインを介して、すべてのリクエストがHMAC-SHA256で署名されるREST APIを通じてサイトと通信します。サイトの認証情報は一切使われず、データが第三者サービスを経由することもありません。接続はクライアント→あなたの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: wp-mcp-control-server
できること
分野 | 例 |
プラグイン | 一覧、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
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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.org9- FlicenseBqualityAmaintenanceMCP server that connects AI clients to WordPress for content management, site settings, Elementor editing, and more via a secure API.60
- FlicenseNot gradedqualityDmaintenanceEnables interaction with WordPress sites through the WordPress REST API, dynamically exposing all routes as MCP tools for content management and site configuration.
- AlicenseNot gradedqualityAmaintenanceProvides a secure MCP bridge to interact with WordPress sites via signed requests, scoped keys, and approval workflows.1GPL 2.0
Related MCP Connectors
Security-first WordPress MCP server. 129 tools for Claude, ChatGPT, Gemini. Free on wp.org.
WordPress MCP server: publish posts, AI images, SEO and full site management, self-hosted
WordPress MCP server: generate SEO posts, AI images, autoblog & WooCommerce on your self-hosted site
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/THE-KIPDEV/wpagent-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server