4,000+ servers built on vurb.ts
Vinkius

NetBird MCP Server for LangChainGive LangChain instant access to 89 tools to Accept User Invite, Approve User, Change User Password, and more

MCP Inspector GDPR Free for Subscribers

LangChain is the leading Python framework for composable LLM applications. Connect NetBird through Vinkius and LangChain agents can call every tool natively. combine them with retrievers, memory, and output parsers for sophisticated AI pipelines.

Ask AI about this MCP Server for LangChain

The NetBird MCP Server for LangChain is a standout in the Cloud Infrastructure category — giving your AI agent 89 tools to work with, ready to go from day one.

Built for AI Agents by Vinkius

Vinkius delivers Streamable HTTP and SSE to any MCP client

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
python
import asyncio
from langchain_mcp_adapters.client import MultiServerMCPClient
from langchain_openai import ChatOpenAI
from langgraph.prebuilt import create_react_agent

async def main():
    # Your Vinkius token. get it at cloud.vinkius.com
    async with MultiServerMCPClient({
        "netbird": {
            "transport": "streamable_http",
            "url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
        }
    }) as client:
        tools = client.get_tools()
        agent = create_react_agent(
            ChatOpenAI(model="gpt-4o"),
            tools,
        )
        response = await agent.ainvoke({
            "messages": [{
                "role": "user",
                "content": "Using NetBird, show me what tools are available.",
            }]
        })
        print(response["messages"][-1].content)

asyncio.run(main())
NetBird
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* 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.

LangChain's ecosystem of 500+ components combines seamlessly with NetBird through native MCP adapters. Connect 89 tools via Vinkius and use ReAct agents, Plan-and-Execute strategies, or custom agent architectures. with LangSmith tracing giving full visibility into every tool call, latency, and token cost.

What you can do

  • Account Management — List and update account settings, including peer login expiration and network ranges using list_accounts and update_account.
  • User Administration — Create service users, invite regular users, and manage roles or block statuses with list_users, create_user, and update_user.
  • Access Control — Approve or reject pending users and manage user invitations efficiently using approve_user and reject_user.
  • Security & Identity — Change user passwords for embedded IdP and retrieve current user information via get_current_user and change_user_password.
  • Invitation Workflow — Generate, regenerate, and track user invite links to scale your network using list_user_invites and create_user_invite.

The NetBird MCP Server exposes 89 tools through the Vinkius. Connect it to LangChain 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 LangChain

When LangChain 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

Accept user invite on NetBird

Accept invite and set password (unauthenticated)

approve

Approve user on NetBird

Approve a pending user

change

Change user password on NetBird

Change user password (embedded IdP only)

create

Create group on NetBird

Create a group

create

Create msp tenant on NetBird

Create a new MSP tenant

create

Create nameserver on NetBird

Create a nameserver group

create

Create network on NetBird

Create a network

create

Create network resource on NetBird

Create a resource (host, subnet, or domain) in a network

create

Create network router on NetBird

Create a router in a network

create

Create policy on NetBird

Create a policy with rules (action, protocol, ports, sources, destinations)

create

Create posture check on NetBird

Create a posture check (version, OS, geo-location, network range, or process)

create

Create route on NetBird

Create a route (Deprecated)

create

Create setup key on NetBird

Create a setup key (one-off or reusable)

create

Create temporary access peer on NetBird

Create a temporary access peer

create

Create user on NetBird

Create a service user or invite a regular user

create

Create user invite on NetBird

Create a user invite link

create

Create user token on NetBird

Create a new personal access token

delete

Delete account on NetBird

Delete a NetBird account and all resources

delete

Delete group on NetBird

Delete a group

delete

Delete nameserver on NetBird

Delete nameserver group

delete

Delete network on NetBird

Delete a network

delete

Delete network resource on NetBird

Delete network resource

delete

Delete network router on NetBird

Delete network router

delete

Delete peer on NetBird

Delete a peer

delete

Delete policy on NetBird

Delete a policy

delete

Delete posture check on NetBird

Delete a posture check

delete

Delete route on NetBird

Delete a route (Deprecated)

delete

Delete setup key on NetBird

Delete a setup key

delete

Delete user on NetBird

Remove a user

delete

Delete user invite on NetBird

Delete a user invite

delete

Delete user token on NetBird

Delete a token

get

Get current user on NetBird

Retrieve current user info

get

Get dns settings on NetBird

Retrieve global DNS settings

get

Get group on NetBird

Retrieve group details

get

Get nameserver on NetBird

Retrieve nameserver group details

get

Get network on NetBird

Retrieve network details

get

Get network resource on NetBird

Retrieve network resource details

get

Get network router on NetBird

Retrieve network router details

get

Get peer on NetBird

Retrieve peer details

get

Get policy on NetBird

Retrieve policy details

get

Get posture check on NetBird

Retrieve posture check details

get

Get public user invite on NetBird

Get public invite info (unauthenticated)

get

Get route on NetBird

Retrieve route details (Deprecated)

get

Get setup key on NetBird

Retrieve setup key details

get

Get user token on NetBird

Retrieve a specific token

invite

Invite msp tenant on NetBird

Invite an existing account as a tenant

