Skip to content

Connect your AI

Localeo runs a hosted MCP server. Connect your AI assistant to it and the assistant can read a project, find what is missing or outdated, import strings in any language, and, when you ask, publish a release.

https://mcp-dev.localeo.app

There is nothing to install. You paste that URL into your assistant, sign in to Localeo, pick a project and click Allow. You need a Localeo account and a project where you are a manager or developer; if you do not have one yet, sign up at Localeo first.

Signing in is how most people should connect. Nothing to copy and no token to keep safe: the client receives short-lived credentials and renews them itself.

  1. Add https://mcp-dev.localeo.app to your client. The exact place depends on the client; see below.

  2. Sign in to Localeo in the browser window the client opens.

  3. Pick one project. The list holds the projects where you are a manager or developer, the same people who may create an API token by hand. One connection is one project. To give an assistant two projects, add the server twice, under two names, and connect each.

  4. Choose what it may do: read & write, or read only. Then click Allow.

The consent page waits ten minutes. After that, start the connection again from the client.

In claude.ai or Claude Desktop, add a custom connector and give it this URL:

https://mcp-dev.localeo.app

Claude sends you to Localeo to sign in. Custom connectors are under Settings → Connectors. Which plans can add them is up to Anthropic.

Token header

For CI jobs, scripts and clients without a browser, skip the sign-in and send a project API token as a header:

Authorization: Bearer localeo_9fK2xY7pQ3mNvB8sL1tR4wZ6cD0aJ5hG2eU7iO9k

Create the token under Project → Integrations → API, with write scope if the assistant should import. A token does not expire, so treat it like a password: keep it out of any file you commit, and give each place that uses one its own.

Terminal window
claude mcp add --transport http localeo https://mcp-dev.localeo.app \
--header "Authorization: Bearer $LOCALEO_TOKEN"

To check a token against the server without a client:

Terminal window
curl -s "https://mcp-dev.localeo.app" \
-H "Authorization: Bearer $LOCALEO_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"curl","version":"0"}}}'

A working token gets a JSON-RPC result naming the server localeo. A bad one gets 401.

Tools

ToolNeedsWhat it doesREST twin
get_projectreadThe project: its id, name and base language.GET /projects
list_languagesreadEvery language on the project. Imports accept only these.GET /project-languages
search_translationsreadOne page of keys with their value in one language. Filters by untranslated, outdated, draft, in_review or approved, and by search text.GET /translations
get_keyreadOne key: its description, its placeholders, and its value and status in every language.GET /translation-keys/{key}
list_releasesreadPublished releases, newest first, 20 per page.GET /releases
import_translationswriteCreates keys and writes values in any of the project’s languages. Also how the assistant fixes a single value.POST /translations/import
create_keywriteCreates one key, with its description and source text.POST /translation-keys
update_keywriteRenames a key, or changes its description or source text. A new source text marks the other languages outdated; an approved one cannot be changed.PATCH /translation-keys/{key}
delete_keyswriteDeletes up to 1000 keys with their values in every language. A dry run unless dry_run is false.POST /translation-keys/delete
create_releasewriteCreates a release from the current translations, and publishes it too with publish: true.POST /releases
publish_releasewritePublishes a draft release.POST /releases/{release_id}/publish

Every tool calls the same code as its REST twin, so the API reference, Importing translations and Managing keys describe exactly what each one does.

A read-only connection does not get the write tools at all. They are not hidden behind a refusal: the server never offers them, so the assistant never proposes an action it cannot take.

What the assistant can do

The assistant can do what you can do in that project, and no more. A connection acts as the person who approved it, with that person’s role as it is now, checked again on every write:

  • A developer’s connection can create, rename and delete keys, write base-language values, and create and publish releases. Values in other languages come back as forbidden_language, and approved as forbidden_status.
  • A manager’s connection can also write every other language and mark values approved.

If you are later removed from the project, or your role changes to one that may not write, every write fails with token owner no longer has write access. Nothing has to be revoked for that to happen.

Reads are different. Only writes check your role, so the connection keeps reading the project until it is revoked. If you leave a project, revoke the connections you made to it, or ask a manager to.

On top of the role:

  • Existing values are skipped unless the assistant sends overwrite: true.
  • Approved values are never overwritten, by anyone, through any import.
  • Values are written as drafts unless the assistant says they are approved, which it is told to do only when you say they were reviewed.
  • Placeholders are stored exactly as sent. The assistant is told never to convert {{name}} to {name} or %s to anything else, because the value ships byte for byte to your app’s i18n library.
  • Deleting starts with a dry run. delete_keys deletes nothing unless the assistant sends dry_run: false. Its description tells the assistant to show you the keys and their translation counts first, and to delete only after you confirm. It is also marked as destructive, so most clients ask you before running it. Deleted keys disappear from your app at the next published release.
  • An approved source text is never changed. update_key refuses it, as the import does.
  • Imports fire no webhooks. Creating, updating and deleting a single key do, like the same action in the dashboard.
  • The audit log names you, as Ada Lovelace (token: Claude). After token: comes the client’s name, or a hand-made token’s own name.

