Sign in

Email for Vercel AI SDK agents

The AI SDK’s MCP client reaches Zurchin’s hosted server, so any model you use gets an inbox of its own.

What your agent can do

  • Any model

    Any AI SDK model works, through a provider package or the AI Gateway.

  • Its own address

    On @zurchin.email, or on your own domain.

  • Read and reply

    The model gets Zurchin’s tools: it reads its mail and answers in the thread.

  • Only what you granted

    A key can read, draft, send or administer, for one inbox or many.

Add it to generateText

Connect the AI SDK’s MCP client to Zurchin, and pass its tools to the model.

TypeScript
import { createMCPClient } from '@ai-sdk/mcp';
import { generateText } from 'ai';

const zurchin = await createMCPClient({
  transport: {
    type: 'http',
    url: 'https://zurchin.com/mcp',
    headers: { Authorization: `Bearer ${process.env.ZURCHIN_API_KEY}` },
  },
});

const { text } = await generateText({
  model: 'anthropic/claude-sonnet-5.5',
  tools: await zurchin.tools(),
  prompt: 'Reply to the newest email in my inbox.',
});
  • Vercel AI SDKIts MCP client, from @ai-sdk/mcp, with any model.
  • Any MCP clienthttps://zurchin.com/mcp, with your API key.