Nautobot MCP
该 Nautobot 应用程序将 MCP(模型上下文协议)服务器与 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. 安装软件包
2. 在你的 Nautobot 配置中添加 INSTALLED_APPS
3.配置
通过 Nautobot 的配置系统配置应用程序:
4. 升级后运行 naautobot
自定义工具
您可以通过在MCP_CUSTOM_TOOLS_DIR
指定的目录中定义 Python 函数来创建自己的自定义工具。
自定义工具示例:
MCP 服务器将自动发现并注册指定目录中所有基于功能的工具。
部署选项
方法一:手动启动
您可以手动启动 MCP 服务器:
方法 2:Systemd 服务(推荐用于生产)
在/etc/systemd/system/nautobot-mcp.service
创建一个 systemd 服务文件:
然后启用并启动服务:
查看可用工具
您可以在 Nautobot 网络界面中查看所有已注册的工具:
此页面显示所有可用的工具、其描述、模块路径和参数规范。
待办事项
- [ ] 添加一种将工具执行路由到特定 Nautobot 工作者的方法。
- [ ] 增强 Nautobot 网络界面中的工具视图,以显示工具使用情况统计数据。
- [ ] 创建一个 docker 容器来运行 MCP 服务器。
- [ ] 添加测试。
执照
该项目根据 Apache License 2.0 获得许可 - 有关详细信息,请参阅 LICENSE 文件。
This server cannot be installed
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.
这种集成使人工智能助手能够通过标准化协议与网络数据交互,为网络自动化和管理提供人工智能就绪工具和接口。
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server that allows AI assistants to invoke and interact with Integrator automation workflows through an API connection.Last updated -2TypeScriptMIT License
- -securityFlicense-qualityA protocol interface that extends AI capabilities by enabling models to interact with external systems for calculations, email operations, knowledge search, and more.Last updated -160Python
- -securityFlicense-qualityAn open-source network operations integration platform that connects large language models with network devices through the Model Context Protocol, allowing AI assistants to perform network configuration, diagnostics, and management tasks.Last updated -2Python
- -securityAlicense-qualityProvides integration with Apache Airflow's REST API, allowing AI assistants to programmatically interact with Airflow workflows, monitor DAG runs, and manage tasks.Last updated -JavaScriptMIT License