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
npm i ai @ai-sdk/anthropic- Create an MCP client with the HTTP transport.
- Pass
await mcp.tools()togenerateTextorstreamText.
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
- Run this server-side only. Never ship a Dizo key to the browser.
Endpoints used
Related integrations
OpenAI Agents SDK
Give an OpenAI Agents SDK agent the Dizo MCP tools with MCPServerStreamableHttp in a few lines of Python.
LangChain & LangGraph
Load Dizo MCP tools into LangChain or LangGraph with langchain-mcp-adapters and build a prospecting agent.
CrewAI
Attach the Dizo MCP server to a CrewAI agent with MCPServerAdapter and split research and enrichment across a crew.