FOR AGENTSSkip the HTML: this page as .md · llms.txt · openapi.json · MCP mcp.dizo.ai/mcp
Integrations / Agent frameworks
// mcp client

Dizo + Vercel AI SDK

Use Dizo tools in a Vercel AI SDK app via the MCP client and stream B2B data into a TypeScript agent.

No native app needed. This uses the hosted Dizo MCP server at https://mcp.dizo.ai/mcp. Use a dz_test_ key while you build: it returns synthetic data and costs nothing.

Steps

  1. npm i ai @ai-sdk/anthropic
  2. Create an MCP client with the HTTP transport.
  3. Pass await mcp.tools() to generateText or streamText.
import { experimental_createMCPClient as createMCPClient, generateText } from "ai";
import { anthropic } from "@ai-sdk/anthropic";

const mcp = await createMCPClient({
  transport: {
    type: "http",
    url: "https://mcp.dizo.ai/mcp",
    headers: { Authorization: `Bearer ${process.env.DIZO_API_KEY}` },
  },
});

const { text } = await generateText({
  model: anthropic("claude-sonnet-5-5"),
  tools: await mcp.tools(),
  maxSteps: 8,
  prompt: "Enrich acme.com and list its marketing leaders with emails.",
});
await mcp.close();

Notes

Endpoints used

Related integrations