Vercel AI SDK

Vercel AI SDK + Apideck MCP

The Vercel AI SDK provides React hooks and server utilities for building streaming AI interfaces. Its MCP client integration lets you connect to the Apideck MCP Server and use all tools as streamable functions.

TypeScript

Get started with Vercel AI SDK

Connect Vercel AI SDK to the Apideck MCP Server with a few lines of code.

Vercel AI SDK Configuration
TYPESCRIPT
import { experimental_createMCPClient } from "ai";

const client = await experimental_createMCPClient({
  transport: {
    type: "sse",
    url: "https://mcp.apideck.dev/mcp",
    headers: {
      "x-apideck-api-key": "YOUR_API_KEY",
      "x-apideck-app-id": "YOUR_APP_ID",
      "x-apideck-consumer-id": "YOUR_CONSUMER_ID",
    },
  },
});

const tools = await client.tools();

Launch accounting integrations in weeks, not months

Get started for free