WordPress · WooCommerce · MCP

Make your WordPress site operable by AI agents — safely.

A spec-compliant OAuth 2.1 server, per-agent permissions, and a human approval queue. Connect Claude, ChatGPT, or Cursor in one click. You own every endpoint — no SaaS, no phone-home.

Agent Gateway approval queue
OAuth 2.1 · PKCE S256 RFC 9728 · 8414 · 7591 · 8707 Zero API keys to copy Self-hosted · own your data
Live demo

A real store, run by a real AI agent

The demo site is a live WooCommerce install with Agent Gateway active. Every endpoint below is served by the plugin, right now.

Browse the demo store

agent-gateway-demo.instawp.site
WooCommerce storefront with sample products. An AI shopping agent has already placed a governed draft order on this site.

Connect your own MCP client

Point MCP Inspector, Claude, ChatGPT, or Cursor at
https://agent-gateway-demo.instawp.site/wp-json/agw/mcp
Discovery, registration, and PKCE happen automatically. Consent requires the site owner login, which is how the plugin keeps strangers out.

Why Agent Gateway

The production governance layer for AI on WordPress

Built on the official WordPress Abilities API and MCP adapter. Everything runs on your own domain.

OAuth 2.1 authorization server

PKCE (S256), dynamic client registration, discovery metadata, audience-bound opaque tokens, and revocation — the full spec, same-origin.

Agent principals

Each agent is its own zero-capability identity — never a real admin user. Permissions are granted per-agent, per-ability, and revocable live.

Approval queue

Hold write actions for human approval, with constraint-based auto-approval, a full audit log, a kill switch, and per-agent dry-run mode.

WooCommerce abilities pack

Product search, stock, shipping estimates, order status, draft orders, and returns — all governed, with agent-attributed orders.

Built-in diagnostics

A self-test probes discovery, the Authorization header, caching, and a full OAuth + MCP round-trip — catching host issues before your clients do.

Secure by construction

Secrets stored only as hashes, constant-time comparison, token-family reuse detection, and virtual-capability isolation. No secrets in plaintext, ever.

Product tour

See it in action

Real screens from the plugin admin — the governance surface your customers never see, and the connect flow they do.

Connect

One-click connect, zero API keys

Agents register automatically over standard OAuth 2.1. You approve exactly which permissions each one receives on a clear consent screen.

Consent screen
Govern

Per-agent, per-ability policies

Set every ability to allow, hold, or deny. Cap calls per hour and add JSON auto-approve constraints — for example, auto-approve draft orders under a set value.

Agent permissions editor
Approve

A human approval queue

Every held action lands here with the agent, exact arguments, and expiry. Approve in one click — it executes as the agent, never as your admin account.

Approval queue
Monitor

Full audit trail & live roster

An append-only log records every consent, call, hold, and approval with outcomes and timings. See all connected agents and revoke any of them instantly.

Audit log
Verify

Diagnostics that de-risk deployment

The self-test verifies discovery documents, Authorization-header pass-through, caching, and a complete register → PKCE → MCP → revoke walk.

Diagnostics self-test
How it works

Live in three steps

No credential copying, no external service.

Add the server URL

Paste your site's MCP URL into Claude, ChatGPT, or Cursor as a remote MCP server.

Approve on consent

The agent registers itself and opens your consent screen. Grant a subset of scopes — or none.

Govern & approve

Set policies per ability. Risky actions wait in the queue for your one-click approval.

WooCommerce pack

Prebuilt commerce abilities

Auto-enabled when WooCommerce is active. Read abilities run freely; write abilities default to hold.

Search products read
Check stock read
Estimate shipping read
Get order status read
Create draft order hold
Initiate return hold

Add your own abilities via a filter — they flow through the same scope, grant, policy, and queue machinery.