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

# InternConnection

## Example Usage

```typescript theme={null}
import { InternConnection } from "@openrouter/sdk/models";

let value: InternConnection = {
  account: {
    actsAs: "<value>",
    isYourAccountLinked: true,
    note: "<value>",
    scope: "yours",
  },
  id: "<id>",
  isEnabled: false,
  isInternOnly: true,
  kind: "google",
  mcpServerName: "<value>",
  name: "<value>",
  offReason: "disabled",
  server: null,
  status: {
    reason: null,
    state: "error",
  },
  toolCount: 328769,
};
```

## Fields

| Field | Type | Required | Description |
| - | - | - | - |
| `account` | [models.Account](../models/account.mdx) | ✔️ | N/A |
| `id` | *string* | ✔️ | Stable id: the credential id of an MCP server, else the kind (`slack`, `github`, `google`). |
| `isEnabled` | *boolean* | ✔️ | Whether the intern reaches it now. |
| `isInternOnly` | *boolean* | ✔️ | Scoped to this intern rather than shared by the workspace. |
| `kind` | [models.Kind](../models/kind.mdx) | ✔️ | N/A |
| `mcpServerName` | *string* | ✔️ | The name the intern's MCP config keys the server by; null when it is not an MCP server or is off. |
| `name` | *string* | ✔️ | Display name. |
| `offReason` | [models.OffReason](../models/offreason.mdx) | ✔️ | `switched_off` for this intern, `disabled` for the whole workspace; null while on. |
| `server` | [models.Server](../models/server.mdx) | ✔️ | N/A |
| `status` | [models.InternConnectionStatus](../models/internconnectionstatus.mdx) | ✔️ | N/A |
| `toolCount` | *number* | ✔️ | Tools found by the last successful test. |
