Fortigate设备管理服务器

一个基于FastMCP的Fortigate设备管理服务器,提供设备管理、防火墙策略管理、网络对象管理和路由管理等功能。

  • by Filippo125
  • Python
  • 本地部署
  • 1 星标
  • 更新于
在 GitHub 查看 filippo125/fortigate-mcp-server

使用说明

README.md

Fortigate MCP服务器

用于使用FastMCP管理Fortigate设备的MCP(模型上下文协议)服务器。

特性

设备管理

  • ✅ 添加/删除设备
  • ✅ 列出已配置的设备
  • ✅ 系统状态和设备信息
  • ✅ VDOM发现

防火墙策略管理

  • ✅ 列出现有政策
  • 🔄 创建新策略待定
  • 🔄 修改现有策略待定
  • 🔄 删除策略待定
  • ✅ 策略验证

网络对象管理

  • ✅ 地址对象(IP、范围、FQDN)
  • ✅ 服务对象(TCP/UDP)
  • 🔄 创建/修改对象待定

路由管理

  • ✅ 静态路由
  • ✅ 路由表
  • ✅ 策略路由
  • ✅ 接口列表

安装

  1. 克隆存储库
git clone https://github.com/Filippo125/fortigate-mcp-server.git
cd fortigate-mcp-server
  1. 安装依赖项
uv sync
  1. 配置设备
cp config.yaml.example config.yaml
  1. 启动服务器
uv run python server.py