01 / Easiest
The one-line command
Signs in with a WordPress application password, sent as a Basic header.
- In wp-admin open WP MCP, Connection and create an application password. The screen shows this command with your site and credential filled in.
- Run it in your project directory.
- Start Claude Code and ask it to list your post types to confirm.
terminal
claude mcp add --transport http wpmcp https://your-site.com/wp-json/mcp/wpmcp-server \
--header "Authorization: Basic BASE64_OF_username:application-password"