Application passwords let tools such as AI assistants and MCP clients use the WordPress REST API without your main password. Used carefully, they are a safe way to let AI work on your site.
1. Create a dedicated user
Make a separate WordPress user for the AI, for example ai-builder. Its actions are then easy to spot, and you can switch it off without touching your own account.
2. Give it only the access it needs
Building pages and templates in Bricks needs builder access and the right capabilities. Installing plugins needs administrator rights. Grant the lowest role that does the job, and raise it only for specific tasks.
3. Create the application password
Go to Users > Profile > Application Passwords (Bricks also offers this under Bricks > AI). Name it after the tool, such as “Claude Code MCP”, so you know what to revoke later.
4. Store it securely
- Never paste it into a chat. Chats are stored, and they can be shared.
- Put it in the tool’s configuration or a secure secret form.
- Do not commit it to a code repository.
5. Revoke when done
Revoke the password when a project ends, or straight away if it was ever shown somewhere public. Revoking does not affect your normal login.
6. Protect against lockouts
Allowlist the tool’s IP address for /wp-json/ so a few failed requests do not block it. See why AI assistants get locked out.


