# bridgistic [Health: Active]

**Category:** 🛠️ Other Tools and Integrations  
**Repository:** https://github.com/Wordpressistic/bridgistic-claude-marketplace  
**GitHub Stars:** 0  
**npm Downloads (last month):** 350  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/bridgistic-2

## Description
Connect Claude to WordPress safely: signed requests, scoped keys, approvals, logs, snapshots.

## Tools
Capabilities this server exposes over MCP:

- **bridgistic_list_sites** — List the WordPress sites this bridge can operate on, by alias. Use the returned alias as the `site` parameter in other tools. Returns no secrets.
- **bridgistic_get_site_info** — Discover a site's stack before acting: WP/PHP versions, active theme, installed plugins (active flag), and detected frameworks (WooCommerce, Elementor, ACF). Read-only; requires the key's `site:read` scope. Always call this first on an unfamiliar site.
- **bridgistic_execute_php** — Run PHP inside the full WordPress runtime ($wpdb, all functions, loaded plugins). Highest-privilege tool; requires the key's `php:execute` scope. Use `return` to surface a value; echoed output is captured separately.

Args:
  - code (string): PHP to run. A leading "<?php" is optional.
  - site (string, optional): target alias.

Returns: { output, return, errors[], exception, elapsed_ms }.

Use when: a task has no dedicated structured tool yet. Prefer the structured tools (posts/options/etc.) when they exist, and snapshot before risky writes.
- **bridgistic_db_query** — Execute SQL against the site database. The bridge classifies the statement: SELECT/SHOW/EXPLAIN/DESCRIBE/WITH need `db:read`; anything else needs `db:write`. Writes are routed through the Guard: dry_run previews impact in a rolled-back transaction, destructive writes auto-snapshot the affected table(s), and approval applies if the key requires it.

Args:
  - sql (string): a single SQL statement using the site's real table prefix.
  - site (string, optional): target alias.
  - dry_run / approval_id / force: guard controls (writes only).
- **bridgistic_list_posts** — List content with pagination. Scope: `posts:read`. Args: post_type (default 'post'), status (default 'any'), search, per_page (≤100), page. Returns id/title/type/status/slug/link + total + has_more.
- **bridgistic_get_post** — Fetch one post/page/CPT by id with full content + meta. Scope: `posts:read`.
- **bridgistic_create_post** — Create a post/page/CPT. Scope: `posts:write`. Args: title, content, excerpt, status (draft|publish|...), slug, type, author, parent, meta (object). Supports dry_run and approval flow.
- **bridgistic_update_post** — Update an existing post by id. Scope: `posts:write`. Auto-snapshots the post first (rollback via snapshot_id). Same fields as create. Supports dry_run + approval.
- **bridgistic_delete_post** — Trash (default) or permanently delete a post. Scope: `posts:write`. Auto-snapshots first. Set permanent=true to skip trash. Supports dry_run + approval.
- **bridgistic_list_media** — List attachments (id/title/mime/url). Scope: `posts:read`. Args: per_page, page.
- **bridgistic_upload_media** — Upload to the media library from a URL or base64. Scope: `media:write`. Provide either url, or filename + content_base64. Supports dry_run + approval.
- **bridgistic_delete_media** — Permanently delete an attachment by id. Scope: `media:write`. Auto-snapshots first.
- **bridgistic_list_users** — List users (id/login/email/display_name/roles). Scope: `users:read`. Never returns passwords. Args: search, per_page, page.
- **bridgistic_create_user** — Create a user. Scope: `users:write`. Args: login, email (both required), role (default subscriber), display_name, password (auto-generated if omitted). Supports dry_run + approval.
- **bridgistic_update_user** — Update a user by id (email, display_name, role). Scope: `users:write`. Auto-snapshots the user first. Supports dry_run + approval.
- **bridgistic_get_option** — Read a wp_options value BY NAME. Scope: `options:read`. The name must be in the site's allowlist (WP Admin → Bridgistic → Settings) — secrets are unreadable by design.
- **bridgistic_update_option** — Write a wp_options value. Scope: `options:write`. Name must be allowlisted. Auto-snapshots the old value. Supports dry_run + approval.
- **bridgistic_list_plugins** — List installed plugins with active flag + version. Scope: `plugins:manage`.
- **bridgistic_toggle_plugin** — Activate or deactivate a plugin. Scope: `plugins:manage`. High-risk: ALWAYS routes through approval and snapshots active_plugins first. Args: plugin (file, e.g. 'woocommerce/woocommerce.php'), state ('activate'|'deactivate').
- **bridgistic_fs_list** — List files/dirs under a path (confined to ABSPATH). Scope: `fs:read`.
- **bridgistic_fs_read** — Read a file's contents (≤5MB, inside ABSPATH). Scope: `fs:read`.
- **bridgistic_fs_write** — Write a file inside ABSPATH. Scope: `fs:write`. PHP files may ONLY be written inside the uploads/bridgistic-sandbox dir. Overwrites auto-snapshot the old file. Supports dry_run + approval.
- **bridgistic_fs_delete** — Delete a file inside ABSPATH. Scope: `fs:write`. High-risk: always routes through approval and snapshots the file first. Supports dry_run.
- **bridgistic_snapshot_create** — Manually capture reversible state before a risky change. Scope: `snapshot:manage`. Types + target:
  - post   { id }
  - user   { id }
  - option { name }
  - tables { tables: ["wp_options", ...] } (≤50k rows each)
  - file   { path }
