NetBird MCP Server for Pydantic AIGive Pydantic AI instant access to 89 tools to Accept User Invite, Approve User, Change User Password, and more
Pydantic AI brings type-safe agent development to Python with first-class MCP support. Connect NetBird 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 NetBird MCP Server for Pydantic AI is a standout in the Cloud Infrastructure category — giving your AI agent 89 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 NetBird "
"(89 tools)."
),
)
result = await agent.run(
"What tools are available in NetBird?"
)
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 NetBird MCP Server
Connect your NetBird account to any AI agent and take full control of your private network infrastructure through natural conversation.
Pydantic AI validates every NetBird tool response against typed schemas, catching data inconsistencies at build time. Connect 89 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
- Account Management — List and update account settings, including peer login expiration and network ranges using
list_accountsandupdate_account. - User Administration — Create service users, invite regular users, and manage roles or block statuses with
list_users,create_user, andupdate_user. - Access Control — Approve or reject pending users and manage user invitations efficiently using
approve_userandreject_user. - Security & Identity — Change user passwords for embedded IdP and retrieve current user information via
get_current_userandchange_user_password. - Invitation Workflow — Generate, regenerate, and track user invite links to scale your network using
list_user_invitesandcreate_user_invite.
The NetBird MCP Server exposes 89 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 89 NetBird tools available for Pydantic AI
When Pydantic AI connects to NetBird through Vinkius, your AI agent gets direct access to every tool listed below — spanning zero-trust, vpn, network-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.
Accept user invite on NetBird
Accept invite and set password (unauthenticated)
Approve user on NetBird
Approve a pending user
Change user password on NetBird
Change user password (embedded IdP only)
Create group on NetBird
Create a group
Create msp tenant on NetBird
Create a new MSP tenant
Create nameserver on NetBird
Create a nameserver group
Create network on NetBird
Create a network
Create network resource on NetBird
Create a resource (host, subnet, or domain) in a network
Create network router on NetBird
Create a router in a network
Create policy on NetBird
Create a policy with rules (action, protocol, ports, sources, destinations)
Create posture check on NetBird
Create a posture check (version, OS, geo-location, network range, or process)
Create route on NetBird
Create a route (Deprecated)
Create setup key on NetBird
Create a setup key (one-off or reusable)
Create temporary access peer on NetBird
Create a temporary access peer
Create user on NetBird
Create a service user or invite a regular user
Create user invite on NetBird
Create a user invite link
Create user token on NetBird
Create a new personal access token
Delete account on NetBird
Delete a NetBird account and all resources
Delete group on NetBird
Delete a group
Delete nameserver on NetBird
Delete nameserver group
Delete network on NetBird
Delete a network
Delete network resource on NetBird
Delete network resource
Delete network router on NetBird
Delete network router
Delete peer on NetBird
Delete a peer
Delete policy on NetBird
Delete a policy
Delete posture check on NetBird
Delete a posture check
Delete route on NetBird
Delete a route (Deprecated)
Delete setup key on NetBird
Delete a setup key
Delete user on NetBird
Remove a user
Delete user invite on NetBird
Delete a user invite
Delete user token on NetBird
Delete a token
Get current user on NetBird
Retrieve current user info
Get dns settings on NetBird
Retrieve global DNS settings
Get group on NetBird
Retrieve group details
Get nameserver on NetBird
Retrieve nameserver group details
Get network on NetBird
Retrieve network details
Get network resource on NetBird
Retrieve network resource details
Get network router on NetBird
Retrieve network router details
Get peer on NetBird
Retrieve peer details
Get policy on NetBird
Retrieve policy details
Get posture check on NetBird
Retrieve posture check details
Get public user invite on NetBird
Get public invite info (unauthenticated)
Get route on NetBird
Retrieve route details (Deprecated)
Get setup key on NetBird
Retrieve setup key details
Get user token on NetBird
Retrieve a specific token
Invite msp tenant on NetBird
Invite an existing account as a tenant
List accessible peers on NetBird
List peers accessible by this peer
List accounts on NetBird
List all NetBird accounts
List all network routers on NetBird
List all routers across all networks
List audit events on NetBird
List all audit events (activity, initiator, target)
List cities on NetBird
List city names for a country
List countries on NetBird
List all ISO 3166-1 alpha-2 country codes
List groups on NetBird
List all groups
List msp tenants on NetBird
List all MSP tenants
List nameservers on NetBird
List all nameserver groups
List network resources on NetBird
List resources in a network
List network routers on NetBird
List routers in a network
List network traffic events on NetBird
List network traffic events (Cloud-only, experimental)
List networks on NetBird
List all networks
List peers on NetBird
List all network peers
List policies on NetBird
List all policies
List posture checks on NetBird
List all posture checks
List proxy events on NetBird
List reverse proxy access logs
List routes on NetBird
List all routes (Deprecated)
List setup keys on NetBird
List all setup keys
List user invites on NetBird
List pending user invites
List user tokens on NetBird
List all tokens for a user
List users on NetBird
List all users
Regenerate user invite on NetBird
Regenerate an invite token
Reject user on NetBird
Reject a pending user
Resend user invite on NetBird
Resend user invitation
Respond msp tenant invite on NetBird
Accept or decline an MSP invitation
Unlink msp tenant on NetBird
Unlink a tenant to a new owner
Update account on NetBird
Update account settings (e.g., peer login expiration, network range)
Update dns settings on NetBird
Update DNS settings (e.g., disabled management groups)
Update group on NetBird
Update group name, peers, or resources
Update msp tenant on NetBird
Update tenant name or access groups
Update msp tenant subscription on NetBird
Create/update tenant subscription
Update nameserver on NetBird
Update nameserver group
Update network on NetBird
Update network name/description
Update network resource on NetBird
Update network resource
Update network router on NetBird
Update network router
Update peer on NetBird
Update peer name, SSH status, or IP
Update policy on NetBird
Update policy
Update posture check on NetBird
Update posture check
Update route on NetBird
Update route (Deprecated)
Update setup key on NetBird
Update key (revoke or change auto-groups)
Update user on NetBird
Update user role, auto-groups, or block status
Verify msp tenant dns on NetBird
Verify tenant domain DNS challenge
Connect NetBird to Pydantic AI via MCP
Follow these steps to wire NetBird 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 NetBird MCP Server
Pydantic AI provides unique advantages when paired with NetBird 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 NetBird integration code
Structured output guarantee: Pydantic AI ensures tool results conform to defined schemas, eliminating runtime type errors
Dependency injection system cleanly separates your NetBird connection logic from agent behavior for testable, maintainable code
NetBird + Pydantic AI Use Cases
Practical scenarios where Pydantic AI combined with the NetBird MCP Server delivers measurable value.
Type-safe data pipelines: query NetBird with guaranteed response schemas, feeding validated data into downstream processing
API orchestration: chain multiple NetBird tool calls with Pydantic validation at each step to ensure data integrity end-to-end
Production monitoring: build validated alert agents that query NetBird and output structured, schema-compliant notifications
Testing and QA: use Pydantic AI's dependency injection to mock NetBird responses and write comprehensive agent tests
Example Prompts for NetBird in Pydantic AI
Ready-to-use prompts you can give your Pydantic AI agent to start working with NetBird immediately.
"List all users in my NetBird account."
"Create a new user invite link."
"Show me the details of the current authenticated user."
Troubleshooting NetBird MCP Server with Pydantic AI
Common issues when connecting NetBird to Pydantic AI through Vinkius, and how to resolve them.
MCPServerHTTP not found
pip install --upgrade pydantic-aiNetBird + Pydantic AI FAQ
Common questions about integrating NetBird 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 →
Walmart Drop Ship Vendor
8 toolsExclusive 1P Supplier logistics server. Map DSV operations like Lag Times and physical supply nodes securely.

edX
8 toolsSearch and discover online courses from Harvard, MIT, Berkeley and 160+ top institutions on edX.

SimplyBook.me
10 toolsEnable your AI agent to manage appointments, browse staff calendars, and handle client records via the SimplyBook.me scheduling platform.

Chatham Financial
8 toolsManage financial risk and valuations via Chatham Financial — track trades, monitor debt, and access market data directly from any AI agent.
