Netbox MCP 服务器
强大的集成服务器,将 Netbox 的网络基础设施管理功能与 MCP(多云平台)功能相结合。
先决条件
确保您的系统上安装了以下软件:
Docker :安装 Docker
Docker Compose :安装 Docker Compose
Related MCP server: MCP-Server-Inbox
安装
选项 1:本地安装
克隆存储库:
apt install python3.10-venv
git clone https://github.com/duckmak14/netbox-mcp.git
cd netbox-mcp创建并激活虚拟环境:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate安装依赖项:
pip install -r requirements.txt配置环境变量:在项目根目录中创建一个
.env文件,其中包含以下变量:
NETBOX_URL=your_netbox_url
NETBOX_TOKEN=your_api_token启动服务器:
python server.py通过
http://localhost:8000访问应用程序
选项 2:Docker 安装
克隆存储库:
git clone https://github.com/duckmak14/netbox-mcp.git
cd netbox-mcp配置环境变量:在项目根目录中创建一个
.env文件,其中包含以下变量:
NETBOX_URL=your_netbox_url
NETBOX_TOKEN=your_api_token使用 Docker Compose 构建并运行:
**Note:** Starting from Docker Compose version 2.0, use the `docker compose` command. For older versions, use `docker-compose`.# Build and start the container in detached mode
docker compose up -d
# View logs
docker compose logs -f
# Stop the container
docker compose down**Note:** For older versions, use `docker-compose`.# Build and start the container in detached mode
docker-compose up -d
# View logs
docker-compose logs -f
# Stop the container
docker-compose down通过
http://localhost:8000访问应用程序
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.