# Localize.io — MCP server

This address is an MCP server (streamable HTTP). Talk to it with an MCP client, by POSTing JSON-RPC; opening it as a web page shows this description.

Connecting and listing the tools need no key. Every tool needs one: send `Authorization: Bearer <key>` with each request. Keys are minted in your cabinet under API keys, one per integration.

```json
{"mcpServers": {"localize-io": {"type": "http", "url": "https://t.localize.io/mcp",
  "headers": {"Authorization": "Bearer YOUR_KEY"}}}}
```

## How to use it

Localize.io translates product text with your own glossary, translation memory,
style guides and screenshots, and records how every job was made.

A typical session:
0. whoami — which account your key acts for. Every answer below begins with it.
1. get_config — the languages, language pairs and content types you can order.
   If it names no model and list_assets lists nothing, the account is not set up
   yet: do not translate. Walk your person through the setup in skill.md ("Setting
   an account up: the first session"), one step at a time, and wait for their yes
   before each stage of changes and before each charged job.
2. translate — send strings; you get a job id back straight away.
3. wait_for_job (repeat as needed) or job_status — a job takes one to a few minutes.
4. get_result — the translations, each with what was done with your memory
   (new, as_is or fixed).
5. explain_job — how a job was routed, what context was sent, every check and cost.

Every order needs a `requester` (who asked: a person, team or pipeline) and a
`content_type` from your configuration.

The API changes, and old versions are not kept. Before you use these tools, read each
tool's description again as it is now, and https://t.localize.io/skill.md for how the work is done:
what you remember of them from an earlier session may describe another version.

## Tools

### whoami()

Which account your key acts for, and which key it is. Every answer from these
tools begins with the same line; ask this first when you hold more than one key —
each sees only its own account's languages, projects and jobs.

### get_config(`project`?)

Your configuration as it is: the target languages you can order (with the
source each must come from, if any), your own locale codes, your content types,
and which model does what. Pass `project` for one project's own file; a project
that declares no languages or content types has yours.

`aliases` say what a code means, on orders and inside your files alike: a memory
tagged `zh-CN` serves `zh-Hans` jobs only once `"zh-CN": "zh-Hans"` is there.
Nothing is guessed; list_assets names any code that no language takes.

The answer is the file as it always was, under a line naming the version it is:
write_config sends that version back, as `etag`, to change it.

### write_config(`config`, `etag`, `project`?)

Replace your configuration — or one project's, with `project` — with `config`,
the whole file: read it with get_config, change what you mean to, and send all of
it back with the version on get_config's "Configuration version" line, as `etag`.
Adding a language is adding it under
`languages`, with its source and its model; nothing is filled in for you.

Checked before anything is replaced, every problem named, and refused whole;
refused too if the file changed since you read it — read it again and apply your
change to that. The version it replaces is kept (config_history). Takes effect on
the next order. Needs a key with `config:write`. Ask your person before changing
it: it moves every order after it.

### config_history(`project`?, `version`?)

The versions of your configuration that were replaced, newest first — or, with
`version`, that one version as it was. `project` for one project's file.

### list_people()

Who can sign in to your account, and who owns it.

### invite_person(`email`, `role`?)

Invite someone to your account by their address: `role` is `member` or `owner`
(an owner also manages people, keys and billing). They are sent a sign-in link,
and their first sign-in opens this account. Ask your person first; an owner's key
or the account's own token invites.

### list_projects()

Your projects, and the content types each one accepts.

### create_project(`project`, `name`?, `content_types`?)

Create a project: one per product (the app, the website, the help centre), so
each keeps its own glossary, memory, style and configuration, and what the
account holds applies to all of them. `project` is the id every order and upload
for that product names (`website`); `name` is how it is shown; `content_types`
are the kinds of text it routes apart (`["ui", "marketing"]`), if any. Ask your
person first, about the content types too. It writes configuration, so it needs
a key with `config:write`, or the account's own token.

### translate(`segments`, `source_lang`, `target_lang`, `content_type`, `requester`, `project`?, `instructions`?, `references`?, `models`?)

Order a translation into one language. Returns a job id at once; the work
takes minutes. Several languages are several calls, one job each.

`segments`: [{"id": "your.key", "source": "Save changes", "context": "button on
the settings screen", "max_length": 24, "references": ["up_…"]}] — only `id`
and `source` are required, and ids come back as you sent them.
Send `context` whenever you know it: where the string appears, what it must fit,
which names stay as written. It is the strongest thing you can give the
translator. `max_length` is enforced. Any other segment field is not read, and
the reply's `warnings` says so: read them.
For UI strings, also attach a screenshot of the string in place
(attach_screenshot) and name it in `references`; the picture shows what fits,
the context names the neighbouring strings, and the two together do most.
Glossary terms are translated as an order of their own, ids `g:<term>` (the skill:
"A glossary from your own product"); an order mixing them with strings is warned.
`target_lang` may be your own code; it comes back as you sent it.
`content_type` must be one your configuration declares. `requester` says who
asked. `project` applies that project's configuration and material.
`references`: screenshot ids from attach_screenshot for the order as a whole.
`models`: {"translation": …, "annotation": …, "qa": …, "selection": …} to choose those models
instead of the configured ones — only from GET /v1/models; anything else is refused.
Leave it out normally: models belong in the configuration (PUT /v1/config), and an
order's own is for a deliberate exception — a trial, or a resend after provider_refused.

Then call wait_for_job or job_status, and get_result when it is done.

### list_linguists(`task`?, `source_lang`?, `target_lang`?, `project`?, `content_type`?, `active`?)

The linguists who can work on translations for you — the service's, your
account's and your projects' own — with each one's id, name, tasks (`review`),
pairs, rate per 1,000 characters, the fee your plan adds on the service's own
(`linguist_fee_percent`), the price with every fee — on your own people, whom you
pay yourself, the rate is for reference (`rate_billed: false`) and the price is the
platform's fee alone — how many
reviews they have done, the volume waiting for them now (`workload`: the whole
queue and your share of it), how much they review in a day (`throughput`,
measured or declared), and when they work
(`schedule`, and `availability`: whether they are at work now and when next).
Choose a reviewer by those: soonest to finish at a price the client accepts. Every argument narrows the list: `task` to those who do
it, `source_lang` and `target_lang` to those who work on that pair, `project` to
those who can be named on its orders, `content_type` to those who take it,
`active` to those taking work now. Name one by id as the `linguist` in `review`.

### add_linguist(`name`, `email`, `pairs`, `rate`, `tasks`?, `content_types`?, `project`?, `schedule`?, `capacity_per_day`?)

Add one of your own people as a linguist — an in-house reviewer, a vendor you
work with. They sign in with `email` and see only the tasks waiting for them.

`pairs`: [{"from": "en", "to": "de"}] — a linguist of `de` reviews `de-AT` too.
`rate`: what they are paid per 1,000 source characters — by you, not through the
service: it is shown beside each review for your reference and is in no price. `tasks`: what they do, ["review"] (the
one task so far, and what is assumed). `content_types`: those they take; none for
any. `project`: they work for that project only; without it, for the whole
account. `schedule`: when they work — {"timezone": "Europe/Berlin", "days": ["mon",
"tue", "wed", "thu", "fri"], "hours": "09:00-18:00", "away": [{"from":
"2026-12-24", "to": "2027-01-02"}]}. `capacity_per_day`: source characters they
review in a day. Needs a key allowed to change configuration. Returns the
linguist, with the id to name as `linguist`.

### change_linguist(`linguist_id`, `name`?, `email`?, `pairs`?, `rate`?, `tasks`?, `content_types`?, `active`?, `schedule`?, `capacity_per_day`?, `clear_schedule`?)

Change one of your own linguists: only what you pass changes, as in
add_linguist. `active: false` keeps them on record and sends them nothing new.
`clear_schedule: true` removes their schedule. The service's own linguists are
not yours to change. Needs a key allowed to change configuration.

### remove_linguist(`linguist_id`)

Remove one of your own linguists. A review already waiting for them stays
theirs; to stop new ones and keep the record, change_linguist with active: false
instead. Needs a key allowed to change configuration.

### review(`segments`, `source_lang`, `target_lang`, `content_type`, `requester`, `linguist`?, `project`?, `instructions`?, `replaces`?)

Have a person review translations you already have, into one language.

`segments`: [{"id": "your.key", "source": "Save changes", "target":
"Änderungen speichern", "context": "button on the settings screen"}] — the
source, and the translation to review, on every segment; it can come from
anywhere. `linguist` is a linguist's id from list_linguists; leave it out where the
configuration names one for this language or content type (get_config). The job
waits for that person, however long. Each segment comes back with its `source` and `context`, the final `target`, the `draft` you sent,
the linguist's `verdict` (approved or edited) and any `note`. `replaces`: the id of
a review of yours not delivered yet that this one is sent instead of — it is
withdrawn (see withdraw_job) and this one goes to the same linguist unless you
name another. Returns a job id.

### send_feedback(`kind`, `title`, `text`, `job_id`?, `project`?)

Tell the people who run the service about a problem with it, or what you need:
an error that did not say what to change, the API not doing what its documentation
says, something you could not find. `kind`: "bug", "improvement" or "question".
`text`: what you did, what happened (quote the error), what you expected. `job_id`
when it is about one job, `project` when it is about one project. Who you are, the API version and the job's state are added
for you; never put a key in it. Check list_feedback first, so it is not sent twice,
and tell your person the report's id.

### list_feedback(`status`?)

Your account's reports, newest first, each with its status (new, seen, planned,
done, declined) and the answer, when there is one.

### withdraw_job(`job_id`, `reason`)

Take back a job you no longer want. `reason` is required and kept.

A translation: only while it is `queued`, before anything runs — then nothing is
charged. Once `processing` it runs to the end and is charged as delivered
(refused, `started`). So if you are about to abandon or resubmit work, withdraw
what is still queued first, rather than leaving it to run.

A review: while it waits for its linguist, or taken and part done; they are not
asked. It is charged as it stands: the platform's fee on every character ordered,
the linguist's rate (and any linguist fee on it) on the strings they had signed,
the model usage so far. Refused while it is being prepared or checked (minutes)
and once delivered. To send changed work to the same person, use review with
`replaces` instead: it withdraws this one too.

### job_status(`job_id`)

Where one job is: queued, processing, done, partial, failed or withdrawn — with
the reason if it failed or was withdrawn.

### wait_for_job(`job_id`, `seconds`?)

Wait up to `seconds` (at most 50) for a job to finish, then say where it is.
Call again if it is still running; a job usually takes one to a few minutes.

### get_result(`job_id`)

The finished order: every segment in every language, what was done with your
translation memory for each (new, as_is, fixed), warnings, models and cost.

### explain_job(`job_id`)

How a job was made, in order: how it was routed and which setting decided it,
the context sent with each string (terms, memory, screen descriptions, style),
every model call, every check and attempt, and what each step cost.

### list_jobs(`limit`?, `linguist`?, `waiting`?)

Your most recent jobs, newest first. `linguist` (a linguist's id) gives the
reviews ordered from them; with `waiting`, only those not delivered yet — what of
yours is in their queue.

### list_assets(`project`?)

Your material — glossaries, memories, style guides, screenshots — and what
each file was recognised as. Without `project`, the files that apply to every
project; with it, that project's own.

Each file has a `state`: `reading` (uploaded a moment ago and being read —
usually a few minutes; it has not failed), `read`, with `read_as` saying what it
was taken for, or `unreadable`, with `why`. A new name is a new file: delete the
old one, or every job carries both.
`read[].indexed` says the same per level (`indexing`, then `current`).
`read[].problems` lists what to act on — including material under a language
code that none of your configured languages takes, which is not used until an
`aliases` entry in your configuration says what it means.

### upload_asset(`path`, `content`, `project`?, `encoding`?)

Store a file as it is — a glossary, memory, style guide or screenshot. It is
recognised by what is inside it and used from the next job on.

What it is is not known when this returns: a model reads the file afterwards,
usually within a few minutes. The answer says `state: "reading"`, when to look
(`ready_in_s`) and `also_here` — files with the same bytes under another name,
which every job would carry twice: delete the old one. There is no need to wait
before ordering — a job waits for the reading itself (up to five minutes). To see
what the file was taken for, call list_assets later: `state` "read" and `read_as`.

`path` is where it goes, with any folders you like: "glossary/terms.tbx".
`content` is the file itself: plain text with `encoding` "text", or base64 with
`encoding` "base64" for anything binary. Without `project` it applies to every
project; with it, to that project alone.

### attach_screenshot(`image_base64`, `media_type`?, `name`?, `note`?)

Attach a screenshot to strings you are about to order, with an optional note
("the empty state of the payouts screen", "Pro is the brand, never translate it").
Returns an id; put it in a segment's `references`, or the order's, in translate.
png, jpeg, webp or gif.

For UI strings, do this: a screenshot of the string in place, with the screen in
the state where it shows (the menu open, the dialog up), visibly changes the
translation. If you can drive a browser it is one call. In the note, say which
string on the screen is being translated and what sits around it. A screen has
many strings and the model otherwise has to guess. One id can be named by any
number of orders (one screen for five languages ordered separately), is read
once, and is kept until it is deleted.

More: https://t.localize.io/ · https://t.localize.io/llms.txt
