Nautobot MCP Server v2
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Nautobot MCP Server v2list all cables in data center A"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Nautobot MCP Server v2
Enhanced Nautobot 3.1.0 integration for NetClaw — GraphQL reads, REST writes, ITSM-gated changes, live-vs-SoT reconciliation.
Replaces the v1 mcp-nautobot (5 IPAM-only REST tools) with 13 tools covering devices, interfaces, VLANs, prefixes, IP addresses, cables, raw GraphQL, write operations, and reconciliation.
Architecture
Reads: GraphQL API (
POST /api/graphql/) — efficient field selection, nested relationshipsWrites: REST API (
POST/PATCH /api/dcim/*,/api/ipam/*) — Nautobot 3.1.0 has no GraphQL mutationsTransport: stdio (FastMCP)
Related MCP server: NetBox MCP Server
Tools (13)
Read Tools (7) — GraphQL
Tool | Description |
| Query devices with filters (name, location, role, platform, status) |
| Query interfaces with VLAN assignments, IPs, cable peer |
| Query VLANs with locations, groups, tenants |
| Query IP prefixes from IPAM |
| Query IP addresses with interface/device assignments |
| Query cables with resolved endpoint names |
| Execute arbitrary GraphQL queries (plugins, custom fields) |
Write Tools (5) — REST API, ITSM-gated
Tool | Description |
| Create IP address, optionally assign to interface |
| Create VLAN with location association |
| Create IP prefix |
| Update any object (device, interface, IP, VLAN, prefix, cable) |
| Compare live device state against Nautobot SoT |
Utility (1)
Tool | Description |
| Verify GraphQL and REST connectivity |
Environment Variables
Variable | Required | Default | Description |
| Yes | — | Nautobot base URL (e.g., |
| Yes | — | API token with read+write permissions |
| No |
| Verify SSL certificates |
| No |
| Request timeout in seconds |
| No |
| Enable ITSM gating for writes |
| No |
| Bypass ITSM gating for lab use |
Installation
cd mcp-servers/nautobot-mcp-v2/
pip install -r requirements.txtStandalone Test
export NAUTOBOT_URL="https://nautobot.example.com"
export NAUTOBOT_TOKEN="your-token"
export NAUTOBOT_VERIFY_SSL="false"
python3 -u server.pyFiles
File | Purpose |
| FastMCP server with all 13 tool definitions |
| GraphQL + REST client, ID resolution, error handling |
| Interface reconciliation diff engine |
| Python dependencies |
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only MCP access to a documented IT fleet: state, changes, posture. 15 tools.
- ZopDev MCPOAuthdev.zop
Cloud cost, inventory and governance on AWS/Azure/GCP. Read-only by default, optional scoped writes
- mcpOAuthcom.vibgrate
Query your team's drift, vulnerability, and upgrade data from any AI assistant. OAuth 2.1, 51 tools.
CloudOracle - 14-tool multi-cloud compliance MCP: AWS, Azure, GCP posture, IAM, configs.
Related MCP Servers
- AlicenseAqualityFmaintenanceEnables comprehensive interaction with NetBox infrastructure management through both read and write operations. Supports full CRUD operations for devices, IP addresses, sites, racks, and other NetBox objects through natural language commands.917Apache 2.0
- AlicenseNot gradedqualityNot gradedmaintenanceEnables interaction with NetBox infrastructure management platform to query and manage devices, VMs, IP addresses, and VLANs. Features secure HashiCorp Vault integration and PostgreSQL state tracking for comprehensive infrastructure automation.2MIT
- AlicenseAqualityAmaintenanceProvides MCP tools for governed multi-vendor network device operations, including configuration management (backup, diff, merge, replace, rollback) and read-only queries (facts, interfaces, BGP, LLDP, ARP) via NAPALM, with optional NetBox source-of-truth integration.33MIT
- AlicenseNot gradedqualityBmaintenanceA read-only MCP server for interacting with Nautobot, enabling network source of truth queries, device management, IPAM, and data quality audits via tools and prompts.MIT