# i1n MCP server

> An AI-powered localization platform that extracts strings, manages translations via a dashboard, and syncs type-safe keys back to your repository.

- Repository: https://github.com/Pakvothe/i1n-cli
- Page: https://hostedmcp.org/servers/pakvothe/i1n-cli
- Transport: stdio
- Stars: 2
- License: MIT
- Latest version: 1.4.7

## Install

### Claude Code

```sh
claude mcp add i1n-cli -- npx -y i1n
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "i1n-cli": {
      "command": "npx",
      "args": [
        "-y",
        "i1n"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "i1n-cli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "i1n"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"i1n-cli","type":"stdio","command":"npx","args":["-y","i1n"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "i1n-cli": {
      "command": "npx",
      "args": [
        "-y",
        "i1n"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add i1n-cli -- npx -y i1n
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.i1n-cli]
command = "npx"
args = ["-y", "i1n"]
```

### Gemini CLI

```sh
gemini mcp add -s user i1n-cli npx -- -y i1n
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "i1n-cli": {
      "command": "npx",
      "args": [
        "-y",
        "i1n"
      ]
    }
  }
}
```

## FAQ

### How does i1n handle conflicts between local files and the dashboard?

It uses a three-way diff to identify changes. If both the local file and the server have changed the same key, it triggers a conflict that can be resolved interactively or via specific strategies like 'ours' or 'theirs'.

### Can I use i1n with my existing i18n library?

Yes, it supports Bridge Mode which works with libraries like i18next, next-intl, vue-i18n, and react-intl.

### Does i1n provide type safety for my translation keys?

Yes, it generates a TypeScript definition file (`i1n.d.ts`) to provide full IDE autocomplete for your translation keys.

### How can I prevent broken translations from being deployed?

You can use the `i1n check` command in your CI pipeline to detect missing keys, broken interpolation placeholders, or empty values.
