Skip to main content
Glama

Netbox MCP 服务器

强大的集成服务器,将 Netbox 的网络基础设施管理功能与 MCP(多云平台)功能相结合。

先决条件

确保您的系统上安装了以下软件:

Related MCP server: MCP-Server-Inbox

安装

选项 1:本地安装

  1. 克隆存储库:

apt install python3.10-venv
git clone https://github.com/duckmak14/netbox-mcp.git
cd netbox-mcp
  1. 创建并激活虚拟环境:

python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. 安装依赖项:

pip install -r requirements.txt
  1. 配置环境变量:在项目根目录中创建一个.env文件,其中包含以下变量:

NETBOX_URL=your_netbox_url
NETBOX_TOKEN=your_api_token
  1. 启动服务器:

python server.py
  1. 通过http://localhost:8000访问应用程序

选项 2:Docker 安装

  1. 克隆存储库:

git clone https://github.com/duckmak14/netbox-mcp.git
cd netbox-mcp
  1. 配置环境变量:在项目根目录中创建一个.env文件,其中包含以下变量:

NETBOX_URL=your_netbox_url
NETBOX_TOKEN=your_api_token
  1. 使用 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
  1. 通过http://localhost:8000访问应用程序

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

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/duckmak14/netbox-mcp'

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