Application password

A WordPress application password is a separate password tied to one user account, meant for API access by tools and integrations rather than for logging in. A tool can act as that user without ever knowing the user's main password, and you can revoke it on its own.

Why it matters

Application passwords are how many AI tools and MCP servers sign in to self-hosted WordPress. WordPress added them to core in 2020, using Basic Authentication that by default works only over an SSL connection.1

WordPress's handbook treats them as secrets. It recommends one per integration, revoking any that are no longer needed, and rotating them on a schedule or after a suspected leak.2 Each one shows when it was last used, so you can spot a tool that's gone quiet.

In practice

  • Create one per tool, named after it, such as "Claude Desktop".
  • Create it for a dedicated user with the lowest role that works.
  • Store it in the tool's secret settings, never in a shared file.
  • Revoke it as soon as you stop using the tool.
  • Check last-used dates once a month.

What the sources say

  • A password tied to a specific WordPress user account.

    WordPress Advanced Administration Handbook, Application Passwords

What to do about application password, depending on who you are

If you're connecting Claude or another AI to your site

The AI acts as whichever user the password belongs to, so the user's role is the real limit on what it can do.

  1. Create a new user for the AI with the Editor or Author role.
  2. Create an application password for that user, named after the tool.
  3. Revoke it from the user's profile when you stop using the tool.

WordPress MCP security

If you manage many client sites

Shared passwords across tools make it impossible to tell which one did what, or to revoke one without breaking the rest.

  1. Keep one application password per tool per site.
  2. Record them in your password manager with the site and tool name.
  3. Review last-used dates monthly and revoke stale ones.

Go deeper

My guide to WordPress MCP security covers which user and role to connect AI with, and Claude for WooCommerce shows the setup step by step.

WordPress MCP securityAll 106 terms

Sources

  1. Timothy Jacobs, "REST API: Introduce Application Passwords for API authentication," WordPress core changeset 49109, 8 October 2020. core.trac.wordpress.org
  2. "Application Passwords," WordPress Advanced Administration Handbook. developer.wordpress.org

Related terms

Least privilege

Least privilege is the security rule of giving every person, tool or AI assistant only the access its job needs, and nothing more. If that access is misused or stolen, the damage stays small.

Learn the term

WordPress MCP Adapter

The WordPress MCP Adapter is the official plugin that turns a WordPress site into a Model Context Protocol server. It takes the abilities WordPress core and plugins register through the Abilities API and exposes them as tools that AI clients like Claude can discover and run.

Learn the term

Hardcoded secret

A hardcoded secret is a password, API key or access token written directly into a site's code or files. If that code reaches a browser or a public repository, anyone can copy the secret and use your account.

Learn the term

Want this done for you?

Connecting a tool to WordPress? Book a call and I'll help you set up access safely.

Twenty minutes and nothing to sign. The three changes are yours to keep either way.

Book a 20-minute call