Returns a snapshot_id for bridgistic_snapshot_restore.
- **bridgistic_snapshot_restore** — Roll back to a snapshot by id (undo a write/delete). Scope: `snapshot:manage`. Use the snapshot_id returned by a write tool or by bridgistic_snapshot_create / bridgistic_snapshot_list.
- **bridgistic_snapshot_list** — List recent snapshots (auto + manual) with id/type/label/size/created/restored. Scope: `snapshot:manage`.
- **bridgistic_snapshot_delete** — Delete a stored snapshot by id (frees space; cannot be restored after). Scope: `snapshot:manage`.
- **bridgistic_approval_status** — Check whether a queued operation has been approved. Returns status: pending | approved | rejected | executed. When approved, retry the ORIGINAL tool call with the same args plus approval_id to execute it.
- **bridgistic_usage** — Return the calling key's tier, rate limit (req/min), monthly quota, and current usage (this minute / today / this month + top actions). Call before large batch operations to avoid hitting the quota mid-run.
- **bridgistic_memory_set** — Persist a fact about this site for future sessions (conventions, IDs, client preferences, quirks). Scope: `memory:write`. Args: key (required), value (any JSON), category (default 'general'). Overwrites the same category+key.
- **bridgistic_memory_get** — Read one memory note by key (+optional category). Scope: `memory:read`.
- **bridgistic_memory_list** — List stored memory notes, optionally filtered by category. Scope: `memory:read`. Call at the start of a session to recall what's known about a site.
- **bridgistic_memory_delete** — Remove a memory note by key (+optional category). Scope: `memory:write`.
- **bridgistic_playbook_save** — Store an ordered, parameterised sequence of bridge operations for replay. Scope: `playbook:manage`.

Each step = { method, route, params, save_as }. Use templates in params:
  - {{vars.NAME}}                 → a run-time input
  - {{steps.REF.data.result.id}}  → a value from an earlier step's result envelope

Example steps (create a landing page then set it as the front page):
[
  { "method":"POST","route":"posts","params":{"type":"page","title":"{{vars.title}}","status":"publish"},"save_as":"page" },
  { "method":"POST","route":"options","params":{"name":"page_on_front","value":"{{steps.page.data.result.id}}"} }
]
- **bridgistic_playbook_list** — List saved playbooks (slug/name/description). Scope: `playbook:manage`.
- **bridgistic_playbook_get** — Fetch one playbook incl. its steps. Scope: `playbook:manage`.
- **bridgistic_playbook_run** — Execute a saved playbook. Scope: `playbook:manage`; each step also enforces its own scope + the Guard. Args:
  - slug, vars (object of run inputs)
  - dry_run (preview every step), force (skip snapshot aborts)
  - approvals: { "<step ref>": "<approval_id>" } to resume a step that paused for approval.

