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.appThere 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.
Sign in (recommended)
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.
-
Add
https://mcp-dev.localeo.appto your client. The exact place depends on the client; see below. -
Sign in to Localeo in the browser window the client opens.
-
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.
-
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.appClaude sends you to Localeo to sign in. Custom connectors are under Settings → Connectors. Which plans can add them is up to Anthropic.
claude mcp add --transport http localeo https://mcp-dev.localeo.appThen run /mcp inside Claude Code, choose localeo and sign in.
Add the server to ~/.cursor/mcp.json, or to .cursor/mcp.json in one repository:
{ "mcpServers": { "localeo": { "url": "https://mcp-dev.localeo.app" } }}Cursor asks you to sign in when it first connects.
Add the server to .vscode/mcp.json:
{ "servers": { "localeo": { "type": "http", "url": "https://mcp-dev.localeo.app" } }}VS Code asks you to sign in when the server starts.
ChatGPT connects to MCP servers in developer mode. Turn it on in ChatGPT’s settings, then add a connector with this URL and OAuth sign-in:
https://mcp-dev.localeo.appWhich plans have developer mode, and where its switch lives, is up to OpenAI and changes. Their help centre has the current steps.
Any client that speaks MCP’s Streamable HTTP transport and its OAuth sign-in can connect with just the URL. A client that has no sign-in support can use a token header instead.
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_9fK2xY7pQ3mNvB8sL1tR4wZ6cD0aJ5hG2eU7iO9kCreate 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.
claude mcp add --transport http localeo https://mcp-dev.localeo.app \ --header "Authorization: Bearer $LOCALEO_TOKEN"{ "mcpServers": { "localeo": { "url": "https://mcp-dev.localeo.app", "headers": { "Authorization": "Bearer localeo_…" } } }}VS Code can prompt for the token and keep it out of the file:
{ "inputs": [ { "type": "promptString", "id": "localeo-token", "description": "Localeo API token", "password": true } ], "servers": { "localeo": { "type": "http", "url": "https://mcp-dev.localeo.app", "headers": { "Authorization": "Bearer ${input:localeo-token}" } } }}To check a token against the server without a client:
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
| Tool | Needs | What it does | REST twin |
|---|---|---|---|
get_project | read | The project: its id, name and base language. | GET /projects |
list_languages | read | Every language on the project. Imports accept only these. | GET /project-languages |
search_translations | read | One 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_key | read | One key: its description, its placeholders, and its value and status in every language. | GET /translation-keys/{key} |
list_releases | read | Published releases, newest first, 20 per page. | GET /releases |
import_translations | write | Creates keys and writes values in any of the project’s languages. Also how the assistant fixes a single value. | POST /translations/import |
create_key | write | Creates one key, with its description and source text. | POST /translation-keys |
update_key | write | Renames 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_keys | write | Deletes up to 1000 keys with their values in every language. A dry run unless dry_run is false. | POST /translation-keys/delete |
create_release | write | Creates a release from the current translations, and publishes it too with publish: true. | POST /releases |
publish_release | write | Publishes 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, andapprovedasforbidden_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%sto anything else, because the value ships byte for byte to your app’s i18n library. - Deleting starts with a dry run.
delete_keysdeletes nothing unless the assistant sendsdry_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_keyrefuses 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). Aftertoken: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.jsonandlocales/nl.jsoninto 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 see | Why |
|---|---|
| The consent page lists no projects | You 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 missing | The connection or token is read-only. Connect again and choose read & write, or use a write token. |
token owner no longer has write access | The 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 value | The connection belongs to a developer. Only a manager’s connection writes other languages. |
unknown_language | The project does not have that language. Add it in the dashboard. Imports never create languages. |
| The consent page says the request expired | More 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 UnauthorizedWWW-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 athttps://mcp-dev.localeo.app/.well-known/oauth-authorization-server. The issuer ishttps://mcp-dev.localeo.app. - Grant: authorization code with PKCE,
S256only. Public clients only: the token endpoint and the revocation endpoint take no client authentication. Every authorization response carriesiss(RFC 9207). - Authorization errors: the only automatic redirect from
/oauth/authorizeis to the consent page. An error found after yourredirect_urichecked out is shown to the person as a page with a link back to yourredirect_uricarryingerror,error_description,stateandiss; it is not a302, 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
httpsURL as theclient_id. Itsclient_idmust 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;httpto a loopback address, on any port; or a private-use scheme for a native app, either in reverse-domain form (com.example.app:/callback) orcursor,vscodeorvscode-insiders. - Resource and scopes: the
resourceishttps://mcp-dev.localeo.app, the root of the host and the only place the server answers. The scopes arereadandwrite. The person signing in may grant less than the client asked for, never more. - Tokens:
/oauth/tokenissues 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 isinvalid_grant. An expired or revoked access token gets a401whoseWWW-Authenticateaddserror="invalid_token"./oauth/revoke(RFC 7009) ends a connection from the client side. - Limits:
/oauth/authorizeand/oauth/registershare an allowance of 300 requests per hour per IP address; past it they answer429with{"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.