AF

alpadalar/fortigate-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

44 stars 28 forks 品質 86 トレンド 15MIT

alpadalar/fortigate-mcp-server は [https://github.com/alpadalar/fortigate-mcp-server.] からインポートされた MCP サーバーの候補です

概要

alpadalar/fortigate-mcp-server は [https://github.com/alpadalar/fortigate-mcp-server.] からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

FortiGate MCP Server - FortiGateデバイスを管理するための包括的なモデルコンテキストプロトコル(MCP)サーバー。 このプロジェクトは、FortiGateデバイスへのプログラムアクセスを提供し、Claude Desktop、Claude Code、CursorなどのMCP互換クライアントとの統合を可能にします。

OST の特徴

フォーティゲートMCP サーバは52のユニークなツール、99の合計ツール表面登録をstdio(49)とHTTP(50)の輸送を明らかにします。3つのcreate-toolsは、輸送固有のパラメータ形状を持っています。 覆われた区域:

  • デバイス管理: FortiGateデバイスへの接続の追加、削除、テスト
  • ファイアウォール管理: リスト、作成、更新、およびファイアウォールルールの削除
  • ネットワーク管理: アドレスとサービスオブジェクトの管理
  • レンタル管理: 静的なルートとインターフェイスの管理 -仮想IP管理:仮想IP(VIP/DNAT)の管理
  • セキュリティの可視性:セキュリティプロファイル、管理者アカウント(シークレットフィールドの赤字)、SSL-VPN設定、IPv4ローカルインポリシーへの読み取り専用インサイト
  • 構成オブジェクトの可視性:読み取り専用アドレスグループ、サービスグループ、スケジュール(再発、ワンタイム、グループ)、IPプール、中央SNATマップ、ファイアウォールゾーン(インターフェイスツーゾーンインデックス付き)、およびDHCPサーバースコープ

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

FortiGate MCP Server

FortiGate MCP Server - A comprehensive Model Context Protocol (MCP) server for managing FortiGate devices. This project provides programmatic access to FortiGate devices and enables integration with MCP-compatible clients such as Claude Desktop, Claude Code, and Cursor.

🚀 Features

FortiGate MCP Server exposes 52 unique tools, 99 total tool-surface registrations across stdio (49) and HTTP (50) transports; 3 create-tools have transport-specific parameter shapes. Covered areas:

  • Device Management: Add, remove, and test connections to FortiGate devices
  • Firewall Management: List, create, update, and delete firewall rules
  • Network Management: Manage address and service objects
  • Routing Management: Manage static routes and interfaces
  • Virtual IP Management: Manage virtual IPs (VIP/DNAT)
  • Security Visibility: Read-only insight into security profiles, admin accounts (secret fields redacted), SSL-VPN settings, and IPv4 local-in policies
  • Config-Object Visibility: Read-only address groups, service groups, schedules (recurring, one-time, groups), IP pools, central SNAT maps, firewall zones (with an interface-to-zone index), and DHCP server scopes
  • Monitor Visibility: Read-only system resources, license status, HA status (standalone reported as such), ARP table, and DHCP leases
  • IPsec, Sessions & Policy Hygiene: Read-only IPsec tunnel status (no pre-shared keys), capped firewall session listing with validated filters, and offline policy hygiene analysis (shadowed, duplicate, any-any, disabled)
  • HTTP Transport: MCP protocol over HTTP using FastMCP 4 (fastmcp>=4.1.2,<5)
  • Docker Support: Easy installation and deployment
  • MCP Client Integration: Works with Claude Desktop, Claude Code, Cursor, and other MCP-compatible clients

📋 Requirements

  • Python 3.11+ (3.11, 3.12, 3.13 and 3.14 are tested in CI)
  • uv package manager (recommended) or pip
  • Access to FortiGate device
  • API token (recommended) or username/password
  • FortiOS 7.4 and 7.6 are the supported release lines. FortiOS 8.0 has not been verified. On 7.6 and later, use an API token: password/session login is reported to be deprecated there (unofficial community sources; see SECURITY.md)
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "fortigate-mcp-stdio": { "type": "stdio", "command": "uv", "args": ["run", "--directory", "${CLAUDE_PROJECT_DIR}", "python", "-m", "src.fortigate_mcp.server"], "env": { "FORTIGATE_MCP_CONFIG": "${CLAUDE_PROJECT_DIR}/config/config.json" } } } }