Check server status
Run claude mcp get wpguard or claude mcp list. Open /mcp inside Claude Code to see connection errors. A 401 means the header is missing, unexpanded, or does not match a configured server token.
Start with site_list
Call site_list first. An empty result means the connection works but no WordPress site is registered. Register a staging site, then inspect it with wp_site_context before choosing a field or action.
Use a reachable endpoint
127.0.0.1 works only when Claude Code and WPGuard run on the same host. Put WPGuard behind an authenticated HTTPS endpoint or a tunnel you control when the client runs elsewhere.
Preview the selected value
Name the registered site and exact target. Preview supported option, post-meta, or post-content changes with apply=False. Review the old value, proposed value, correction result, state tag, and change digest before approval.