TODO verify: translate5 version this feature is available from. |
The MCP server lets AI apps like ChatGPT and Claude work with translate5 for a user: translate texts and files, create projects, read status and statistics. This page is for administrators: how to activate it, how AI apps log in, and which options and rights exist. How users work with it is described on the user page AI apps: work with translate5 from ChatGPT, Claude and other AI apps (MCP).
The MCP server is the plug-in “Mcp”. It is not part of the open source core of translate5. |
runtimeOptions.server.name.t5 plugin:enable Mcp |
AI apps connect to https://<address of translate5>/editor/mcp. Administrators find the address ready to copy in “Preferences” > “AI apps” > “Start”.

AI apps log in with the translate5 login of the user (OAuth 2.1 with PKCE). No password or token is typed into the AI app.

runtimeOptions.plugins.Mcp.oauthAllowedClients can log in. Each app is given by the URL of its client metadata document. ChatGPT and Claude (web, desktop and coding apps) are allowed by default. Remove an entry to block an app, its connections end at their next renewal.oauthConnectionIdleDays).If a client logs in with OpenID Connect, its users connect the AI app with the domain of the client as server address. The login of the AI app then goes to the identity provider of this client, the same way as the translate5 login. A user who is already signed in at the company only clicks “Allow”.
The identity provider must accept an additional redirect URI for the login of AI apps: |

Situation | What happens |
|---|---|
The user is still valid at the identity provider | translate5 asks the identity provider at every token renewal (about once per hour of use) and updates the roles and clients of the user like on a login. The connection goes on, the user does not log in again. |
The user was disabled at the identity provider, or the roles sent no longer allow a translate5 login | The connection ends at the next renewal. Event |
The identity provider cannot be asked: it is not reachable, hands out no lasting refresh token, or asking is turned off | The connection goes on for at most 24 hours ( |
offline_access. The identity provider must allow this scope for translate5.runtimeOptions.plugins.Mcp.oauthAskIdentityProvider. Connections then end after the 24 hours named above.TODO verify: test run against Microsoft Entra ID (redirect URI, scope offline_access, disabled user) before this section is published. |
Scripts and agents that cannot do the browser login can use an application token of translate5 instead. They send it with every request to the MCP server in the header Translate5AuthToken. The same rights apply as for the user the token belongs to.
Option (name in the UI) | Default | Can be set for | Description |
|---|---|---|---|
| ChatGPT and Claude | instance | AI apps that may connect with the translate5 login, each given by the URL of its client metadata document. Remove an entry to block the app. |
|
| instance | Days after which a connection ends when the app does not use it. As long as the app is used and the user is confirmed, the connection goes on. |
| enabled | instance | For connections made with single sign-on: translate5 asks the identity provider at every token renewal and updates the roles of the user. Needs the scope |
|
| instance | Hours a connection goes on when the identity provider cannot be asked. After that the user logs in again in the AI app. |
|
| instance | Days the entries of the activity log are kept. |
|
| system | Maximum size of a file uploaded for AI apps. The PHP upload limits of the server apply additionally. |
|
| system | Hours an uploaded file is kept before it is deleted, if no project used it. |
Options of the instance are changed in “Preferences” > “System configuration”, search for MCP:. Options of the system are not shown there, change them on the command line:
t5 config runtimeOptions.plugins.Mcp.uploadMaxSizeMb 100 |

What | Right | Default roles |
|---|---|---|
Connect an AI app and use the MCP server |
| Every user ( |
See the area “AI apps” in the preferences |
|
|
Edit the playbook |
|
|
Read the activity log |
|
|
List and end connections through the REST API (own connections, administrators all) |
|
|
To keep a group of users away from the MCP server, remove the right editor_plugins_mcp_mcp / index from their role. This is a change in the database of the installation.
The MCP server offers an AI app only the actions the connected user has the translate5 rights for. The table shows the default roles.
Action | What it does | Changes data | Default roles |
|---|---|---|---|
| Lists the clients the user may see, with their descriptions and the playbook for all clients. | Every user | |
| Returns the playbook and the process of one client. | Every user | |
| Opens the upload window in the chat (only in apps that show windows). | Every user | |
| Returns an address an agent uploads a file to. | Every user | |
| Lists the files the user uploaded. | Every user | |
| Returns the beginning of the text of a document. | Every user | |
| Translates a text with the language resources of a client. | InstantTranslate | |
| Translates a file with the language resources of a client. | InstantTranslate | |
| Lists the file translations of the user and their status. | InstantTranslate | |
| Returns a translated file as download link. | InstantTranslate | |
| Saves a translation to the translation memory. | InstantTranslate write to TM | |
| Returns price and date of a revision by a person. | InstantTranslate human revision allowed | |
| Orders the revision of a file translation. | InstantTranslate human revision allowed | |
| Creates a project with its tasks and starts the import. | PM, PM (selected clients), Admin | |
| Lists projects. | PM, PM (selected clients), Admin | |
| Returns the status of a project and its tasks. | PM, PM (selected clients), Admin | |
| Returns the translated files of a project as download links. | PM, PM (selected clients), Admin | |
| Lists open jobs of users. | PM, PM (selected clients), Admin | |
| Lists the kinds of language resources that can be created. | PM, PM (selected clients), Admin | |
| Lists language resources. | PM, PM (selected clients), Admin | |
| Creates a language resource. | PM, PM (selected clients), Admin | |
| Sets the default clients of a language resource. | PM, PM (selected clients), Admin | |
| Returns post-editing statistics of finished tasks. | PM, PM (selected clients), Admin | |
| Read the event log of tasks, and the system log for users who may see it. | PM, PM (selected clients), Admin |
The log actions hand log entries to the AI app, and with it to the provider of the AI. Passwords, tokens and other credentials in the entries are masked before. Names and e-mail addresses of users are not masked. |
Administrators steer and watch the AI apps in “Preferences” > “AI apps”. The user page AI apps: work with translate5 from ChatGPT, Claude and other AI apps (MCP) describes the tabs “Playbook”, “Connected apps” and “Activity”.

Connections can also be listed and ended on the command line:
t5 mcp:connections:list t5 mcp:connections:list --user <login> t5 mcp:connections:revoke <id> |
Address | Used for |
|---|---|
| The MCP server (Streamable HTTP). Without a token it answers with the login challenge for AI apps. |
| Discovery of the login for AI apps. |
| Browser page of the login and of the “Allow” button. |
| Return address of the identity provider after the single sign-on of an AI app login. |
| Token exchange and renewal by the AI app. |
| Upload of files for AI apps, with an upload ticket or a token. |
| Download of translated files with a single use ticket. |
data/McpUploads and deleted by the periodical cron job after the upload lifetime.
|
Problem | What to do |
|---|---|
The AI app cannot connect, the server answers 403 “Invalid Host header” | The app uses an address that is neither the main address ( |
The login of the AI app stops at the identity provider with a redirect URI error | Add the “Redirect URI for AI apps” of the client to the app registration of the identity provider. |
The login page says that the AI app is not allowed | Add the client metadata URL of the app to |
Users of a client with single sign-on have to connect again every day | The identity provider hands out no lasting refresh token or does not allow the scope |
An AI app does not offer an action | The connected user lacks the rights for it, see the table of actions above. |