Listmonk MCP Server for Vercel AI SDKGive Vercel AI SDK instant access to 28 tools to Create Campaign, Create List, Create Public Subscription, and more
The Vercel AI SDK is the TypeScript toolkit for building AI-powered applications. Connect Listmonk 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 Listmonk MCP Server for Vercel AI SDK is a standout in the Marketing Automation category — giving your AI agent 28 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 Listmonk, 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 Listmonk MCP Server
Connect your Listmonk instance to any AI agent and take full control of your email marketing workflows through natural conversation.
The Vercel AI SDK gives every Listmonk tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 28 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
- Subscriber Management — List, create, update, or delete subscribers using SQL-like queries for precise filtering via
list_subscribersandcreate_subscriber. - List Organization — Manage your mailing lists and public subscriptions to keep your audience segmented using
list_listsandcreate_list. - Campaign Control — Create, monitor, and update the status of your email campaigns from draft to sent with
create_campaignandupdate_campaign_status. - Transactional Emails — Send high-priority transactional messages instantly via the
send_transactionaltool. - Media & Templates — Manage your asset library and email templates without leaving your chat interface using
list_templatesandlist_media.
The Listmonk MCP Server exposes 28 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 28 Listmonk tools available for Vercel AI SDK
When Vercel AI SDK connects to Listmonk through Vinkius, your AI agent gets direct access to every tool listed below — spanning newsletter-management, mailing-lists, subscriber-management, 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.
Create campaign on Listmonk
Create a new campaign
Create list on Listmonk
Create a new list
Create public subscription on Listmonk
Create a public subscription
Create subscriber on Listmonk
Create a new subscriber
Create template on Listmonk
Create a template
Delete bounces on Listmonk
Delete multiple bounce records
Delete campaign on Listmonk
Delete a campaign
Delete list on Listmonk
Delete a list
Delete media on Listmonk
Delete a media file
Delete subscriber on Listmonk
Delete a specific subscriber
Delete template on Listmonk
Delete a template
Get campaign on Listmonk
Retrieve a specific campaign
Get import status on Listmonk
Retrieve import status
Get subscriber on Listmonk
Retrieve a specific subscriber
List bounces on Listmonk
Retrieve bounce records
List campaigns on Listmonk
Retrieve all campaigns
List lists on Listmonk
Retrieve all lists
List media on Listmonk
Get uploaded media files
List public lists on Listmonk
Retrieve public lists
List subscribers on Listmonk
Supports pagination, list filtering, and SQL expression search. Query and retrieve subscribers
List templates on Listmonk
Retrieve all templates
Patch subscriber on Listmonk
Partially update a subscriber
Send transactional message on Listmonk
Send transactional messages to one or more subscribers using a template
Stop import on Listmonk
Stop an ongoing import
Update campaign status on Listmonk
Change campaign status
Update list on Listmonk
Update a list
Update subscriber on Listmonk
Update a specific subscriber
Update template on Listmonk
Update a template
Connect Listmonk to Vercel AI SDK via MCP
Follow these steps to wire Listmonk 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 Listmonk MCP Server
Vercel AI SDK provides unique advantages when paired with Listmonk 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 Listmonk integration everywhere
Built-in streaming UI primitives let you display Listmonk 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
Listmonk + Vercel AI SDK Use Cases
Practical scenarios where Vercel AI SDK combined with the Listmonk MCP Server delivers measurable value.
AI-powered web apps: build dashboards that query Listmonk in real-time and stream results to the UI with zero loading states
API backends: create serverless endpoints that orchestrate Listmonk tools and return structured JSON responses to any frontend
Chatbots with tool use: embed Listmonk capabilities into conversational interfaces with streaming responses and tool call visibility
Internal tools: build admin panels where team members interact with Listmonk through natural language queries
Example Prompts for Listmonk in Vercel AI SDK
Ready-to-use prompts you can give your Vercel AI SDK agent to start working with Listmonk immediately.
"List all subscribers who are currently enabled in list 2."
"Create a new campaign named 'Monthly Newsletter' with the subject 'Our latest updates'."
"Show me all available email templates."
Troubleshooting Listmonk MCP Server with Vercel AI SDK
Common issues when connecting Listmonk to Vercel AI SDK through Vinkius, and how to resolve them.
createMCPClient is not a function
npm install @ai-sdk/mcpListmonk + Vercel AI SDK FAQ
Common questions about integrating Listmonk 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 →
DHL
6 toolsAI logistics: track global shipments, audit delayed packages, and quote DHL worldwide rates.

Umami Cloud
2 toolsPrivacy-focused web analytics alternative to Google Analytics.

ThinkStack
10 toolsManage AI chatbots via ThinkStack u2014 query bots, manage knowledge sources, review conversations, and configure actions from your AI agent.

Billsby
10 toolsManage subscription billing via Billsby — list customers, subscriptions, and invoices directly from any AI agent.
