Hookdeck MCP Server for Vercel AI SDKGive Vercel AI SDK instant access to 52 tools to Cancel Event, Count Connections, Count Sources, and more
The Vercel AI SDK is the TypeScript toolkit for building AI-powered applications. Connect Hookdeck through Vinkius and every tool is available as a typed function. ready for React Server Components, API routes, or any Node.js backend.
Ask AI about this MCP Server for Vercel AI SDK
The Hookdeck MCP Server for Vercel AI SDK is a standout in the Developer Tools category — giving your AI agent 52 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import { createMCPClient } from "@ai-sdk/mcp";
import { generateText } from "ai";
import { openai } from "@ai-sdk/openai";
async function main() {
const mcpClient = await createMCPClient({
transport: {
type: "http",
// Your Vinkius token. get it at cloud.vinkius.com
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
});
try {
const tools = await mcpClient.tools();
const { text } = await generateText({
model: openai("gpt-4o"),
tools,
prompt: "Using Hookdeck, list all available capabilities.",
});
console.log(text);
} finally {
await mcpClient.close();
}
}
main();
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About Hookdeck MCP Server
Connect your Hookdeck account to any AI agent to orchestrate your webhook infrastructure through natural conversation. Hookdeck provides the reliability layer for your event-driven architecture, and this server puts that power in your chat interface.
The Vercel AI SDK gives every Hookdeck tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 52 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
What you can do
- Connection Management — List, create, and update connections that route webhooks from sources to destinations.
- Traffic Control — Instantly pause or resume event routing for specific connections to manage maintenance windows or outages.
- Source Monitoring — Retrieve and count your webhook sources to understand where your incoming data originates.
- Lifecycle Operations — Enable or disable connections and manage their rules via JSON payloads without leaving your workflow.
- Deep Inspection — Fetch specific metadata for any connection or source using unique IDs to debug routing issues.
The Hookdeck MCP Server exposes 52 tools through the Vinkius. Connect it to Vercel AI SDK in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 52 Hookdeck tools available for Vercel AI SDK
When Vercel AI SDK connects to Hookdeck through Vinkius, your AI agent gets direct access to every tool listed below — spanning webhooks, event-driven, api-integration, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Cancel event on Hookdeck
Cancel scheduled retries for an event
Count connections on Hookdeck
Count total connections
Count sources on Hookdeck
Count total sources
Create bookmark on Hookdeck
Create a new bookmark
Create connection on Hookdeck
Create a connection
Create destination on Hookdeck
Create a new destination
Create issue trigger on Hookdeck
Create a new issue trigger
Create source on Hookdeck
Create a new source
Create transformation on Hookdeck
Create a new transformation
Delete bookmark on Hookdeck
Remove a bookmark
Delete connection on Hookdeck
Permanently delete a connection
Delete destination on Hookdeck
Delete a destination
Delete issue trigger on Hookdeck
Delete an issue trigger
Delete source on Hookdeck
Delete a source
Disable connection on Hookdeck
Disable a connection
Disable source on Hookdeck
Disable a source
Enable connection on Hookdeck
Enable a disabled connection
Enable source on Hookdeck
Enable a source
Get attempt on Hookdeck
Retrieve a specific attempt
Get connection on Hookdeck
Retrieve a specific connection
Get destination on Hookdeck
Retrieve a specific destination
Get event on Hookdeck
Retrieve a specific event
Get issue trigger on Hookdeck
Retrieve a specific issue trigger
Get metrics attempts on Hookdeck
Delivery attempt metrics
Get metrics events on Hookdeck
Event processing statistics
Get metrics queue depth on Hookdeck
Current queue depth per destination
Get metrics requests on Hookdeck
Request volume metrics
Get metrics transformations on Hookdeck
Transformation execution performance
Get request on Hookdeck
Retrieve a specific request
Get source on Hookdeck
Retrieve a specific source
Get transformation on Hookdeck
Retrieve a specific transformation
List attempts on Hookdeck
Retrieve a list of delivery attempts
List bookmarks on Hookdeck
Retrieve a list of bookmarks
List connections on Hookdeck
Retrieve a list of connections
List destinations on Hookdeck
Retrieve a list of destinations
List events on Hookdeck
Retrieve a list of events
List issue triggers on Hookdeck
Retrieve a list of issue triggers
List requests on Hookdeck
Retrieve a list of requests
List sources on Hookdeck
Retrieve a list of sources
List transformations on Hookdeck
Retrieve a list of transformations
Pause connection on Hookdeck
Pause event routing for a connection
Retry event on Hookdeck
Manually retry a failed event
Retry request on Hookdeck
Retry a rejected request
Test transformation on Hookdeck
Test transformation code against a payload
Trigger bookmark on Hookdeck
Replay the bookmarked request
Unpause connection on Hookdeck
Resume event routing for a connection
Update connection on Hookdeck
Update a connection rules or name
Update destination on Hookdeck
Update destination config (URL, rate limit, etc.)
Update issue trigger on Hookdeck
Update an issue trigger
Update source on Hookdeck
Update a source
Update transformation on Hookdeck
Update transformation code
Upsert connection on Hookdeck
Create or update a connection by name
Connect Hookdeck to Vercel AI SDK via MCP
Follow these steps to wire Hookdeck into Vercel AI SDK. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
npm install @ai-sdk/mcp ai @ai-sdk/openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the script
agent.ts and run with npx tsx agent.tsExplore tools
Why Use Vercel AI SDK with the Hookdeck MCP Server
Vercel AI SDK provides unique advantages when paired with Hookdeck through the Model Context Protocol.
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same Hookdeck integration everywhere
Built-in streaming UI primitives let you display Hookdeck tool results progressively in React, Svelte, or Vue components
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
Hookdeck + Vercel AI SDK Use Cases
Practical scenarios where Vercel AI SDK combined with the Hookdeck MCP Server delivers measurable value.
AI-powered web apps: build dashboards that query Hookdeck in real-time and stream results to the UI with zero loading states
API backends: create serverless endpoints that orchestrate Hookdeck tools and return structured JSON responses to any frontend
Chatbots with tool use: embed Hookdeck capabilities into conversational interfaces with streaming responses and tool call visibility
Internal tools: build admin panels where team members interact with Hookdeck through natural language queries
Example Prompts for Hookdeck in Vercel AI SDK
Ready-to-use prompts you can give your Vercel AI SDK agent to start working with Hookdeck immediately.
"List all my current Hookdeck connections."
"Pause the connection with ID conn_456 immediately."
"How many webhook sources do I have?"
Troubleshooting Hookdeck MCP Server with Vercel AI SDK
Common issues when connecting Hookdeck to Vercel AI SDK through Vinkius, and how to resolve them.
createMCPClient is not a function
npm install @ai-sdk/mcpHookdeck + Vercel AI SDK FAQ
Common questions about integrating Hookdeck MCP Server with Vercel AI SDK.
How does the Vercel AI SDK connect to MCP servers?
createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.Can I use MCP tools in Edge Functions?
Does it support streaming tool results?
useChat and streamText that handle tool calls and display results progressively in the UI.Explore More MCP Servers
View all →
Papermark (Docsend Alternative)
6 toolsSecurely share documents, track engagement, and manage links with Papermark — the open-source DocSend alternative for your AI agent.

Spellbook Legal AI
13 toolsAI-powered contract drafting and review — analyze contracts, draft clauses, detect risks, and compare against 2,000+ market precedents via Spellbook.

Ahrefs
10 toolsProfessional SEO intelligence — audit backlinks, keywords, and domain health via AI.

Salesforce Sales Cloud
10 toolsManage leads, opportunities, accounts, contacts, and your entire sales pipeline through natural conversation with your Salesforce CRM.
