Skip to main content
Glama
benbelo
by benbelo

fortinac-mcp

Code generated by AI (vibe-coded) / Code entirely generated by AI

MCP server for diagnosing rogue hosts on FortiNAC 7.6.

Queries the FortiNAC REST API, cross-references each device against the profiling rules, and runs nmap scans to precisely identify which conditions are blocking classification.

Prerequisites

  • Python 3.10+

  • nmap (brew install nmap)

  • A FortiNAC API token with read access to hosts and profiling rules

Related MCP server: MCP Network Tools

Installation

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

Configuration

Add to ~/.mcp.json:

{
  "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"
    }
  }
}

Restart Claude Code to load the server.

Tools

  • check_status -- checks the API connection and nmap availability

  • list_rogues -- lists rogue hosts (MAC, IP, vendor, VLAN)

  • diagnose_rogues -- batch diagnosis: tests each rogue against all profiling rules

  • diagnose_host -- diagnosis of a host by MAC address

  • scan_host -- nmap scan on an IP (ports, services, OS)

  • lookup_vendor -- looks up the manufacturer from a MAC address

  • get_profiling_rules -- exports profiling rules from FortiNAC

  • get_host_details -- full details of a host

  • reprofile_all_rogues -- re-runs rogue evaluation on the FortiNAC side

Diagnostics

For each rogue, diagnose_rogues checks:

  • Vendor OUI (MAC match / expected manufacturer)

  • Open ports via nmap (vs ports required by the rule)

  • DHCP fingerprint (presence and match)

  • SNMP OID (response and expected value)

  • IP range (correct subnet)

  • Location (network placement)

The report indicates the conditions that pass, those that fail, and suggests corrective actions.

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