MCP WordPress CrunchTools
MCP WordPress CrunchTools
WordPress コンテンツ管理のためのセキュアな MCP (Model Context Protocol) サーバー。自身の作業について公開する開発者向けに設計されています。
概要
この MCP サーバーは以下のように設計されています:
デフォルトでセキュア - 包括的な入力検証、資格情報の保護、SSRF 防止
サードパーティサービスなし - stdio 経由でローカル実行され、資格情報がマシンから流出することはありません
クロスプラットフォーム - Linux、macOS、Windows で動作
自動更新 - GitHub Actions が CVE を監視し、依存関係を更新
コンテナ化 -
quay.io/crunchtools/mcp-wordpressで利用可能
Related MCP server: TypeScript WordPress MCP Server
命名規則
コンポーネント | 名前 |
GitHub リポジトリ | |
コンテナ |
|
Python パッケージ (PyPI) |
|
CLI コマンド |
|
モジュールインポート |
|
機能
30 のツール - 投稿、ページ、メディア、コメント用
セキュリティ重視: 資格情報の保護、入力検証、SSRF 防止
開発者ワークフロー: 予約投稿、リビジョン、検索
簡単な統合: Claude Code やその他の MCP クライアントと連携
インストール
uvx を使用 (推奨)
uvx mcp-wordpress-crunchtoolspip を使用
pip install mcp-wordpress-crunchtools
mcp-wordpress-crunchtoolsコンテナを使用
# Create a shared upload directory (required before first run)
mkdir -p ~/.local/share/mcp-uploads-downloads
podman run -v ~/.local/share/mcp-uploads-downloads:/tmp/mcp-uploads:z \
-e WORDPRESS_URL=https://example.com \
-e WORDPRESS_USERNAME=admin \
-e WORDPRESS_APP_PASSWORD='xxxx xxxx xxxx xxxx' \
quay.io/crunchtools/mcp-wordpressSELinux に関する注意:
:Z(大文字、プライベート) ではなく:z(小文字、共有) を使用してください。 MCP サーバーは長時間実行される stdio プロセスとして動作します。:Zを使用すると、コンテナ起動後に ディレクトリにコピーされたファイルにはコンテナのプライベートな MCS ラベルが付与されず、 コンテナ内から見えなくなります。:zフラグは共有のcontainer_file_tコンテキストを設定し、すべてのコンテナとホストが読み書きできます。ヒント: 複数の MCP コンテナサーバー (例: mcp-wordpress と mcp-gemini) 間で同じ共有ディレクトリ (
~/.local/share/mcp-uploads-downloads/) を使用すると、生成されたファイルがコピーなしで すぐにアップロードに利用できます。
ソースから
git clone https://github.com/crunchtools/mcp-wordpress.git
cd mcp-wordpress
uv sync --all-extras
uv run mcp-wordpress-crunchtools設定
以下の環境変数を設定します:
変数 | 説明 | 例 |
| WordPress サイトの URL |
|
| WordPress ユーザー名 |
|
| アプリケーションパスワード |
|
| コンテナ内のアップロードディレクトリ (オプション) |
|
アプリケーションパスワードの作成
WordPress 管理画面にログイン
ユーザー → プロフィール に移動
アプリケーションパスワード までスクロール
名前 (例: "MCP Server") を入力し、新規追加 をクリック
生成されたパスワードをコピー (一度だけ表示されます)
Claude Code での使用
uvx を使用 (推奨)
claude mcp add mcp-wordpress-crunchtools \
--env WORDPRESS_URL=https://example.com \
--env WORDPRESS_USERNAME=admin \
--env WORDPRESS_APP_PASSWORD="xxxx xxxx xxxx xxxx" \
-- uvx mcp-wordpress-crunchtoolspip を使用
pip install mcp-wordpress-crunchtools
claude mcp add mcp-wordpress-crunchtools \
--env WORDPRESS_URL=https://example.com \
--env WORDPRESS_USERNAME=admin \
--env WORDPRESS_APP_PASSWORD="xxxx xxxx xxxx xxxx" \
-- mcp-wordpress-crunchtoolsコンテナを使用
# Create a shared upload directory (required before first run)
mkdir -p ~/.local/share/mcp-uploads-downloads
claude mcp add mcp-wordpress-crunchtools \
--env WORDPRESS_URL=https://example.com \
--env WORDPRESS_USERNAME=admin \
--env WORDPRESS_APP_PASSWORD="xxxx xxxx xxxx xxxx" \
-- podman run -i --rm \
-v ~/.local/share/mcp-uploads-downloads:/tmp/mcp-uploads:z \
-e WORDPRESS_URL \
-e WORDPRESS_USERNAME \
-e WORDPRESS_APP_PASSWORD \
quay.io/crunchtools/mcp-wordpress利用可能なツール
サイトツール
ツール | 説明 |
| サイトのタイトル、説明、URL、タイムゾーンを取得 |
| API 資格情報が機能するか確認 |
投稿ツール
ツール | 説明 |
| フィルタリング付きで投稿を一覧表示 (ステータス、カテゴリ、検索) |
| ID で単一の投稿を取得 (全文含む) |
| キーワードで投稿を検索 |
| 新しい投稿を作成 (予約投稿対応) |
| 既存の投稿を更新 |
| 投稿を削除/ゴミ箱へ移動 |
| 投稿のリビジョンを一覧表示 |
| 特定のリビジョンの内容を取得 |
| 利用可能なカテゴリを一覧表示 |
| 利用可能なタグを一覧表示 |
ページツール
ツール | 説明 |
| フィルタリング付きでページを一覧表示 |
| ID で単一のページを取得 |
| 新しいページを作成 |
| 既存のページを更新 |
| ページを削除/ゴミ箱へ移動 |
| ページのリビジョンを一覧表示 |
メディアツール
ツール | 説明 |
| メディアアイテムを一覧表示 |
| メディアアイテムの詳細を取得 |
| ローカルパスからファイルをアップロード |
| メディアのメタデータを更新 |
| メディアアイテムを削除 |
| メディアの公開 URL を取得 |
コメントツール
ツール | 説明 |
| フィルタリング付きでコメントを一覧表示 |
| 単一のコメントを取得 |
| 投稿にコメントを追加 |
| コメントの内容/ステータスを更新 |
| コメントを削除 |
| 承認、保留、スパム、ゴミ箱へ移動 |
例
下書き投稿を作成
Create a new WordPress post titled "My Technical Article" with the content below. Keep it as a draft.投稿を予約
Update post ID 123 to publish on December 25, 2024 at 10:00 AM.画像をアップロード
Upload this image to WordPress and set the alt text to "Architecture diagram".コメントを検索してモデレート
List all comments in "hold" status and approve the legitimate ones.セキュリティ
資格情報の保護: すべての資格情報は
SecretStrとして保存され、ログに記録されることはありませんSSRF 防止: REST API パスはハードコードされており、上書きできません
入力検証: すべての入力は Pydantic モデルで検証されます
レート制限: WordPress のレート制限を適切に処理します
TLS 強制: すべてのリクエストは証明書検証付きの HTTPS を使用します
サイズ制限: メモリ問題を防ぐため、レスポンスサイズは 10MB に制限されます
タイムアウト: すべてのリクエストは 30 秒でタイムアウトします
開発
# Install dev dependencies
uv sync --all-extras
# Run tests
uv run pytest
# Run linting
uv run ruff check src tests
# Run type checking
uv run mypy src
# Format code
uv run ruff format src testsライセンス
AGPL-3.0-or-later
クレジット
crunchtools.com によって構築されました
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
- Alicense-qualityDmaintenanceA lightweight MCP server that connects to WordPress via REST API, enabling content management (posts, pages, categories, etc.) and site configuration through natural language commands.Apache 2.0
- Alicense-qualityDmaintenanceMCP server for WordPress content management that provides a secure interface for AI assistants to interact with WordPress sites, enabling content creation, editing, and media management without destructive operations.MIT
- Alicense-qualityBmaintenanceAn MCP server that enables safe reconnaissance, mutation, and verification of WordPress sites through guarded, typed verbs with dry-run previews and change-packet audit records.MIT
- Flicense-qualityDmaintenanceA Model Context Protocol (MCP) server that bridges AI assistants to WordPress, enabling natural-language management of posts, pages, media, comments, users, plugins, and settings across multiple sites simultaneously.
Related MCP Connectors
WordPress MCP server: publish posts, AI images, SEO and full site management, self-hosted
Security-first WordPress MCP server. 129 tools for Claude, ChatGPT, Gemini. Free on wp.org.
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/crunchtools/mcp-wordpress'
If you have feedback or need assistance with the MCP directory API, please join our Discord server