{"id":240,"date":"2026-11-18T14:15:40","date_gmt":"2026-11-18T14:15:40","guid":{"rendered":"https:\/\/docs.latw.ai\/uncategorized\/mcp-server-4\/"},"modified":"2026-11-18T14:15:40","modified_gmt":"2026-11-18T14:15:40","slug":"mcp-server-4","status":"publish","type":"post","link":"https:\/\/docs.latw.ai\/pl\/latw-for-translatepress\/mcp-server-4\/","title":{"rendered":"Translating from Claude and ChatGPT (MCP)"},"content":{"rendered":"<p><em>Available in LATW AI Translation for TranslatePress <strong>PRO<\/strong>.<\/em><\/p>\n<p>Everywhere else in this plugin, translating means sending your text to an AI engine and paying that<br \/>\nengine for the answer. The MCP server turns that around. You connect your site to the AI assistant<br \/>\nyou already use \u2014 Claude or ChatGPT \u2014 and translate from inside the conversation. The assistant<br \/>\nwrites the translation; the plugin puts it into TranslatePress.<\/p>\n<p><strong>There is no API bill.<\/strong> No key is used, no engine is called, and every translation made this way<br \/>\nshows a cost of $0.00 on the History screen. You are using the subscription you already pay for.<\/p>\n<p>MCP \u2014 Model Context Protocol \u2014 is the standard those assistants use to talk to outside systems.<br \/>\nSwitching the server on gives the assistant a set of tools: find untranslated pages, take one for<br \/>\ntranslation, send the translation back, look something up in your glossary.<\/p>\n<p>The assistant fills in only text that <strong>has no translation yet<\/strong>. It cannot overwrite an existing<br \/>\ntranslation, and it never touches a correction you made in TranslatePress&#8217;s editor.<\/p>\n<p>In practice a session looks like this:<\/p>\n<blockquote>\n<p><strong>You:<\/strong> What still needs translating into German?<\/p>\n<p><strong>Claude:<\/strong> Eleven pages still have untranslated German text. The most recently edited are <em>About<\/em>,<br \/>\n<em>Shipping &amp; Returns<\/em> and <em>Our Suppliers<\/em>.<\/p>\n<p><strong>You:<\/strong> Do the three of them.<\/p>\n<p><strong>Claude:<\/strong> <em>(takes each page, translates it, sends it back)<\/em> All three are translated and live.<br \/>\n<em>About<\/em> is at \/de\/about\/.<\/p>\n<\/blockquote>\n<h2>What you need before you start<\/h2>\n<ul>\n<li>An active <strong>PRO licence<\/strong>.<\/li>\n<li><strong>TranslatePress<\/strong>, with at least two languages set up, as for any other translation this plugin<br \/>\nmakes.<\/li>\n<li><strong>HTTPS.<\/strong> Assistants run on someone else&#8217;s servers and will not connect to an unencrypted site.<\/li>\n<li>A <strong>Claude<\/strong> or <strong>ChatGPT<\/strong> plan that allows custom connectors. On ChatGPT that means Plus, Pro,<br \/>\nBusiness, Enterprise or Edu \u2014 the free tier cannot add one.<\/li>\n<\/ul>\n<h2>Switching it on<\/h2>\n<ol>\n<li>Go to <strong>AI Translation \u2192 Settings \u2192 MCP<\/strong>.<\/li>\n<li>Turn on <strong>MCP server<\/strong>.<\/li>\n<li>Press <strong>Generate token<\/strong>. The token is the password to this door \u2014 anyone holding it can read and<br \/>\ntranslate your site&#8217;s content.<\/li>\n<li>Decide what the assistant may reach, under <strong>What the assistant may do<\/strong>. <strong>Pages<\/strong> are always<br \/>\navailable. <strong>Status and costs<\/strong> and the <strong>Glossary<\/strong> are on by default; <strong>Strings<\/strong> \u2014 the String<br \/>\nTranslation list, with menus, widgets, footers and theme and plugin text \u2014 is off until you want<br \/>\nit.<\/li>\n<li>Press <strong>Save Changes<\/strong>, then <strong>Test connection<\/strong>. That check calls the server the same way an<br \/>\nassistant would and tells you plainly if something between the internet and WordPress is in the<br \/>\nway.<\/li>\n<\/ol>\n<p>The screen then shows two addresses. Which one you use depends on the application.<\/p>\n<h2>Connecting Claude<\/h2>\n<p><strong>Claude Desktop and claude.ai.<\/strong> Open <strong>Settings \u2192 Connectors \u2192 Add custom connector<\/strong>, give it a<br \/>\nname, and paste the <strong>Address (token in URL)<\/strong> from the MCP tab. Press <strong>Show<\/strong> next to the field<br \/>\nfirst \u2014 the screen masks it until you do. There is nothing else to fill in: the token is part of the<br \/>\naddress.<\/p>\n<p><strong>Claude Code.<\/strong> The MCP tab shows the exact command, ready to copy:<\/p>\n<pre><code>claude mcp add my-site https:\/\/example.com\/wp-json\/latw-mcp\/v1\/http --transport http --header \"Authorization: Bearer YOUR_TOKEN\"<\/code><\/pre>\n<p>Run it in a terminal, then <code>\/mcp<\/code> inside Claude Code to confirm the site is listed.<\/p>\n<h2>Connecting ChatGPT<\/h2>\n<p>Custom connectors are hidden until you switch developer mode on, so this is two trips into Settings.<\/p>\n<p><strong>First, switch developer mode on.<\/strong> Open <strong>Settings \u2192 Security and login<\/strong>, find <strong>Developer mode<\/strong><br \/>\nand turn it on.<\/p>\n<p><strong>Then add the connector.<\/strong> Open <strong>Settings \u2192 Plugins \u2192 Browse plugins<\/strong> and press the <strong>+<\/strong> in the<br \/>\ntop right corner. Fill the form in:<\/p>\n<ul>\n<li><strong>Name<\/strong> \u2014 whatever you want to see in the conversation, for example your site&#8217;s name.<\/li>\n<li><strong>Address<\/strong> \u2014 the <strong>Address (token in URL)<\/strong> from the MCP tab.<\/li>\n<li><strong>Authentication<\/strong> \u2014 <strong>No Auth<\/strong>. The token is already part of the address, so there is nothing<br \/>\nelse to fill in.<\/li>\n<li>Tick <strong>I understand and want to continue<\/strong>, then press <strong>Create<\/strong>.<\/li>\n<\/ul>\n<p>ChatGPT loads the connector, which takes a moment, and then shows <strong>Connect<\/strong>. Press it, and the<br \/>\nsite&#8217;s tools are available in the conversation.<\/p>\n<h2>Asking for a translation<\/h2>\n<p>Once connected, ask in plain language. The assistant has the tools; you do not need to name them.<\/p>\n<ul>\n<li><em>&#8220;Which pages still have untranslated French text?&#8221;<\/em><\/li>\n<li><em>&#8220;Translate the About page into German and French.&#8221;<\/em><\/li>\n<li><em>&#8220;The pricing page changed \u2014 translate the new text into Polish.&#8221;<\/em><\/li>\n<li><em>&#8220;Show me the German version of the pricing page \u2014 does it read naturally?&#8221;<\/em><\/li>\n<li><em>&#8220;Translate the untranslated menu and footer text into Polish.&#8221;<\/em> (needs <strong>Strings<\/strong>)<\/li>\n<li><em>&#8220;How much have translations cost this month?&#8221;<\/em><\/li>\n<li><em>&#8220;What was the last thing translated?&#8221;<\/em><\/li>\n<\/ul>\n<p>Languages are named the way TranslatePress names them \u2014 <code>de_DE<\/code>, <code>pl_PL<\/code> \u2014 but the assistant sorts<br \/>\nthat out; &#8220;German&#8221; or &#8220;de&#8221; is fine in the conversation.<\/p>\n<p>The translation is written into TranslatePress exactly where the plugin would have written it. It<br \/>\nappears in <strong>AI Translation \u2192 History<\/strong>, on the front end, and in TranslatePress&#8217;s editor, where you<br \/>\ncan correct it like any other translation.<\/p>\n<p><strong>TranslatePress has to have seen the page.<\/strong> It collects a page&#8217;s text the first time the page is<br \/>\nopened in one of your translated languages. A page nobody has opened that way has nothing to<br \/>\ntranslate yet \u2014 open it once, and the assistant can take it.<\/p>\n<p>When a page is already partly translated, the assistant can ask for the translated part as<br \/>\nreference, so the new text matches it. Whether that happens by default follows<br \/>\n<strong>Settings \u2192 Translation \u2192 Outdated Translations<\/strong> \u2014 see <em>Updating Outdated Translations<\/em>.<\/p>\n<h2>Reviewing a translation<\/h2>\n<p>Ask to see a page, and the assistant reads every string TranslatePress has for it, beside its<br \/>\ntranslation, and whether that translation came from a machine or was corrected by hand:<\/p>\n<blockquote>\n<p><strong>You:<\/strong> Show me the Polish About page next to the original.<\/p>\n<p><strong>Claude:<\/strong> <em>(lists each string)<\/em> The heading is &#8220;O nas&#8221; (machine), the intro is \u2026 (corrected by<br \/>\nhand), the button has no translation yet.<\/p>\n<\/blockquote>\n<p><strong>Corrections are made in TranslatePress, not in the conversation.<\/strong> The assistant can only fill in<br \/>\ntext that has no translation yet, so it cannot change a line that is already translated. If it spots<br \/>\na line it would word differently, it can tell you \u2014 open the page in TranslatePress&#8217;s editor and<br \/>\nchange it there, and your correction is permanent.<\/p>\n<h2>Page addresses<\/h2>\n<p>The assistant does not change URLs. Translated addresses are TranslatePress&#8217;s job, and only with its<br \/>\n<strong>SEO Pack<\/strong> add-on, which translates slugs through the engine selected in TranslatePress.<\/p>\n<h2>What it will not do<\/h2>\n<p>Be clear about this before you promise it to anyone:<\/p>\n<ul>\n<li><strong>It is not bulk translation.<\/strong> The assistant works page by page, in a conversation, and long<br \/>\npages use up a lot of it. For dozens of posts, use <strong>Automatic Translation<\/strong> and pay the API bill \u2014<br \/>\nthat is what it is for. This is for the pages you care about individually.<\/li>\n<li><strong>The quality is the assistant&#8217;s, not the plugin&#8217;s.<\/strong> Your <strong>Translation Prompt<\/strong> and <strong>Website<br \/>\nDescription<\/strong> are handed over as guidance, but nothing enforces them. An assistant that decides to<br \/>\nparaphrase will paraphrase.<\/li>\n<li><strong>The glossary is advice here, not a rule.<\/strong> Your terms are sent with every job and assistants<br \/>\nfollow them well, but the plugin cannot check the result the way it does on its own pipeline.<\/li>\n<li><strong>It cannot rewrite what is already translated<\/strong> \u2014 see <em>Reviewing a translation<\/em> above.<\/li>\n<li><strong>A conversation can stop halfway.<\/strong> If it does, the page is left with an open job. Ask the<br \/>\nassistant to <em>&#8220;list open translation jobs&#8221;<\/em> and either finish or cancel them; open jobs also show<br \/>\nas <code>awaiting_mcp<\/code> on the History screen.<\/li>\n<li><strong>It is off while the site is connected to LATW Cloud.<\/strong> LATW Cloud then translates everything<br \/>\nthe site sends, so the <strong>MCP<\/strong> tab shows a notice instead of its settings, and an assistant that<br \/>\ncalls the server is told it is not available. Your token and settings are kept and work again<br \/>\nafter you disconnect.<\/li>\n<li><strong>One token for the whole site.<\/strong> There is no per-person access and no list of connected<br \/>\napplications. Generating a new token disconnects everything using the old one.<\/li>\n<\/ul>\n<h2>About the token<\/h2>\n<p>The token is shown masked, and <strong>Show<\/strong> reveals it \u2014 you will need to read it back when you connect<br \/>\na second application.<\/p>\n<p>The two addresses differ in more than convenience. The one with the token in the URL is the easy<br \/>\none, and it is what Claude Desktop and ChatGPT need, but a secret in an address ends up in your<br \/>\nserver&#8217;s access logs and in the browser history of whoever pasted it. The address using the<br \/>\n<code>Authorization<\/code> header keeps the token out of both, and is worth using wherever the application<br \/>\nsupports it.<\/p>\n<p>Either way: treat the token like an administrator password, and press <strong>Generate a new token<\/strong> the<br \/>\nmoment you think someone else has seen it.<\/p>\n<p>The connected assistant acts as the WordPress user who generated the token, with that user&#8217;s<br \/>\npermissions. If that account is deleted or loses its administrator role, the token stops working.<\/p>\n<h2>When something goes wrong<\/h2>\n<p><strong>Test connection<\/strong> on the MCP tab is the first thing to try \u2014 it separates &#8220;the plugin is fine and<br \/>\nyour assistant is misconfigured&#8221; from &#8220;nothing can reach this site at all&#8221;.<\/p>\n<table>\n<thead>\n<tr>\n<th>What you see<\/th>\n<th>What it usually means<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>The assistant says it cannot reach the server<\/td>\n<td>The address is wrong, the server is switched off, or the site is not on HTTPS.<\/td>\n<\/tr>\n<tr>\n<td>Test connection says the token did not arrive<\/td>\n<td>Your host strips the <code>Authorization<\/code> header before PHP sees it. Use the address with the token in the URL instead.<\/td>\n<\/tr>\n<tr>\n<td>Test connection cannot reach the site at all<\/td>\n<td>A firewall or a security plugin is blocking <code>\/wp-json\/<\/code>. Allow <code>\/wp-json\/latw-mcp\/<\/code> through.<\/td>\n<\/tr>\n<tr>\n<td>A 404 from the address<\/td>\n<td>The server is switched off, or the licence is not active.<\/td>\n<\/tr>\n<tr>\n<td>A 401<\/td>\n<td>The token is wrong \u2014 copy it again from the MCP tab.<\/td>\n<\/tr>\n<tr>\n<td>The assistant lists no tools<\/td>\n<td>The licence expired, or every tool group was switched off.<\/td>\n<\/tr>\n<tr>\n<td>Rows stuck at <code>awaiting_mcp<\/code><\/td>\n<td>A conversation ended mid-job. Ask the assistant to list and cancel open jobs.<\/td>\n<\/tr>\n<tr>\n<td>&#8220;Nothing to translate&#8221; for a page you know is untranslated<\/td>\n<td>TranslatePress has not collected the page yet. Open it once in that language.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The <strong>AI Translation \u2192 Logs<\/strong> page records what happened on this site&#8217;s side, and<br \/>\n<strong>Settings \u2192 Advanced \u2192 Debug Mode<\/strong> adds the detail.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Available in LATW AI Translation for TranslatePress PRO. Everywhere else in this plugin, translating means sending your text to an AI engine and paying that engine\u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_latwm_translated_slug":"","footnotes":""},"categories":[19],"tags":[],"class_list":["post-240","post","type-post","status-publish","format-standard","hentry","category-latw-for-translatepress"],"_links":{"self":[{"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/posts\/240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/comments?post=240"}],"version-history":[{"count":0,"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/posts\/240\/revisions"}],"wp:attachment":[{"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/media?parent=240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/categories?post=240"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/tags?post=240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}