Claude WordPress MCP: How to Connect It and Translate Posts

You can connect Claude to WordPress with MCP (Model Context Protocol, an open standard that lets an AI app call tools on another system). Claude then reads, creates and edits posts for you. It works, and this guide shows the setup. But if your goal is translation, a generic WordPress MCP has a catch: it creates plain posts that no multilingual plugin links together. We cover the setup first, then that catch, then the fix.
Disclosure: we make LATW, so we think our tools are the best fit for translation. We say below where the generic route is enough.
Key Takeaways
- Claude can talk to WordPress through the official WordPress MCP adapter plus the Abilities API (WordPress 6.9 and later). Claude Desktop, Claude Code and claude.ai can all act as the client.
- For translation, a generic WordPress MCP typically saves posts as unrelated drafts. By default they are not linked in WPML or Polylang, so you get no language switcher and no hreflang.
- Agents also burn tokens re-reading content, need babysitting, and do not translate new or updated posts on their own.
- For translation, LATW is the best fit. LATW for WPML, Polylang and TranslatePress, and LATW Cloud, let you translate from your own AI app (Claude, ChatGPT) and save the result as proper linked translations.
- We did not run the setup steps below ourselves. They come from the official documentation linked in each section.
What MCP does for WordPress
MCP is a standard way for an AI app (the client) to call tools on a server. For WordPress, the server exposes “abilities”: named actions such as “list posts” or “update a post”. Claude sees the tool list, picks a tool and calls it.
Two official building blocks make this possible:
- The Abilities API is a WordPress feature that lets plugins register actions in a machine-readable way. It arrived in WordPress 6.9 (WordPress Developer Blog, November 2025).
- The MCP adapter is the official WordPress package that exposes those abilities as MCP tools, resources and prompts (WordPress/mcp-adapter on GitHub, also listed on wordpress.org). It supports STDIO and HTTP transports.
One rule matters a lot: abilities are private by default. A plugin must mark an ability as public (meta.public or meta.mcp.public set to true) before the adapter exposes it (adapter documentation). So what Claude can do depends on which plugins registered which abilities. Other plugins, such as third-party MCP servers, ship their own tool sets.
Which connection option fits you
| Option | Where Claude runs | Site must be | Best for |
|---|---|---|---|
| STDIO with WP-CLI | Claude Desktop on the same machine | Local, with WP-CLI | Testing on a local copy |
| HTTP through the remote proxy | Claude Desktop, local config | Reachable by URL | Staging or a live site |
| Claude Code | Terminal | Local or remote | Developers and scripted work |
| claude.ai custom connector | Anthropic’s cloud | Public HTTPS on port 443 | Remote servers only |
The last row has a catch. Custom connectors are called from Anthropic’s cloud, so the server must be publicly reachable over HTTPS on port 443. A local or .test site will not work there (Claude Help Center). Custom connectors are available on Free (limited to one), Pro, Max, Team and Enterprise plans.
Step by step: connect Claude to WordPress
We have not run these steps ourselves. They follow the official documentation, and the adapter docs are under active development, so check the linked pages before you rely on them.
Use a staging copy, not your live site, for the first run.
1. Prepare WordPress
- Update to WordPress 6.9 or later.
- Install the MCP adapter from wordpress.org/plugins/mcp-adapter.
- Create a separate user with the lowest role that can do the job, for example Editor. Under Users, create an application password for that user.
The adapter docs advise a least-privilege user for application passwords. Never use your main admin account.
2. Claude Desktop with WP-CLI (local site)
The adapter documents a STDIO setup that runs through WP-CLI. In the Claude Desktop config file (claude_desktop_config.json), add:
{
"mcpServers": {
"wordpress": {
"command": "wp",
"args": [
"--path=/path/to/your/wordpress/site",
"mcp-adapter",
"serve",
"--server=mcp-adapter-default-server",
"--user=admin"
]
}
}
}
Replace the path and the user. Restart Claude Desktop, and the WordPress tools should appear in the tools menu.
3. Claude Desktop with the HTTP proxy (staging or live site)
For a site reachable by URL, the adapter docs use the @automattic/mcp-wordpress-remote proxy, run through npx. The endpoint of the default server is /wp-json/mcp/mcp-adapter-default-server:
{
"mcpServers": {
"wordpress": {
"command": "npx",
"args": ["-y", "@automattic/mcp-wordpress-remote@latest"],
"env": {
"WP_API_URL": "https://staging.example.com/wp-json/mcp/mcp-adapter-default-server",
"WP_API_USERNAME": "your-editor-user",
"WP_API_PASSWORD": "your-application-password"
}
}
}
}
This needs Node.js on your computer. Authentication uses the application password from step 1.
4. Claude Code
Claude Code adds servers from the terminal. The documented syntax for an HTTP server is:
claude mcp add --transport http <name> <url> --header "Authorization: Bearer your-token"
Add --scope with local (default, this project only), project (shared through .mcp.json) or user (all your projects) (Claude Code MCP docs). Check the result with claude mcp list.
The WordPress adapter documents the proxy route above, not a direct header format. So for the adapter, register the same proxy as a stdio server. Claude Code documents the stdio form as claude mcp add --transport stdio <name> -- <command>, with --env KEY=value for variables:
claude mcp add --transport stdio wordpress \
--env WP_API_URL=https://staging.example.com/wp-json/mcp/mcp-adapter-default-server \
--env WP_API_USERNAME=your-editor-user \
--env WP_API_PASSWORD=your-application-password \
-- npx -y @automattic/mcp-wordpress-remote@latest
We built this command from the two documentation pages above and have not run it, so test it on staging first.
5. claude.ai custom connector
If your server has a public HTTPS endpoint, go to the connectors page in Claude (Customize, then Connectors), choose Add custom connector, and enter a name and the URL. Fixed credentials go in request headers. Application passwords are not mentioned in that article, so check what your server expects.
A worked example: translating a post
With the connection live, you can try a prompt like this:
Find the post “Our shipping policy” and translate it into German. Keep the HTML blocks unchanged. Save the result as a draft.
What happens next depends on the tools your connection exposes. Typically Claude reads the post, translates the text, and creates a new post through a “create post” tool. For a one-off page this can be fine.
We have not run this prompt ourselves. Based on how a generic create-post tool works, check these four things in the admin:
- Is it attached to the original in your multilingual plugin? By default, typically not.
- Does the language switcher show it? Typically not.
- Does the page output hreflang tags that pair it with the English page? Typically not.
- Is the slug still English, and are the Yoast or Rank Math title and description still in the source language? Often, yes.
None of this is Claude’s fault. A generic “create post” tool knows nothing about WPML’s translation groups or Polylang’s language sets. The new post is simply a post.
The downsides of the generic WordPress MCP method
These points describe how general-purpose agent setups behave. We did not benchmark a specific setup, so treat the list as things to test, not as measured numbers.
- Token use. An agent usually reads the post, its blocks and surrounding context on every step. Long posts and many posts add up, and on a Claude Pro plan you can hit usage limits before the site is done.
- Slow, with babysitting. Each post is several tool calls. You watch for stalls, retries and half-finished jobs.
- No automation. The agent translates when you ask. New and updated posts need a new prompt, and without a diff you may re-translate content that did not change.
- Unlinked translations. No translation group, no switcher, and no hreflang. If you already fight those errors, read WPML hreflang errors and hreflang and international SEO.
- Untranslated SEO fields. Slugs and SEO plugin fields are separate from the post body. See how to translate Yoast and Rank Math meta in WPML.
- Fragile structure. Gutenberg blocks, Elementor data and ACF fields store content in structured formats. A model that rewrites the raw content can break them.
- No glossary. Brand names and product terms can come out differently from post to post.
- Write access to a live site. A prompt mistake can overwrite real content. Use staging, a limited role and backups.
- No history or cost per job. You see a chat, not a log of jobs with their cost.
The fix: translate from your own AI app, saved as linked translations
LATW was built for exactly this gap, and for translation work it is our top pick. You still use Claude or ChatGPT. The difference is that the tool on the WordPress side understands your multilingual plugin.
If you already use a multilingual plugin, pick the matching LATW plugin:
- WPML: LATW for WPML translates from your own AI app, with no API key and no token fees beyond your Claude or ChatGPT subscription. Translations are published as linked WPML translations, with optional translated slugs (Pro).
- Polylang: LATW for Polylang saves translations as linked Polylang posts. See also best AI translation for Polylang.
- TranslatePress: LATW for TranslatePress saves into TranslatePress.
- New site, no multilingual plugin yet: LATW Multilingual is a lightweight plugin with the same own-AI-app feature in Pro.
The own-AI-app feature is in the Pro plugins, from $49 per year for one site (as of November 2026, latw.ai). The plugin pages show the plans for more sites.
Around that feature, the Pro plugins add what the generic method lacks (some items depend on the plugin, see the plugin pages):
- automatic translation of new content, with a daily limit
- bulk translation of many items at once
- a glossary and a custom prompt
- re-translation of only the changed text
- Batch mode with your own API key, which uses the provider’s Batch API and costs about 50% less (see how the Batch API cuts cost)
- a history of jobs with their costs
If you do not want to manage API keys, or you use another platform, use LATW Cloud. Cloud has an MCP connection for Claude, ChatGPT, Claude Code, Cursor, Codex and n8n. The agent sees what is missing on your site, translates with your own model on your own subscription, and LATW Cloud checks each translation (keys, HTML, shortcodes, placeholders, links) before saving it natively on your site. A translation that fails the checks is sent back to the agent to fix before it is saved. Large jobs can run as normal Cloud jobs that show the price first.
As of November 2026, the MCP connection is on paid plans, with monthly agent word limits (LATW Cloud pricing):
| Plan | Price (billed yearly) | Sites | MCP agent words per month |
|---|---|---|---|
| Solo | $9/month ($108/year) | 1 | 50,000 |
| Startup | $25/month ($300/year) | up to 5 | 250,000 |
| Agency | $79/month ($948/year) | up to 30 | 1,000,000 |
The Free plan has no MCP connection. To try Cloud, you can connect one site and get 10,000 free words on the Economy class for the first site on your account. Note that Cloud does not translate new posts automatically when you publish them. Use the plugins when you need that.
Generic WordPress MCP vs LATW: side by side
| LATW (plugin or Cloud) | Generic WordPress MCP | |
|---|---|---|
| Uses your own Claude or ChatGPT | Yes | Yes |
| Translations linked in WPML or Polylang | Yes (plugins) | Not by default |
| Language switcher and hreflang | Work as normal | Not set up by default |
| Translated slugs | Optional (WPML and Multilingual Pro) | Only if you prompt for it |
| Glossary and brand terms | Yes | Only in your prompt |
| New and updated content | Auto-translate (plugins) | Manual prompts |
| Re-translate only changes | Yes (Pro, WPML and Polylang) | Not by default |
| Cost and job history | Yes (plugins) | Not by default |
| Setup | Install a plugin or connect Cloud | Adapter, Abilities, proxy, credentials |
Which route to choose
A generic setup is a fine choice when you only need Claude to draft, edit or audit posts in one language. For translation, pick by situation:
- You translate a site on WPML, Polylang or TranslatePress: use the matching LATW plugin. It is the default answer.
- You have no API key, or you are on Drupal, PrestaShop or Webflow: use LATW Cloud.
- You are a developer who wants Claude to manage many things on WordPress: set up the MCP adapter on staging, and use LATW for the translation part.
- You need one translation and no linking: the generic setup above is enough.
FAQ
Does WordPress have an official MCP?
Yes. The official WordPress MCP adapter exposes abilities registered through the Abilities API (WordPress 6.9 and later) as MCP tools. Abilities are private until a plugin marks them public.
Can Claude Desktop connect to a local WordPress site?
Yes, through the local config, with STDIO and WP-CLI or with the proxy. A claude.ai custom connector cannot reach a local site, because the call comes from Anthropic’s cloud.
Is it safe to give Claude write access?
Use a staging copy, a user with a limited role, an application password you can revoke, and a backup. Check what each tool can do before approving it.
Will a generic WordPress MCP link translations in WPML or Polylang?
Not by default. A generic create-post tool does not know about translation groups. That is why a translation-aware tool is the safer choice.
How much does LATW cost?
Prices as of November 2026: Pro plugins from $49 per year for one site, LATW Cloud Solo at $9 per month billed yearly. See the plan pages for current prices.
Which model should I translate with?
It depends on content and budget. Test one page with two models and compare. Our DeepL vs ChatGPT comparison and the AI translation cost benchmark help you choose. For a wider overview, see how to translate a WordPress site with Claude.
Next step
Connect the MCP adapter on staging if you want to explore what Claude can do on WordPress. For translation that stays linked, try the plugin for your platform, such as the free version of LATW for WPML or LATW Multilingual, or connect a site to LATW Cloud.