Skip to main content
Glama
benbelo
by benbelo

fortinac-mcp

Von KI generierter Code (vibe-coded) / Von KI vollständig generierter Code

MCP-Server zum Diagnostizieren von Rogue-Hosts auf FortiNAC 7.6.

Fragt die FortiNAC-REST-API ab, gleicht jedes Gerät mit den Profiling-Regeln ab und führt nmap-Scans durch, um genau zu identifizieren, welche Bedingungen die Klassifizierung blockieren.

Voraussetzungen

  • Python 3.10+

  • nmap (brew install nmap)

  • Ein FortiNAC-API-Token mit Lesezugriff auf Hosts und Profiling-Regeln

Related MCP server: MCP Network Tools

Installation

cd fortinac-mcp
python3 -m venv .venv
.venv/bin/pip install -e .

Konfiguration

In ~/.mcp.json hinzufügen:

{
  "fortinac": {
    "type": "stdio",
    "command": "/chemin/vers/fortinac-mcp/.venv/bin/python",
    "args": ["-m", "fortinac_mcp"],
    "env": {
      "FORTINAC_URL": "https://fortinac.example.com",
      "FORTINAC_TOKEN": "votre-token-api",
      "FORTINAC_VERIFY_SSL": "false"
    }
  }
}

Claude Code neu starten, um den Server zu laden.

Werkzeuge

  • check_status -- prüft die API-Verbindung und die Verfügbarkeit von nmap

  • list_rogues -- listet die Rogue-Hosts auf (MAC, IP, Vendor, VLAN)

  • diagnose_rogues -- Batch-Diagnose: testet jeden Rogue-Host gegen alle Profiling-Regeln

  • diagnose_host -- Diagnose eines Hosts anhand der MAC-Adresse

  • scan_host -- nmap-Scan auf einer IP (Ports, Dienste, OS)

  • lookup_vendor -- sucht den Hersteller anhand einer MAC-Adresse

  • get_profiling_rules -- exportiert die Profiling-Regeln aus FortiNAC

  • get_host_details -- vollständige Details eines Hosts

  • reprofile_all_rogues -- startet die Neubewertung der Rogue-Hosts seitens FortiNAC

Diagnose

Für jeden Rogue prüft diagnose_rogues:

  • Vendor OUI (MAC-Übereinstimmung / erwarteter Hersteller)

  • Offene Ports via nmap (vs. von der Regel benötigte Ports)

  • DHCP-Fingerprint (Vorhandensein und Übereinstimmung)

  • SNMP-OID (Antwort und erwarteter Wert)

  • IP-Bereich (korrektes Subnetz)

  • Standort (Netzwerkplatzierung)

Der Bericht zeigt, welche Bedingungen erfüllt sind, welche fehlschlagen, und schlägt Korrekturmaßnahmen vor.

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    MCP server for managing Fortinet FortiCNAPP via AI agents, enabling vulnerability scanning, agent management, and compliance monitoring.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that enables natural language management of FortiGate firewalls via the FortiOS REST API, offering 393 tools for system, policy, routing, VPN, and security configuration.
    MIT

View all related MCP servers

Related MCP Connectors

  • XFA's remote MCP server — query device posture, compliance, policies & CVEs. Read-only.

  • MEOK MCP Hardening MCP — automated security red-team for any MCP server. Maps OWASP LLM Top 10

  • A paid remote MCP for ClawManager, built to return verdicts, receipts, usage logs, and audit-ready J

View all MCP Connectors

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/benbelo/fortinac-mcp'

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