Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者による説明(英語の原文)
WordPress edit previews, scoped correction checks, and change records for trusted operators.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
WPGUARD_MCP_TOKEN「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"wpguard": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"WPGUARD_MCP_TOKEN",
"ghcr.io/cgallic/wpguard-mcp:0.4.0"
],
"env": {
"WPGUARD_MCP_TOKEN": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add wpguard --env WPGUARD_MCP_TOKEN=your-value -- docker run -i --rm -e WPGUARD_MCP_TOKEN ghcr.io/cgallic/wpguard-mcp:0.4.0動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"wpguard": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"WPGUARD_MCP_TOKEN",
"ghcr.io/cgallic/wpguard-mcp:0.4.0"
],
"env": {
"WPGUARD_MCP_TOKEN": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"wpguard": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"WPGUARD_MCP_TOKEN",
"ghcr.io/cgallic/wpguard-mcp:0.4.0"
],
"env": {
"WPGUARD_MCP_TOKEN": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント cgallic で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:WPGUARD_MCP_TOKEN
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.4.0)がレジストリに届いたのは2 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにDockerも必要です。
同じカテゴリには:Spec Driven Development, Remote Desktop Commander, Zendesk
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Zendesk MCP Pack — tickets, users, organizations via OAuth.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Put your AI assistant to work on WordPress. Preview the edit. Keep the corrections that matter.
WPGuard connects an MCP client to WordPress so it can inspect a site, update content and settings, and return a record of its changes. When you teach it a supported correction, future edits to that exact target are checked before they are applied.
It is the open-source server behind WP MCP Server. Run it on your own machine or server and connect your WordPress sites over SSH or the companion plugin.
Get started · Product website · Security · MIT license
Ask your assistant to:
The tools provide the WordPress access and change records. Your MCP client supplies the assistant and its reasoning.
Suppose a restaurant's reservations page must keep the link labeled Reserve a table pointing to /reserve.
You record that requirement with a rejected example, an accepted example, and its source. WPGuard first proves the check distinguishes those examples. A later content edit that removes the link fails its preview check and is blocked when the assistant tries to apply it.
This synthetic example uses the wp_correction_record MCP tool after registering the site:
wp_correction_record(
site="restaurant-staging", target="post:84:content", human_correction="Keep the reservations link on this page.", source_ref="review:reservation-link-example", human_requested_basis="The site owner requested this link in the example review.", kind="html_link", expected={"href": "/reserve", "text": "Reserve a table"}, rejected_value=" Contact us to book. ", accepted_value=' Reserve a table ', )
The requirement applies to this registered site and this post body. It does not become a rule for every page or another client. Retiring a correction preserves its history and the reason it was retired.
Supported checks cover exact text presence or absence, scalar equality, a value at a JSON Pointer, and an HTML anchor's destination and text. The link check examines HTML structure; it does not prove the destination works or the link is visible in a browser.
Requires Python 3.10 or newer. These commands install this repository; they do not depend on a published package or container image.
git clone https://github.com/cgallic/wpguard-mcp.git
cd wpguard-mcp python -m venv .venv source .venv/bin/activate python -m pip install ".[browser]" playwright install chromium export WPGUARD_TOKEN_ADMIN="$(python -c 'import secrets; print(secrets.token_hex(32))')" wpguard-mcp
The server listens at http://127.0.0.1:8642/mcp. Connect a client that supports MCP Streamable HTTP and an Authorization: Bearer header, using the value of WPGUARD_TOKEN_ADMIN from the server's environment.
Then register your site and call wp_site_context. Registration stores connection details; it does not import or modify your site's content.
The setup guide includes Windows, Docker builds, both WordPress connections, and a first edit with a reviewable preview.
| Work | Tools and behavior |
|---|---|
| Understand the site | wp_site_context, wp_recon, wp_schema_recon, and wp_design_context expose inventory and configuration. Plugin recognition does not imply a complete native integration. |
| Finish one page | wp_page_list, wp_page_get, and wp_page_compare resolve the target and reference. wp_page_replace_content previews a complete replacement, checks protected copy and corrections, requires the reviewed etag and exact packet, captures a snapshot, then reads the stored result back. wp_page_render_verify captures desktop and mobile screenshots with hashes and DOM checks without changing WordPress. |
| Test before production | wp_page_stage_and_test previews both registered peers, applies only to the separately approved staging site, captures rendered evidence, and returns a fresh production preview. It never promotes automatically. |
| Edit content and settings | wp_mutate_post_content, wp_mutate_post_meta, and wp_mutate_option preview by default, check applicable corrections, and capture previous values before approved writes. |
| Work with files and blocks | File tools expose reads and edit previews. wp_mutate_block selects and patches one parsed Gutenberg block under the same digest, ETag, correction, snapshot, and packet controls. Post creation defaults to draft. |
| Update components | wp_vulnerability_scan returns cached clean, vulnerable, or unknown findings. SSH sites can preview and apply exact plugin/theme updates with post-update health checks and automatic prior-version restoration on failure. |
| Recover content | List and inspect native WordPress revisions, or preview and approve wp_revert_to_revision. WPGuard verifies the resulting revision by its complete content hash. |
| Run unattended work | Admins can create narrow preapproval policies bound to a site, source, exact verbs, target pattern, and maximum risk. A matching run receives one exact packet; unmatched work remains blocked. |
| Remember corrections | Record, list, and retire exact-target checks. Failed or unevaluable applicable checks block the three mutation tools above. |
| Consult previous work | Import packet CSVs or correction-episode JSONL and retrieve their source records without turning imported prose into executable instructions. |
| Review changes | Change packets record proposals, approvals, and outcomes. wpguard audit displays the local ledger; supported snapshots can be used with rollback tools. |
The server also exposes advanced PHP, SQL, CLI, snippet, and access tools. Their permissions and side effects differ. They are not covered by the correction checks above.
Importing history preserves the original records, hashes, and provenance in the instance's state directory. Repeating an identical import is idempotent; changed records retain their earlier versions.
Packet exports use three CSV schemas:
packets: id,client_slug,site,status,risk,created_at,summary
status: client_canonical,total_packets,verified,open,blocked,rolled_back categories: category,packets,distinct_clients,top_clients
python -m wpguard_mcp.history import \
--packets packets.csv --status status.csv --categories categories.csv \ --human-requested-basis "The operator confirmed these categories describe human-requested changes."
For richer session histories:
python -m wpguard_mcp.history import-episodes \
--episodes episodes.jsonl --lessons lessons.md --coverage coverage.md
Each JSONL record needs nonempty episode_id, client, and site strings; additional evidence fields are preserved. wp_history_episodes(client_slug=...) matches the original client value exactly. Packet queries match the packet export's client_slug exactly. No alias mapping is inferred between the two exports.
Imported status and acceptance labels remain historical reports. Recording an active correction is a separate operation that requires examples which fail and pass its check. Caller-supplied acceptance references are recorded as attestations, not independently authenticated approvals.
Imports stay on the instance until queried or otherwise shared by its operator. Queries send the selected records to the connected MCP client. Keep private histories out of public repositories and publishable artifacts.
wp_page_render_verify checks the resolved live page at desktop and mobile sizes for HTTP failures, horizontal overflow, broken rendered images, and optional expected text. It stores hashed screenshots and a JSON receipt under state/render-evidence/. It does not judge visual quality or exercise interactions and links.The updated companion plugin is required for content correction checks. It returns the source content during preview and checks its digest before applying a content replacement. Older plugin responses cannot satisfy that capability check.
python -m pip install -e ".[dev]"
ruff check . mypy pytest -q
CI runs lint, type checks, and tests on Python 3.10–3.12. PHP CLI is needed to run the companion-handler tests; without it those tests skip. All public test examples are synthetic.
WPGuard is MIT-licensed. See LICENSE.