Skip to content

Connect your client

Every client needs the same three settings:

Setting Value
WP_API_URL Your site’s address, such as https://example.com
WP_API_USERNAME Your WordPress username
WP_API_PASSWORD The Application Password, with or without spaces
Terminal window
claude mcp add my-site -s user \
-e WP_API_URL=https://example.com \
-e WP_API_USERNAME=your-username \
-e "WP_API_PASSWORD=abcd efgh ijkl mnop qrst uvwx" \
-- npx -y @ballesdev/[email protected]

Keep the password in quotes: it has spaces. -s user makes the server available in every folder; without it, Claude Code only loads it in the folder where you ran the command.

Ask your assistant something like “List the pages on my site”. It should answer with your pages. If it doesn’t, see troubleshooting.