If a step needs approval the run pauses and returns { status: "paused_for_approval", paused_at, approval_id }; approve in WP Admin, then re-run with approvals mapped to that ref.
- **bridgistic_playbook_delete** — Delete a playbook by slug. Scope: `playbook:manage`.
- **bridgistic_schedule_create** — Run a saved playbook unattended on a recurrence (WP-Cron). Scope: `schedule:manage`. The schedule runs under THIS key's current scopes, so the key must hold the scopes every step needs.

Args:
  - playbook (slug), recurrence (once|bridgistic_5min|bridgistic_15min|bridgistic_30min|hourly|twicedaily|daily|weekly)
  - vars (object passed to the run), start_at (unix seconds, optional first-run time)
  - dry_run (run in preview mode every time — good for testing a schedule), force.

Note: unattended runs never auto-approve. If a step needs approval the run records "paused_for_approval" and stops — use a key WITHOUT require_approval for fully autonomous schedules.
- **bridgistic_schedule_list** — List scheduled playbooks with recurrence, next/last run, and last status. Scope: `schedule:manage`.
- **bridgistic_schedule_toggle** — Pause or resume a schedule without deleting it. Scope: `schedule:manage`.
- **bridgistic_schedule_delete** — Remove a schedule and unregister its cron event. Scope: `schedule:manage`.
- **bridgistic_schedule_run_now** — Trigger a scheduled playbook immediately (does not change its recurrence). Scope: `schedule:manage`. Useful to test a schedule end-to-end.
- **bridgistic_woo_list_products** — List store products with pagination. Scope: `woo:products:read`. Args: search, status (draft|publish|...), stock_status (instock|outofstock|onbackorder), category (slug), per_page (≤100), page. Returns id/name/sku/type/status/price/stock per product plus total and has_more. Use this instead of SQL or PHP for any product question — it works the same whether or not the store uses High-Performance Order Storage.
- **bridgistic_woo_get_product** — Fetch a single product by id, including description, categories, tags, attributes, and every variation's own price and stock. Scope: `woo:products:read`. For a variable product, the variation list is usually the real answer to "is this in stock?".
- **bridgistic_woo_create_product** — Create a simple product. Scope: `woo:products:write`. `name` is required; prices must be non-negative numbers. Supports dry_run to preview the fields that would be set, and the approval queue when the key requires it. Publishes only if you pass status='publish' — the store's own default applies otherwise.
- **bridgistic_woo_update_product** — Update an existing product. Scope: `woo:products:write`. Only the fields you pass are changed. Overwrites prior values, so the bridge snapshots the product first and dry_run returns an explicit before/after for exactly the fields supplied.
- **bridgistic_woo_list_orders** — List orders newest-first. Scope: `woo:orders:read`. Args: status (comma-separated, e.g. 'processing,completed'), customer_id, after (Y-m-d or ISO 8601), per_page (≤100), page. Returns id/number/status/total/currency/created/customer plus billing name, email, and country. Full addresses and payment details are never returned.
- **bridgistic_woo_get_order** — Fetch a single order by id with its line items, shipping and tax totals, customer note, and payment method name. Scope: `woo:orders:read`. Payment tokens, transaction ids, and card data are never included.
- **bridgistic_woo_update_order_status** — Move an order to a different status. Scope: `woo:orders:write`. The status is validated against the statuses this store actually defines, so plugin-added ones work and typos are refused with the valid list.

