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

# SDKs & clients

> Official Drin SDKs and clients — the typed TypeScript SDK, the raw REST contract, Python, the CLI and the MCP server. Same account, same key, pick your stack.

Every Drin capability is reachable from one account and one key. Use the typed SDK in your language, the CLI for scripts and CI, the MCP server for agents — or talk to the REST API directly.

<CardGroup cols={2}>
  <Card title="TypeScript / Node" icon="code" href="/sdk/typescript">
    `@drin00/sdk` — typed client with retries, cursor pagination, typed errors and local webhook verification.
  </Card>

  <Card title="REST API" icon="code" href="/sdk/rest">
    No dependency — the raw HTTP contract you can call from any language, with a worked end-to-end example.
  </Card>

  <Card title="Python" icon="code">
    `pip install drin` — the official Python client, same surface as the TypeScript SDK. Reference lives under [Other languages](/sdk/rest).
  </Card>

  <Card title="CLI" icon="terminal" href="/agents/cli">
    `npx @drin00/cli` — send, list and reply from your terminal, scripts and CI.
  </Card>
</CardGroup>

## Install

Pick a client and drop in your API key. Account-wide keys also take a `sender` (your project) so requests are scoped correctly.

<CodeGroup>
  ```bash TypeScript theme={null}
  npm install @drin00/sdk
  ```

  ```bash Python theme={null}
  pip install drin
  ```

  ```bash CLI theme={null}
  npx -y @drin00/cli send \
    --to you@example.com --subject "Hi" --text "It works"
  ```
</CodeGroup>

<Note>
  **One key, every surface.** The same key sends transactional mail, manages domains, and — paired with the [MCP server](/agents/mcp) — lets an agent receive and reply to email. Start from the [Quickstart](/quickstart) if you just want a first send.
</Note>

## Agent surfaces

<CardGroup cols={2}>
  <Card title="MCP server" icon="plug" href="/agents/mcp">
    `npx @drin00/mcp` — the full toolset any MCP-capable agent can call.
  </Card>

  <Card title="Full API reference" icon="code" href="/api-reference/overview">
    Every endpoint, parameter and response, with copy-paste examples.
  </Card>
</CardGroup>
