Get the plugin
WP MCP/Integrations/Weglot MCP

Weglot MCP · Pro

Weglot MCP: check your Weglot setup from a prompt.

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. WP MCP reads that from the Weglot plugin in one call and never returns the API key.

Self-hosted · snapshot before every write · one-click undo

What it is

What a Weglot MCP server does.

Weglot keeps a site's languages, exclusions and translations in its cloud project. The WordPress plugin reads the settings back through its own options API, cached from Weglot's CDN. A Weglot MCP server turns that into one answer an agent can reason about, which helps when it is auditing a site, working out why a page is not translated, or writing content that should stay in one language.

The operation is read only by design. Changing a Weglot language or exclusion is a remote write to the Weglot project that no local snapshot could undo, and it can change the plan's word usage, so those changes stay in the Weglot dashboard.

Read and change

What WP MCP can read and change in Weglot.

It can read

  • The original language and every destination language, with custom codes and names
  • Which languages are public and which are private
  • Excluded URLs with their match type, languages and behavior
  • Excluded blocks
  • Whether the project is connected, its translation engine and auto redirect

It can change

  • Nothing. Languages, exclusions and translations are changed in the Weglot dashboard
plugin-data-readweglot-get-settings

These are the real ability and operation names the agent calls. TheWeglot AI agent tool reference page lists the calls in detail.

Example prompts

Three things to ask first.

Which languages does Weglot translate this site into, and are any private?

List every URL and block excluded from Weglot translation.

Is Weglot connected here, and is auto redirect on?

Safety

Every Weglot write has a way back.

There is nothing to undo because nothing is written. The operation runs at manage_options, answers plugin_missing or plugin_inactive when Weglot is not active, and reports whether an API key is set, never the key itself.

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.

Your API key stays private

The status block says connected true or false. The Weglot API key is never part of the response.

Free or Pro

Part of WP MCP Pro.

Weglot support is one WP MCP Pro operation, weglot-get-settings, on the plugin-data pair, so it adds no new top-level tool. It only reads, so snapshot history does not come into it. The free plugin includes the Polylang and WPML language tools and TranslatePress support.

WP MCP Pro starts at $49 a year for one site. See pricing for what each tier includes.

How to connect

Connect Weglot MCP in four steps.

  1. 01
    Install 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.

  2. 02
    Check the requirement

    Weglot active. Needs WP MCP Pro.

  3. 03
    Connect 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.

  4. 04
    Ask for the change

    Describe what you want done in Weglot. 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

Weglot MCP: questions, answered.

What is Weglot MCP?

It is Weglot's language and exclusion settings made readable by AI agents over the Model Context Protocol. WP MCP lets Claude, Cursor or any MCP client read the original and destination languages, excluded URLs and blocks, and whether the project is connected.

Is Weglot MCP free?

No. weglot-get-settings is a WP MCP Pro operation. The free plugin covers the Polylang and WPML language tools and TranslatePress.

Can an AI agent translate my Weglot content?

Not through this integration. Weglot keeps translations in its cloud project, not in WordPress, so the agent can read the settings but cannot write translated text, and Weglot's own automatic translation runs inside Weglot. If you want the model you connect to do the translating, TranslatePress, Polylang and WPML keep their translations in WordPress, where the agent can work on them.

Why can the agent not change Weglot settings?

Because they live in Weglot's cloud project. A change there is a remote write that no local snapshot can undo, and it can affect the plan's word usage, so the operation reads and points you to the Weglot dashboard.

What does it report when Weglot is not connected?

The status block shows connected as false when no API key is set, alongside whether the project is allowed, the translation engine and auto redirect. If the Weglot plugin itself is not active, the operation answers plugin_missing or plugin_inactive.

Does Weglot 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 Weglot tools are available in every client the same way.

Point your AI agent at Weglot.