> **Building with AI coding agents?** Install the authstack plugin with one command. This equips your agent with accurate Scalekit implementation patterns.
>
> **Recommended** (the `-y` flags skip prompts, so the command runs without an interactive terminal):
> ```bash
> npx -y @scalekit-inc/cli setup -y
> ```
>
> Global:
> ```bash
> npm install -g @scalekit-inc/cli
> scalekit setup -y
> ```
>
> Supports Claude Code, Cursor, GitHub Copilot, Codex + skills for other Agent Skills-compatible agents in `~/.agents/skills`.
> Skills: integrate-agentkit, implement-saaskit, add-mcp-oauth, implement-sso, implement-scim.
> [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/)

---

# Connect AI agents to the LILT MCP server

The LILT MCP connector routes your AI agent's tool calls to LILT's own MCP server through Scalekit. Each user signs in to LILT once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 9 tools.

**Authentication:** OAuth 2.1/DCR
**Categories:** AI, Transcription
**Tools:** 9: 5 read, 4 write, 0 destructive
**Users sign in with:** OAuth
**OAuth app:** Scalekit's or your own
**Built by:** Vendor MCP
**Try it:** [Playground in the Scalekit dashboard](https://app.scalekit.com/ws/signup?sk_intent=playground&provider=LILTMCP)

## Setup

1. ### Install the SDK

   **Node.js**

   ```bash
   npm install @scalekit-sdk/node dotenv
   ```

   **Python**

   ```bash
   pip install scalekit-sdk-python python-dotenv
   ```

2. ### Set your credentials

   Add your Scalekit credentials to your `.env` file. Find values in **[app.scalekit.com](https://app.scalekit.com)** > **Developers** > **API Credentials**.

   ```sh title=".env"
   SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
   SCALEKIT_CLIENT_ID=<your-client-id>
   SCALEKIT_CLIENT_SECRET=<your-client-secret>
   ```

3. ### Create the LILT MCP connection

   In **AgentKit > Connections**, create a LILT MCP connection. The name you give it is the `connection_name` your code passes. See [Configure connections](/agentkit/connections/).

   Scalekit credentials are available for LILT MCP server, so you don't need to register an OAuth app.

4. ### Authorize a user and make your first call

   **Node.js** (`quickstart.mts`)

   ```typescript
   import { ScalekitClient } from '@scalekit-sdk/node'
   import 'dotenv/config'
   import { createInterface } from 'node:readline/promises'

   const scalekit = new ScalekitClient(
     process.env.SCALEKIT_ENVIRONMENT_URL,
     process.env.SCALEKIT_CLIENT_ID,
     process.env.SCALEKIT_CLIENT_SECRET,
   )
   const actions = scalekit.actions

   const connector = 'liltmcp'
   const identifier = 'user_123'

   // Generate an authorization link for the user
   const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
   console.log('Authorize LILT MCP:', link)
   const rl = createInterface({ input: process.stdin, output: process.stdout })
   await rl.question('Press Enter after authorizing...')
   rl.close()

   // Make your first call
   const result = await actions.executeTool({
     connector,
     identifier,
     toolName: 'liltmcp_get_credit_balance_information',
     toolInput: {},
   })
   console.log(result)
   ```

   ```bash
   npx tsx quickstart.mts
   ```

   **Python** (`quickstart.py`)

   ```python
   import os
   from scalekit import ScalekitClient
   from dotenv import load_dotenv
   load_dotenv()

   scalekit_client = ScalekitClient(
       env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),
       client_id=os.getenv("SCALEKIT_CLIENT_ID"),
       client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),
   )
   actions = scalekit_client.actions

   connection_name = "liltmcp"
   identifier = "user_123"

   # Generate an authorization link for the user
   link_response = actions.get_authorization_link(
       connection_name=connection_name,
       identifier=identifier,
   )
   print("Authorize LILT MCP:", link_response.link)
   input("Press Enter after authorizing...")

   # Make your first call
   result = actions.execute_tool(
       tool_input={},
       tool_name="liltmcp_get_credit_balance_information",
       connection_name=connection_name,
       identifier=identifier,
   )
   print(result)
   ```

   ```bash
   python quickstart.py
   ```

   Each user signs in once. See [Authorize a user](/agentkit/tools/authorize/) for the full flow and statuses.

## Tools

Pass the exact name to `execute_tool`, with an input like each tool's example. To ask for a tool that's missing, use the [request form](https://scalekitsupport.portal.usepylon.com/forms/request-a-connector-tool).

**Node.js**

```typescript
const result = await actions.executeTool({
  toolName: 'liltmcp_check_job_status',
  toolInput: {
    job_id: 1,
  },
  connector: 'liltmcp',
  identifier: 'user_123',
})
```

**Python**

```python
result = actions.execute_tool(
    tool_name="liltmcp_check_job_status",
    tool_input={
        "job_id": 1,
    },
    connection_name="liltmcp",
    identifier="user_123",
)
```

`result.data` is the app's response as JSON, and `result.execution_id` (`executionId` in Node.js) is the ID of the call.

### `liltmcp_check_job_status`

Check Job Status · Read-only

Checks the status of a verified translation job.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `job_id` (`integer`, required): No description.

Example input: `{"job_id":1}`

### `liltmcp_download_job`

Download Job · Read-only

Triggers a job export and returns a download link for the completed translation job.

Read only: yes. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `job_id` (`integer`, required): No description.

Example input: `{"job_id":1}`

### `liltmcp_get_credit_balance_information`

Get Credit Balance Information · Read-only

Retrieves all available credit balances for the authenticated user.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `liltmcp_hello_world`

Hello World · Read-only

Returns a friendly hello world message. Useful as a connectivity/health check for the Lilt MCP server.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `liltmcp_list_resources`

List Resources · Read-only

Lists and filters LILT jobs or translation models.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `resource_type` (`string`, required): The type of resource to list. Can be "model" or "job".
- `archived` (`boolean`, optional): For jobs, whether to list archived jobs instead of active ones.
      Defaults to False. Default: `false`.

Example input: `{"resource_type":"<resource_type>"}`

### `liltmcp_create_trained_model`

Create Trained Model · Write

Creates a new trained translation model for a specific language pair.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `src_lang` (`string`, required): No description.
- `trg_lang` (`string`, required): No description.

Example input: `{"src_lang":"<src_lang>","trg_lang":"<trg_lang>"}`

### `liltmcp_translate_files_with_verification`

Translate Files With Verification · Write

Create a verified translation job assigned to professional LILT linguists for file translation.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `file_ids` (`array`, required): No description.
- `name` (`string`, required): No description.
- `src_lang` (`string`, required): No description.
- `trg_langs` (`array`, required): No description.
- `user_confirmed` (`boolean`, optional): No description. Default: `false`.

Example input: `{"file_ids":[],"name":"<name>","src_lang":"<src_lang>","trg_langs":[]}`

### `liltmcp_translate_text`

Translate Text · Write

Translates text using LILT's instant translate API.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `src_lang` (`string`, required): No description.
- `text` (`string`, required): No description.
- `trg_lang` (`string`, required): No description.

Example input: `{"src_lang":"<src_lang>","text":"<text>","trg_lang":"<trg_lang>"}`

### `liltmcp_upload_file`

Upload File · Write

Upload a file to LILT for translation.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `content` (`string`, required): No description.
- `name` (`string`, required): No description.
- `content_type` (`string`, optional): No description. Default: `text/plain`.

Example input: `{"content":"<content>","name":"<name>"}`

## Related

Other AI connectors ([all 156](/agentkit/connectors/?category=ai)):

- [Chorus](/agentkit/connectors/chorus/): Scalekit connector, Username and password, 9 tools
- [Gong](/agentkit/connectors/gong/): Scalekit connector, OAuth, 69 tools
- [Jiminny](/agentkit/connectors/jiminny/): Scalekit connector, Access token, 27 tools


---

## More Scalekit documentation

| Resource | What it contains | When to use it |
|----------|-----------------|----------------|
| [/llms.txt](/llms.txt) | Structured index with routing hints per product area | Start here — find which documentation set covers your topic before loading full content |
| [/llms-full.txt](/llms-full.txt) | Complete documentation for all Scalekit products in one file | Use when you need exhaustive context across multiple products or when the topic spans several areas |
| [sitemap-0.xml](https://docs.scalekit.com/sitemap-0.xml) | Full URL list of every documentation page | Use to discover specific page URLs you can fetch for targeted, page-level answers |
