Polylang MCP · Free and Pro
Polylang MCP: run your multilingual site from a prompt.
A Polylang MCP server lets an AI agent set the language of new posts, find pages with no counterpart and keep translation links right while it writes content. WP MCP works through Polylang's own functions, and Polylang is the multilingual path verified against a live install.
Self-hosted · snapshot before every write · one-click undo
› Make a French draft of the Shipping page and translate it
create-translation linked fr draft, terms mapped
get-page-text 48 segments, content hash
apply-page-text 48 segments written, one snapshot
✓ French draft ready for review. rollback-operation undoes the text.
What it is
What a Polylang MCP server does.
Polylang stores multilingual data as ordinary WordPress taxonomies: a post's language is a term, and a translation group is a term listing one post per language. That makes it a clean fit for an agent. A Polylang MCP server lets it read and set those assignments directly, instead of someone working through the languages column post by post.
With WP MCP Pro the agent can go further: list the pages missing a language, copy one into a linked draft with its terms and featured image mapped, read its text as numbered segments and write the translation back. Theme and plugin strings registered with Polylang can be read and, once the site opts in, translated too.
Read and change
What WP MCP can read and change in Polylang.
It can read
- Polylang languages, with the default marked
- A post's translation set, keyed by language code
- With Pro: posts with no translation into a language
- With Pro: a page's text as segments, and string groups with what is missing per language
It can change
- Set a post's language, exactly undoable
- Link posts as translations of each other
- With Pro: create a linked translated draft and write its text
- With Pro: translate Polylang theme and plugin strings (opt-in)
These are the real ability and operation names the agent calls. ThePolylang AI agent tool reference page lists the calls in detail.
Example prompts
Three things to ask first.
These three imported posts have no language. Set them to French.
Which published pages have no Spanish version yet?
Which theme strings are still missing a German translation?
Safety
Every Polylang write has a way back.
A Polylang language is a taxonomy term on the post, so the post snapshot captures it and rollback-operation restores set-post-language exactly. link-post-translations snapshots the primary post in the list, not the others. In Pro, apply-page-text is one snapshotted change, and update-strings is snapshotted on the language term that holds Polylang's string translations.
Snapshot before every write
No tool that writes can skip it. The before-state is saved first, the change is applied second.
One-click undo
Restore a single change with rollback-operation or a whole agent run with rollback-session, from the agent or from wp-admin.
The source page stays as it was
Polylang can sync meta and terms across a translation group. WP MCP holds that sync off while it writes a translation, so a translated draft cannot push changes back into the original.
Free or Pro
Free, with more on Pro.
The four language tools (list-languages, get-post-translations, set-post-language and link-post-translations) are in the free plugin. WP MCP Pro adds page translation (find-missing-translations, get-page-text, create-translation, apply-page-text) and Polylang string translation (list-string-domains, get-strings, update-strings), plus unlimited snapshot history with an active licence; the free plugin keeps the last 20.
WP MCP Pro starts at $49 a year for one site. See pricing for what each tier includes.
How to connect
Connect Polylang MCP in four steps.
- 01Install WP MCP
Upload the free wpmcp plugin and activate it. It needs WordPress 6.9 or newer and PHP 8.1 or newer, and it runs entirely on your own server.
- 02Check the requirement
Polylang active. Page and string translation need WP MCP Pro.
- 03Connect your client
Add the site to Claude Code, Claude Desktop, Cursor or any MCP client with a WordPress application password, or the WP-CLI stdio bridge locally. OAuth 2.1 with full or read-only access is there too, once the site owner switches it on.
- 04Ask for the change
Describe what you want done in Polylang. WP MCP snapshots the target, makes the change, and leaves a Restore button next to it in wp-admin.
Step-by-step guides: Claude,Claude Code andCursor. The docscover the safety model in full.
Frequently asked
Polylang MCP: questions, answered.
What is Polylang MCP?
It is Polylang's language and translation model made readable and writable by AI agents over the Model Context Protocol. WP MCP lets Claude, Cursor or any MCP client set post languages, link translations and, with Pro, translate pages and strings.
Is Polylang MCP free?
The four language tools are free. Page translation and Polylang string translation are Pro operations, and string writes stay off until the site opts in with the wpmcp_enable_string_translation_write filter.
Is this the same as Polylang AI translation?
No. Here the model you connect, such as Claude, does the translating: with Pro it reads a page's text, makes a linked draft and writes the translation back through Polylang's own data. It is separate from any automatic translation built into Polylang, and the result is a draft you review before publishing.
Which content does get-page-text cover?
The title, excerpt, SEO title and description when the SEO plugin keeps them in post meta, Elementor widget text, and block and classic content, as numbered segments. A content hash guards the write, so a page that changed since it was read is refused unless force is set.
Does the same setup work if I move to WPML?
Yes. The same tools run on WPML when it is the active plugin. Polylang is the path verified against a live install, WPML is best-effort against its public API, and string translation works with Polylang alone.
Does Polylang MCP work with Claude, Claude Code and Cursor?
Yes. Claude Code and Cursor connect to WP MCP over HTTP with a WordPress application password, and Claude Desktop uses the desktop bundle from the WP MCP Connection screen. Clients that can only sign in with OAuth, such as the claude.ai custom connector, need OAuth switched on first with one line in wp-config.php, because it ships off. Once connected, the Polylang tools are available in every client the same way.
Keep exploring
MCP for Polylang →
Manage multilingual content and translation links over MCP, free.
WPML MCP →
A WPML MCP server lets an AI agent see which languages a post exists in and fix the links between translations, without opening the WPML language box on every post.
TranslatePress MCP →
A TranslatePress MCP server lets an AI agent see which strings in a language are untranslated or only machine translated, and fill them in.
Weglot MCP →
A Weglot MCP server lets an AI agent answer the questions you would otherwise check in two places: which languages the site is translated into, which are private, what is excluded and whether the project is connected at all.
ACF MCP →
An ACF MCP server lets an AI agent understand your content model and work with it: see which fields a post type has, fill them in, or add a new field group.
Browse all integrations, comparefree and Pro, read the docs, or see how the WordPress MCP server works.