fortinac-mcp
fortinac-mcp
Code généré par IA (vibe-coded) / Code entirely generated by IA
Serveur MCP pour diagnostiquer les rogue hosts sur FortiNAC 7.6.
Interroge l'API REST FortiNAC, cross-reference chaque device contre les profiling rules, et lance des scans nmap pour identifier precisement quelles conditions bloquent la classification.
Prerequis
Python 3.10+
nmap (
brew install nmap)Un token API FortiNAC avec acces lecture aux hosts et aux profiling rules
Related MCP server: MCP Network Tools
Installation
cd fortinac-mcp
python3 -m venv .venv
.venv/bin/pip install -e .Configuration
Ajouter dans ~/.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"
}
}
}Relancer Claude Code pour charger le serveur.
Outils
check_status-- verifie la connexion API et la disponibilite de nmaplist_rogues-- liste les rogue hosts (MAC, IP, vendor, VLAN)diagnose_rogues-- diagnostic batch : teste chaque rogue contre toutes les profiling rulesdiagnose_host-- diagnostic d'un host par adresse MACscan_host-- scan nmap sur une IP (ports, services, OS)lookup_vendor-- recherche le fabricant a partir d'une adresse MACget_profiling_rules-- exporte les regles de profiling depuis FortiNACget_host_details-- details complets d'un hostreprofile_all_rogues-- relance l'evaluation des rogues cote FortiNAC
Diagnostic
Pour chaque rogue, diagnose_rogues verifie :
Vendor OUI (correspondance MAC / fabricant attendu)
Ports ouverts via nmap (vs ports requis par la regle)
DHCP fingerprint (presence et correspondance)
SNMP OID (reponse et valeur attendue)
IP range (sous-reseau correct)
Location (placement reseau)
Le rapport indique les conditions qui passent, celles qui echouent, et propose des actions correctives.
This server cannot be deployed
Maintenance
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
Remote MCP server for OFAC screening, EDD memos, exposure forecasts, queues, and reports.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for managing Fortinet FortiCNAPP via AI agents, enabling vulnerability scanning, agent management, and compliance monitoring.MIT
- FlicenseNot gradedqualityDmaintenanceA secure MCP server for network diagnostics, providing tools like ping, traceroute, whois, nslookup, dig, nmap, curl, and netstat through natural language interfaces.-
- AlicenseAqualityDmaintenanceMCP server for managing Ruckus vSZ wireless controllers, providing 52 tools across 12 modules to query and manage APs, WLANs, zones, clients, alarms, and more, enabling LLM-driven network operations.532MIT
- AlicenseNot gradedqualityDmaintenanceAn 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