AdGuard Home MCP Server for Vercel AI SDKGive Vercel AI SDK instant access to 23 tools to Add Client, Add Filter Url, Add Rewrite, and more
The Vercel AI SDK is the TypeScript toolkit for building AI-powered applications. Connect AdGuard Home 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 AdGuard Home MCP Server for Vercel AI SDK is a standout in the Developer Tools category — giving your AI agent 23 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 AdGuard Home, 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 AdGuard Home MCP Server
Connect your AdGuard Home instance to any AI agent and take full control of your network-wide privacy and security through natural conversation.
The Vercel AI SDK gives every AdGuard Home tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 23 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
- Server Status — Monitor server health, active ports, protection states, and version information in real-time.
- Protection Control — Toggle global filtering, safe browsing, and parental controls on or off, with optional timed durations.
- DNS Configuration — View and update upstream DNS servers, bootstrap settings, and cache parameters (TTL, size, and optimistic caching).
- Filter Management — Add new blocklist or allowlist URLs and manage custom user-defined filtering rules.
- Client Insights — List and search for persistent or runtime clients, and configure specific security settings for individual devices.
- Host Auditing — Instantly check if a specific domain is being filtered or blocked for a particular client.
The AdGuard Home MCP Server exposes 23 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 23 AdGuard Home tools available for Vercel AI SDK
When Vercel AI SDK connects to AdGuard Home through Vinkius, your AI agent gets direct access to every tool listed below — spanning dns-filtering, ad-blocking, network-security, 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.
Add client on AdGuard Home
Add a new client
Add filter url on AdGuard Home
Add a new filter URL
Add rewrite on AdGuard Home
Add a DNS rewrite
Add static lease on AdGuard Home
Add a DHCP static lease
Check host on AdGuard Home
Check if a host is filtered
Configure tls on AdGuard Home
Configure TLS settings
Get dhcp status on AdGuard Home
Get DHCP server status
Get dns info on AdGuard Home
Get DNS configuration info
Get filtering status on AdGuard Home
Get filtering status and lists
Get query log on AdGuard Home
Get DNS query log
Get query log config on AdGuard Home
Get query log configuration
Get stats on AdGuard Home
Get DNS query statistics
Get status on AdGuard Home
Get AdGuard Home server status
Get tls status on AdGuard Home
Get TLS configuration status
List blocked services on AdGuard Home
List all available blocked services
List clients on AdGuard Home
List all clients
List rewrites on AdGuard Home
List DNS rewrites
Search clients on AdGuard Home
Search for clients
Set dns config on AdGuard Home
Update DNS settings
Set protection on AdGuard Home
globally. Enable or disable protection globally
Set user rules on AdGuard Home
Set custom user filtering rules
Update blocked services on AdGuard Home
Update blocked services schedule
Update query log config on AdGuard Home
Update query log configuration
Connect AdGuard Home to Vercel AI SDK via MCP
Follow these steps to wire AdGuard Home 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 AdGuard Home MCP Server
Vercel AI SDK provides unique advantages when paired with AdGuard Home 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 AdGuard Home integration everywhere
Built-in streaming UI primitives let you display AdGuard Home 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
AdGuard Home + Vercel AI SDK Use Cases
Practical scenarios where Vercel AI SDK combined with the AdGuard Home MCP Server delivers measurable value.
AI-powered web apps: build dashboards that query AdGuard Home in real-time and stream results to the UI with zero loading states
API backends: create serverless endpoints that orchestrate AdGuard Home tools and return structured JSON responses to any frontend
Chatbots with tool use: embed AdGuard Home capabilities into conversational interfaces with streaming responses and tool call visibility
Internal tools: build admin panels where team members interact with AdGuard Home through natural language queries
Example Prompts for AdGuard Home in Vercel AI SDK
Ready-to-use prompts you can give your Vercel AI SDK agent to start working with AdGuard Home immediately.
"What is the current status of my AdGuard Home server?"
"Disable protection for the next 10 minutes."
"Check if 'doubleclick.net' is currently being filtered for client 192.168.1.50."
Troubleshooting AdGuard Home MCP Server with Vercel AI SDK
Common issues when connecting AdGuard Home to Vercel AI SDK through Vinkius, and how to resolve them.
createMCPClient is not a function
npm install @ai-sdk/mcpAdGuard Home + Vercel AI SDK FAQ
Common questions about integrating AdGuard Home 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 →
Harvard ClinicalTrials
16 toolsSearch and analyze clinical trial data from Harvard and ClinicalTrials.gov for research, drug development, and healthcare innovation.

Math Evaluation Engine
2 toolsStop LLMs from hallucinating math. Evaluate complex mathematical expressions and handle exact float rounding deterministically.

Postman
9 toolsDesign, test, and document APIs collaboratively with the world most popular API development platform used by millions of developers.

Grafana k6 Cloud (Load Testing)
10 toolsManage load tests via k6 Cloud — run tests, monitor performance metrics, and audit thresholds.
