CurviatexVercel AI SDK
Typed LinkedIn tools for apps built on the AI SDK. Give Vercel AI SDK agents Curviate’s LinkedIn actions over MCP or the SDK.
What is Vercel AI SDK?
The AI SDK is an open-source TypeScript toolkit from Vercel for building AI applications. Developers use it to call models from many providers, stream responses and build agents with tools.
Visit ai-sdk.devHow Vercel AI SDK works with Curviate
Connect Vercel AI SDK to Curviate’s MCP server and your agents get LinkedIn tools with names, descriptions and input schemas they can reason about. Prefer typed calls? Wrap the TypeScript SDK for LinkedIn actions.
search_peoplesend_messagecreate_motionSet up Vercel AI SDK with Curviate
TypeScript, a few lines, and your agent can work on LinkedIn.
- 1
Copy your Curviate API key
In the Curviate dashboard, open Settings, then API & Webhooks, and copy your key.
# keep it in your tool's credentials, never in plain text
CURVIATE_API_KEY=cvt_live_••••3f9a - 2
Connect Vercel AI SDK over MCP
Point Vercel AI SDK’s MCP support at Curviate. Your agent gets every Curviate tool your key can use.
// npm i @ai-sdk/mcp
import { createMCPClient } from "@ai-sdk/mcp";
const mcp = await createMCPClient({ transport: {
type: "http", url: "https://app.curviate.com/mcp",
headers: { Authorization: `Bearer ${key}` },
} });
const tools = await mcp.tools(); - 3
Or wrap the SDK
Prefer typed calls? The TypeScript SDK covers LinkedIn actions such as search, profiles, messages, invitations and posts; use MCP or the REST API for Contacts and Motions.
import { Curviate } from "@curviate/sdk";
const acc = new Curviate({ apiKey }).account(accountId);
// wrap any call as a tool for your agent
const { items } = await acc.messaging.listChats(); - 4
Give the agent a goal
Your agent picks the tools, reads the results and acts, inside each account’s limits.
› Find heads of RevOps in Germany and draft a connection note for each.
Questions about Curviate x Vercel AI SDK
Which tools does the agent get?
Every Curviate MCP tool your key can use, grouped in toolsets the agent can load when it needs them: search, profiles, messages, invitations, posts, Motions and more.
Python or TypeScript?
MCP works from both. The Curviate SDK is TypeScript, and the REST API works from any language.
Is it safe to give an agent write actions?
Every tool is marked as reading or writing, so you can keep a person in the loop for writes, and each account stays inside its daily limits.
More agent frameworks
Build with Vercel AI SDK and Curviate.Free for 7 days.
Create your API key and give your agent its first LinkedIn task.