To disconnect an assistant, open Project → Integrations → AI assistants, where every connection appears as a connected app, and choose Disconnect. Revoking takes effect on its next request.

Things to ask it

  • “Import locales/en.json and locales/nl.json into Localeo as drafts.”
  • “Which German strings are still missing? Translate them and import them as drafts.”
  • “Find every outdated French value and suggest updates from the current English.”
  • “We renamed cart to basket. Update every English value that still says cart.”
  • “Check the Dutch translations for placeholders that don’t match the English.”
  • “Delete the keys under onboarding.v1. Show me what would go first.”
  • “Create a release called March copy and publish it.”

Moving from another tool? Migrate with your AI walks through it.

Limits

Each connection or token may make about 5000 MCP requests per hour, counted separately from the REST API’s 1000. One task is many tool calls, so the MCP allowance is larger, and an assistant working through a migration does not use up your CI’s REST quota.

The headers and the 429 behave as on the REST API. MCP responses are never cached, so what a tool returns is always current.

Troubleshooting

What you seeWhy
The consent page lists no projectsYou are not a manager or developer on any project. Ask a manager to change your role, or to connect the assistant themselves.
The write tools are missingThe connection or token is read-only. Connect again and choose read & write, or use a write token.
token owner no longer has write accessThe person who connected the assistant, or created the token, was removed from the project or is no longer a manager or developer. Connect again as someone who is.
forbidden_language on every non-base valueThe connection belongs to a developer. Only a manager’s connection writes other languages.
unknown_languageThe project does not have that language. Add it in the dashboard. Imports never create languages.
The consent page says the request expiredMore than ten minutes passed. Start the connection again from the client.

For client developers

Everything a client needs to sign in is discoverable from a 401:

HTTP/1.1 401 Unauthorized
WWW-Authenticate: Bearer resource_metadata="https://mcp-dev.localeo.app/.well-known/oauth-protected-resource"
  • Transport: Streamable HTTP, stateless. Every request is a complete POST, answered with one JSON body. There are no sessions and no server-sent events.
  • Discovery: the protected-resource document (RFC 9728) is at https://mcp-dev.localeo.app/.well-known/oauth-protected-resource. The authorization server’s metadata (RFC 8414) is at https://mcp-dev.localeo.app/.well-known/oauth-authorization-server. The issuer is https://mcp-dev.localeo.app.
  • Grant: authorization code with PKCE, S256 only. Public clients only: the token endpoint and the revocation endpoint take no client authentication. Every authorization response carries iss (RFC 9207).
  • Authorization errors: the only automatic redirect from /oauth/authorize is to the consent page. An error found after your redirect_uri checked out is shown to the person as a page with a link back to your redirect_uri carrying error, error_description, state and iss; it is not a 302, because dynamic registration lets anyone register a redirect URI. Approving or denying on the consent page redirects as usual.
  • Client identification: a Client ID Metadata Document is preferred. Use your document’s https URL as the client_id. Its client_id must equal that URL exactly, and it is fetched without following redirects. Dynamic registration at /oauth/register (RFC 7591) is there for clients that only support that.
  • Redirect URIs: https; http to a loopback address, on any port; or a private-use scheme for a native app, either in reverse-domain form (com.example.app:/callback) or cursor, vscode or vscode-insiders.
  • Resource and scopes: the resource is https://mcp-dev.localeo.app, the root of the host and the only place the server answers. The scopes are read and write. The person signing in may grant less than the client asked for, never more.
  • Tokens: /oauth/token issues an access token valid for one hour and a refresh token valid for 90 days. Every refresh returns a new access token and a new refresh token, and the old ones stop working at once. Each new refresh token starts a fresh 90 days, so a connection in use never runs out, and one left unused for 90 days has to sign in again. Presenting a refresh token that was already used revokes the whole connection. Every code exchange and refresh also checks that the person who approved the connection still has an account and is still a manager or developer on the project; if not, the connection is revoked and the answer is invalid_grant. An expired or revoked access token gets a 401 whose WWW-Authenticate adds error="invalid_token". /oauth/revoke (RFC 7009) ends a connection from the client side.
  • Limits: /oauth/authorize and /oauth/register share an allowance of 300 requests per hour per IP address; past it they answer 429 with {"error": "temporarily_unavailable"}. The token and revocation endpoints are not limited by IP, since hosted clients call them from shared addresses. The discovery documents are not limited.

The access token is an ordinary localeo_ project token. That is why a connection shows up in the project’s token list, and why revoking it there ends it.