list

List accessible peers on NetBird

List peers accessible by this peer

list

List accounts on NetBird

List all NetBird accounts

list

List all network routers on NetBird

List all routers across all networks

list

List audit events on NetBird

List all audit events (activity, initiator, target)

list

List cities on NetBird

List city names for a country

list

List countries on NetBird

List all ISO 3166-1 alpha-2 country codes

list

List groups on NetBird

List all groups

list

List msp tenants on NetBird

List all MSP tenants

list

List nameservers on NetBird

List all nameserver groups

list

List network resources on NetBird

List resources in a network

list

List network routers on NetBird

List routers in a network

list

List network traffic events on NetBird

List network traffic events (Cloud-only, experimental)

list

List networks on NetBird

List all networks

list

List peers on NetBird

List all network peers

list

List policies on NetBird

List all policies

list

List posture checks on NetBird

List all posture checks

list

List proxy events on NetBird

List reverse proxy access logs

list

List routes on NetBird

List all routes (Deprecated)

list

List setup keys on NetBird

List all setup keys

list

List user invites on NetBird

List pending user invites

list

List user tokens on NetBird

List all tokens for a user

list

List users on NetBird

List all users

regenerate

Regenerate user invite on NetBird

Regenerate an invite token

reject

Reject user on NetBird

Reject a pending user

resend

Resend user invite on NetBird

Resend user invitation

respond

Respond msp tenant invite on NetBird

Accept or decline an MSP invitation

unlink

Unlink msp tenant on NetBird

Unlink a tenant to a new owner

update

Update account on NetBird

Update account settings (e.g., peer login expiration, network range)

update

Update dns settings on NetBird

Update DNS settings (e.g., disabled management groups)

update

Update group on NetBird

Update group name, peers, or resources

update

Update msp tenant on NetBird

Update tenant name or access groups

update

Update msp tenant subscription on NetBird

Create/update tenant subscription

update

Update nameserver on NetBird

Update nameserver group

update

Update network on NetBird

Update network name/description

update

Update network resource on NetBird

Update network resource

update

Update network router on NetBird

Update network router

update

Update peer on NetBird

Update peer name, SSH status, or IP

update

Update policy on NetBird

Update policy

update

Update posture check on NetBird

Update posture check

update

Update route on NetBird

Update route (Deprecated)

update

Update setup key on NetBird

Update key (revoke or change auto-groups)

update

Update user on NetBird

Update user role, auto-groups, or block status

verify

Verify msp tenant dns on NetBird

Verify tenant domain DNS challenge

Connect NetBird to LangChain via MCP

Follow these steps to wire NetBird into LangChain. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.

01

Install dependencies

Run pip install langchain langchain-mcp-adapters langgraph langchain-openai
02

Replace the token

Replace [YOUR_TOKEN_HERE] with your Vinkius token
03

Run the agent

Save the code and run python agent.py
04

Explore tools

The agent discovers 89 tools from NetBird via MCP

Why Use LangChain with the NetBird MCP Server

LangChain provides unique advantages when paired with NetBird through the Model Context Protocol.

01

The largest ecosystem of integrations, chains, and agents. combine NetBird MCP tools with 500+ LangChain components

02

Agent architecture supports ReAct, Plan-and-Execute, and custom strategies with full MCP tool access at every step

03

LangSmith tracing gives you complete visibility into tool calls, latencies, and token usage for production debugging

04

Memory and conversation persistence let agents maintain context across NetBird queries for multi-turn workflows

NetBird + LangChain Use Cases

Practical scenarios where LangChain combined with the NetBird MCP Server delivers measurable value.

01

RAG with live data: combine NetBird tool results with vector store retrievals for answers grounded in both real-time and historical data

02

Autonomous research agents: LangChain agents query NetBird, synthesize findings, and generate comprehensive research reports

03

Multi-tool orchestration: chain NetBird tools with web scrapers, databases, and calculators in a single agent run

04

Production monitoring: use LangSmith to trace every NetBird tool call, measure latency, and optimize your agent's performance

Example Prompts for NetBird in LangChain

Ready-to-use prompts you can give your LangChain agent to start working with NetBird immediately.

01

"List all users in my NetBird account."

02

"Create a new user invite link."

03

"Show me the details of the current authenticated user."

Troubleshooting NetBird MCP Server with LangChain

Common issues when connecting NetBird to LangChain through Vinkius, and how to resolve them.

01

MultiServerMCPClient not found

Install: pip install langchain-mcp-adapters

NetBird + LangChain FAQ

Common questions about integrating NetBird MCP Server with LangChain.

01

How does LangChain connect to MCP servers?

Use langchain-mcp-adapters to create an MCP client. LangChain discovers all tools and wraps them as native LangChain tools compatible with any agent type.
02

Which LangChain agent types work with MCP?

All agent types including ReAct, OpenAI Functions, and custom agents work with MCP tools. The tools appear as standard LangChain tools after the adapter wraps them.
03

Can I trace MCP tool calls in LangSmith?

Yes. All MCP tool invocations appear as traced steps in LangSmith, showing input parameters, response payloads, latency, and token usage.

Explore More MCP Servers

View all →