MCP server

Soluling's MCP server connects AI assistants to your Soluling Cloud projects. MCP, the Model Context Protocol, is the standard way for an assistant such as Claude Code, Cursor, or GitHub Copilot in VS Code to use other tools. Once connected, you can ask the assistant in your editor things like:

  • Which strings are still untranslated in the Japanese version?
  • Translate the new strings into Finnish and German.
  • The German text of the checkout button is too long. Suggest a shorter one and save it.
  • Build the project and put the Finnish file into src/locales.

The assistant sees your source code too, so it can tell what a string means and where it is shown.

Connect

The server's address is https://www.soluling.com/api/mcp. It is hosted by Soluling, so there is nothing to install.

Sign in with an API token. Create one on the API tokens page of your account, and give it to the assistant as an Authorization: Bearer header. The assistant then acts as you: it sees the projects and languages you see, and can do what your role in the project allows. Two-factor sign-in doesn't get in the way, because a token doesn't need a code. Revoke the token on the same page when you no longer use it.

Claude Code

claude mcp add --transport http soluling https://www.soluling.com/api/mcp --header "Authorization: Bearer sol_..."

VS Code

Add the server to .vscode/mcp.json. VS Code asks for the token the first time and stores it securely, so it isn't in the file:

{
  "servers": {
    "soluling": {
      "type": "http",
      "url": "https://www.soluling.com/api/mcp",
      "headers": { "Authorization": "Bearer ${input:soluling-token}" }
    }
  },
  "inputs": [
    { "type": "promptString", "id": "soluling-token", "description": "Soluling API token", "password": true }
  ]
}

Cursor

Add the server to .cursor/mcp.json in your project, or to ~/.cursor/mcp.json for all projects. Don't commit a file that contains the token.

{
  "mcpServers": {
    "soluling": {
      "url": "https://www.soluling.com/api/mcp",
      "headers": { "Authorization": "Bearer sol_..." }
    }
  }
}

Other assistants that support MCP over HTTP with a header work the same way. Claude.ai, the Claude desktop app, and ChatGPT add servers as connectors that sign in with OAuth, which Soluling's MCP server doesn't support yet.

Tools

The assistant chooses the tools itself. Most assistants ask you before they use a tool that changes something.

Tool What it does
list_projects Lists your projects in all your accounts, with their languages.
get_project Gets a project's languages, source files, and statistics.
get_strings Gets strings with their translation in one language: all, untranslated, for review, and so on, or those that contain a text. Each string comes with its context, comment, and maximum length.
set_translations Saves translations, up to 100 at a time. They are For review unless the assistant is told otherwise.
machine_translate Translates strings with the project's machine translation engines, up to 50 at a time, and saves them as Auto translated. Uses the account's machine translation quota, like Translate does.
add_language Adds a target language to a project. Needs the Account Admin or Project Manager role.
build_project Builds the localized files, and publishes them for over-the-air updates if asked.
get_build_status Tells whether a build is queued, running, completed, or failed.
get_localized_file Gets a built localized file, such as fi.json, as text, so the assistant can write it into your repository.

Review what the assistant writes

An assistant can make mistakes. That's why the translations it writes are For review and machine translations are Auto translated: a translator or reviewer checks them in Translate before they count as done. The assistant is also told to keep placeholders and markup as they are, and to respect each string's maximum length, and Soluling's checks still show any problems.

Plural and gender strings have a value for each form, so the assistant leaves them for Translate. Locked strings can't be changed.