Skip to main content
Glama

Nautobot MCP Server

by gt732

ナウトボットMCP

ナウトボットパイソンライセンス

この Nautobot アプリは、MCP (Model Context Protocol) サーバーを Nautobot と統合し、ネットワークの自動化と管理のための AI 対応ツールとインターフェースを提供します。

概要

Nautobot MCPは、AIアシスタントやアプリケーションが標準化されたプロトコルを介してネットワークデータとやり取りすることを可能にします。このアプリはNautobotと並行してMCPサーバーを実行し、AIシステムが使用できるツールを公開します。

https://modelcontextprotocol.io/introduction

Librechat を使用したデモ - Nautobot MCP に接続

https://github.com/user-attachments/assets/283d68c2-d35f-4506-b909-45c1850e7281

インストール

1. パッケージをインストールする

pip install nautobot-mcp

2. Nautobot設定のINSTALLED_APPSに追加する

# In your nautobot_config.py PLUGINS = [ "nautobot_mcp", # ... other plugins ]

3. 構成

Nautobot の構成システムを通じてアプリを構成します。

# In your nautobot_config.py PLUGINS_CONFIG = { "nautobot_mcp": { "MCP_PORT": 8005, # MCP server port "MCP_HOST": "0.0.0.0", # Default is 0.0.0.0 "MCP_CUSTOM_TOOLS_DIR": "/path/to/your/custom/tools", # Directory for custom tools "MCP_LOAD_CORE_TOOLS": False, # Load built-in tools }, }

4. アップグレード後にnautobotを実行する

nautobot-server post_upgrade

カスタムツール

MCP_CUSTOM_TOOLS_DIRで指定されたディレクトリに Python 関数を定義することで、独自のカスタム ツールを作成できます。

カスタムツールの例:

# In /path/to/your/custom/tools/my_tools.py def some_tool(param1: str, param2: str) -> dict: """Some tool description""" # Your implementation here return {"result": f"Tool result for {param1} and {param2}"}

MCP サーバーは、指定されたディレクトリ内のすべての機能ベースのツールを自動的に検出し、登録します。

展開オプション

方法1: 手動開始

MCP サーバーを手動で起動できます。

nautobot-server start_mcp_server

方法 2: Systemd サービス (本番環境に推奨)

/etc/systemd/system/nautobot-mcp.serviceに systemd サービス ファイルを作成します。

[Unit] Description=Nautobot MCP Server After=network-online.target Wants=network-online.target [Service] User=nautobot Group=nautobot WorkingDirectory=/opt/nautobot ExecStart=/opt/nautobot/venv/bin/nautobot-server start_mcp_server Restart=on-failure RestartSec=30 PrivateTmp=true [Install] WantedBy=multi-user.target

次に、サービスを有効にして開始します。

sudo systemctl daemon-reload sudo systemctl enable --now nautobot-mcp.service

利用可能なツールの表示

登録されているすべてのツールは、Nautobot Web インターフェースで次の場所から確認できます。

https://your-nautobot-server/plugins/nautobot-mcp/tools/

このページには、利用可能なすべてのツール、その説明、モジュール パス、およびパラメーターの仕様が表示されます。

ツール

やるべきこと

  • [ ] ツールの実行を特定の Nautobot ワーカーにルーティングする方法を追加します。
  • [ ] Nautobot Web インターフェースのツール ビューを拡張して、ツールの使用状況の統計を表示します。
  • [ ] MCP サーバーを実行するための Docker コンテナを作成します。
  • [ ] テストを追加します。

ライセンス

このプロジェクトは、Apache License 2.0 に基づいてライセンスされています。詳細については、LICENSE ファイルを参照してください。

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

AI アシスタントが標準化されたプロトコルを介してネットワーク データと対話できるようにし、ネットワークの自動化と管理のための AI 対応ツールとインターフェイスを提供する統合。

  1. 概要
    1. Librechat を使用したデモ - Nautobot MCP に接続
      1. インストール
        1. パッケージをインストールする
        2. Nautobot設定のINSTALLED\_APPSに追加する
        3. 構成
        4. アップグレード後にnautobotを実行する
      2. カスタムツール
        1. 展開オプション
          1. 方法1: 手動開始
          2. 方法 2: Systemd サービス (本番環境に推奨)
        2. 利用可能なツールの表示
          1. やるべきこと
            1. ライセンス

              Related MCP Servers

              • -
                security
                A
                license
                -
                quality
                Enables AI assistants to perform network scanning operations using NMAP, offering a standardized interface for network analysis and security assessments through AI conversations.
                Last updated -
                11
                3
                JavaScript
                MIT License
              • -
                security
                F
                license
                -
                quality
                A comprehensive Model Context Protocol server implementation that enables AI assistants to interact with file systems, databases, GitHub repositories, web resources, and system tools while maintaining security and control.
                Last updated -
                16
                TypeScript
              • -
                security
                A
                license
                -
                quality
                A Model Context Protocol server that allows AI assistants to invoke and interact with Integrator automation workflows through an API connection.
                Last updated -
                TypeScript
                MIT License
              • A
                security
                A
                license
                A
                quality
                Enables AI assistants to discover, retrieve details about, and manage MCP (Model Context Protocol) servers that provide additional tools and capabilities on demand.
                Last updated -
                4
                724
                1
                JavaScript
                AGPL 3.0
                • Linux
                • Apple

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/gt732/nautobot-app-mcp'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server