SIDE EFFECTS: a status change fires WooCommerce hooks — customer emails, stock adjustments, and payment-gateway actions. Setting the status back afterwards does not un-send an email or un-restock an item, which is why this is marked destructive, snapshots first, and honours the approval queue. Use dry_run to see the transition before committing.
- **bridgistic_woo_list_customers** — List users with the customer role, newest-first, with their order count and lifetime spend. Scope: `woo:customers:read`. Args: search (name/email/login), per_page (≤100), page. Password hashes, session tokens, and payment methods are never returned.
- **bridgistic_woo_get_customer** — Fetch a single customer by user id with order count, lifetime spend, billing/shipping country and city, and last order date. Scope: `woo:customers:read`. Street addresses, phone numbers, password hashes, and payment methods are not exposed.
- **bridgistic_woo_inventory_status** — Out-of-stock and low-stock products in one call, with counts. Scope: `woo:analytics:read`. `low_stock_threshold` defaults to the store's own low-stock setting. Only stock-managed products can be low, so unmanaged products are counted separately rather than reported as zero.
- **bridgistic_woo_sales_summary** — Revenue, order count, average order value, orders by status, and top products for the last N days (default 30, max 365). Scope: `woo:analytics:read`. Counts only processing, completed, and on-hold orders — pending, cancelled, and failed orders are excluded so the revenue figure reconciles with what the store actually took. The counted statuses are echoed back in the response.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "bridgistic": {
    "command": "npx",
    "args": ["-y","bridgistic-mcp-server"],
    "env": {
      "BRIDGISTIC_SITE_URL": "",
      "BRIDGISTIC_KEY_ID": "",
      "BRIDGISTIC_KEY_SECRET": ""
    }
  }
}
```

**Requires environment variables:** `BRIDGISTIC_SITE_URL`, `BRIDGISTIC_KEY_ID`, `BRIDGISTIC_KEY_SECRET` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What bridgistic does

bridgistic gives MCP-compatible clients a controlled way to work with a WordPress site. The connection uses a WordPress plugin, a key with defined permissions, and an MCP server that forwards approved client actions to the site. It is designed for agent workflows where administrator credentials should not be exposed.

The server exposes 54 tools across WordPress management and content operations. These areas include posts, media, users, plugins, options, files, database operations, WooCommerce, playbooks, schedules, and snapshots. A client can also call `bridgistic_get_site_info` to verify that the connection is working.

## How it works

Install and activate the Bridgistic WordPress plugin, then create a key under **Bridgistic → AI / MCP Connections**. The key can be read-only or configured with narrower permissions for the work the client needs to perform. The MCP server uses the site URL, key ID, and secret to authenticate requests.

Each request is signed with HMAC and checked against the key's scopes. Operations that can change or remove data may be run as a dry run, paused for human approval, and preceded by a snapshot. Requests are written to an audit log, providing a record of activity between the MCP client and WordPress.

## Setup and configuration

1. Download the WordPress plugin from the latest Bridgistic release or the Bridgistic website.
2. In WordPress, upload it through **Plugins → Add New → Upload Plugin**, then activate it.
3. Create a key in **Bridgistic → AI / MCP Connections**. A read-only key is the documented starting point.
4. Configure the MCP client with these environment variables:

   - `BRIDGISTIC_SITE_URL`
   - `BRIDGISTIC_KEY_ID`
   - `BRIDGISTIC_KEY_SECRET`

For Claude Desktop, download the `bridgistic.mcpb` package and enter the site URL, key ID, and secret when prompted. Claude Code can install the marketplace plugin with `/plugin marketplace add Wordpressistic/bridgistic-claude-marketplace`, followed by `/plugin install bridgistic@bridgistic-marketplace`. Other MCP clients can run `npx -y bridgistic-mcp-server` with the same variables.

Remote-only clients such as ChatGPT can connect through Bridgistic Cloud, available from **WP Admin → Bridgistic → Bridgistic Cloud** in public beta.

## Tools and capabilities

The tool set supports work with:

- Posts and media
- Users and plugins
- WordPress options and files
- The WordPress database
- WooCommerce
- Playbooks and schedules
- Snapshots

Operational controls include scoped access keys, HMAC request signing, dry-run handling, approval gates, snapshots before destructive actions, and audit logging. These controls let teams separate read access from mutation access and review actions that require approval.

## Limitations and notes

The WordPress plugin is required before the MCP connection can operate. The documented WordPress compatibility level is 6.4 or newer. Keys should be configured with only the scopes needed by the client; a read-only key is suitable for initial connection checks and inspection tasks.

Claude Desktop has a packaged installation that does not require Node.js. The general command-line installation uses `npx -y bridgistic-mcp-server`. ChatGPT and other remote-only clients use Bridgistic Cloud rather than the local MCP process. The project is licensed under GPL-2.0-or-later.

_Full upstream README: https://allmcps.com/mcp/bridgistic-2/readme_

