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

# AI & Agents

> Give AI agents email: MCP server, editor integrations, SDKs, CLI, and framework adapters.

Gork is programmable email infrastructure for AI agents. Pick the layer that fits how your agent runs:

<CardGroup cols={2}>
  <Card title="MCP server" icon="server" href="/protocols/mcp">
    13 email tools over stdio for any MCP-compatible client. Start here for coding assistants.
  </Card>

  <Card title="MCP clients" icon="plug" href="/ai/mcp-clients/claude">
    Setup guides for Claude, Cursor, Windsurf, Codex, and Copilot.
  </Card>

  <Card title="App-builder integrations" icon="blocks" href="/ai/integrations">
    Lovable, Bolt, v0, and Replit via REST + webhooks.
  </Card>

  <Card title="CLI" icon="terminal" href="/sdk/cli">
    `gork` in the terminal for shell agents and CI runners.
  </Card>

  <Card title="Node.js SDK" icon="node" href="/sdk/nodejs">
    `new Gork({ apiKey })` — inboxes, messages, drafts, attachments, domains, webhooks.
  </Card>

  <Card title="Python SDK" icon="python" href="/sdk/python">
    `Gork(api_key)` — same surface in snake\_case, plus `get_tools` / `execute_tool` for agents.
  </Card>
</CardGroup>

## Framework adapters

<CardGroup cols={2}>
  <Card title="LangChain" icon="link" href="/guides/ai-frameworks">
    `gorkTools` / `createGorkTools` / `GorkToolkit` — 4 tools for LangChain agents.
  </Card>

  <Card title="Vercel AI SDK" icon="triangle" href="/guides/ai-frameworks">
    `getGorkAiTools` — drop-in tools for `generateText` and `streamText`.
  </Card>
</CardGroup>

<Note>
  Agent sends execute immediately with no confirmation gate. For human-in-the-loop flows, have the agent compose with drafts and let a human send.
</Note>
