AdGuard Home MCP Server for Pydantic AIGive Pydantic AI instant access to 23 tools to Add Client, Add Filter Url, Add Rewrite, and more
Pydantic AI brings type-safe agent development to Python with first-class MCP support. Connect AdGuard Home through Vinkius and every tool is automatically validated against Pydantic schemas. catch errors at build time, not in production.
Ask AI about this MCP Server for Pydantic AI
The AdGuard Home MCP Server for Pydantic AI 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 asyncio
from pydantic_ai import Agent
from pydantic_ai.mcp import MCPServerHTTP
async def main():
# Your Vinkius token. get it at cloud.vinkius.com
server = MCPServerHTTP(url="https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp")
agent = Agent(
model="openai:gpt-4o",
mcp_servers=[server],
system_prompt=(
"You are an assistant with access to AdGuard Home "
"(23 tools)."
),
)
result = await agent.run(
"What tools are available in AdGuard Home?"
)
print(result.data)
asyncio.run(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.
Pydantic AI validates every AdGuard Home tool response against typed schemas, catching data inconsistencies at build time. Connect 23 tools through Vinkius and switch between OpenAI, Anthropic, or Gemini without changing your integration code. full type safety, structured output guarantees, and dependency injection for testable agents.
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 Pydantic AI 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 Pydantic AI
When Pydantic AI 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 Pydantic AI via MCP
Follow these steps to wire AdGuard Home into Pydantic AI. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install Pydantic AI
pip install pydantic-aiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
agent.py and run: python agent.pyExplore tools
Why Use Pydantic AI with the AdGuard Home MCP Server
Pydantic AI provides unique advantages when paired with AdGuard Home through the Model Context Protocol.
Full type safety: every MCP tool response is validated against Pydantic models, catching data inconsistencies before they reach your application
Model-agnostic architecture. switch between OpenAI, Anthropic, or Gemini without changing your AdGuard Home integration code
Structured output guarantee: Pydantic AI ensures tool results conform to defined schemas, eliminating runtime type errors
Dependency injection system cleanly separates your AdGuard Home connection logic from agent behavior for testable, maintainable code
AdGuard Home + Pydantic AI Use Cases
Practical scenarios where Pydantic AI combined with the AdGuard Home MCP Server delivers measurable value.
Type-safe data pipelines: query AdGuard Home with guaranteed response schemas, feeding validated data into downstream processing
API orchestration: chain multiple AdGuard Home tool calls with Pydantic validation at each step to ensure data integrity end-to-end
Production monitoring: build validated alert agents that query AdGuard Home and output structured, schema-compliant notifications
Testing and QA: use Pydantic AI's dependency injection to mock AdGuard Home responses and write comprehensive agent tests
Example Prompts for AdGuard Home in Pydantic AI
Ready-to-use prompts you can give your Pydantic AI 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 Pydantic AI
Common issues when connecting AdGuard Home to Pydantic AI through Vinkius, and how to resolve them.
MCPServerHTTP not found
pip install --upgrade pydantic-aiAdGuard Home + Pydantic AI FAQ
Common questions about integrating AdGuard Home MCP Server with Pydantic AI.
How does Pydantic AI discover MCP tools?
MCPServerHTTP instance with the server URL. Pydantic AI connects, discovers all tools, and generates typed Python interfaces automatically.Does Pydantic AI validate MCP tool responses?
Can I switch LLM providers without changing MCP code?
Explore More MCP Servers
View all →
Nager.Date
6 toolsManage public holidays worldwide — audit global events and calendars via AI.

Beamer
10 toolsManage product updates and user feedback via Beamer — create posts, track analytics, and monitor feedback directly from any AI agent.

Auth0 Alternative
13 toolsManage identity and access via Auth0 — list users, create accounts, audit logs, manage clients and review connections from any AI agent.

Terraform Cloud (HCP)
42 toolsManage infrastructure lifecycle via Terraform Cloud (HCP) — list organizations, manage workspaces, trigger runs, and inspect state outputs directly from your AI agent.
