> ## Documentation Index
> Fetch the complete documentation index at: https://api-docs.ollang.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Replit

> Use Ollang MCP inside Replit Agent to handle translations directly within your cloud development environment.

# Ollang MCP in Replit

[Replit](https://replit.com) is a cloud-based IDE with an AI Agent that can build, run, and iterate on code autonomously. With Ollang MCP, Replit Agent gains translation capabilities — enabling localization workflows without leaving your development environment.

## Setup

<Steps>
  <Step title="Open your Replit project">
    Go to [replit.com](https://replit.com) and open the project where you want to use Ollang MCP.
  </Step>

  <Step title="Add the MCP configuration">
    In your project's `.replit` file, add an `[mcp]` section with the Ollang server:

    ```toml .replit theme={null}
    [mcp.servers.ollang]
    url = "https://mcp.ollang.com/mcp"
    transport = "sse"
    ```

    Alternatively, create a `.replit-mcp.json` file at the project root:

    ```json .replit-mcp.json theme={null}
    {
      "mcpServers": {
        "ollang": {
          "url": "https://mcp.ollang.com/mcp",
          "transport": "sse"
        }
      }
    }
    ```
  </Step>

  <Step title="Authenticate">
    When Replit Agent first uses an Ollang tool, you will be prompted to authenticate. A browser tab will open for Ollang sign-in. Complete authentication and return to Replit.
  </Step>

  <Step title="Use Ollang in Replit Agent">
    Open the **Agent** tab in Replit and describe your translation task. The agent will use Ollang MCP tools automatically.
  </Step>
</Steps>

## Use Cases

### Localize your app during prototyping

While building an app in Replit, translate your UI strings on the fly:

```
Read the file src/i18n/en.json and upload it to Ollang. Create
document translation orders for French, Spanish, and Portuguese.
Once complete, save the translated files as fr.json, es.json, and pt.json
in the same directory.
```

### Translate README and documentation

```
Take the content of README.md and upload it to Ollang for document
translation into Spanish and French. Save the results as README.es.md
and README.fr.md.
```

### Build a multilingual app faster

```
I'm building a language-learning app. Create an Ollang custom instruction
called "Language Learning UI" with the guideline: "Use simple, clear
language. Avoid idioms. Prefer formal register." Then use it to translate
all strings in src/locales/en.json to Arabic, Chinese, and Hindi.
```

### Check the status of ongoing translation orders

```
List all my current Ollang orders. Show me which ones are completed
and which are still in progress.
```

## Multi-Server Configuration

Use Ollang alongside other tools in Replit Agent:

```json .replit-mcp.json theme={null}
{
  "mcpServers": {
    "ollang": {
      "url": "https://mcp.ollang.com/mcp",
      "transport": "sse"
    },
    "notion": {
      "command": "npx",
      "args": ["-y", "@notionhq/notion-mcp-server"],
      "env": {
        "NOTION_TOKEN": "${NOTION_TOKEN}"
      }
    }
  }
}
```

<Tip>
  Store API tokens as Replit **Secrets** (not hardcoded values) and reference them with `${SECRET_NAME}` in your MCP config. This keeps credentials secure across forks and collaborators.
</Tip>
