fortinac-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@fortinac-mcplist rogue hosts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 availabilitylist_rogues-- lists rogue hosts (MAC, IP, vendor, VLAN)diagnose_rogues-- batch diagnosis: tests each rogue against all profiling rulesdiagnose_host-- diagnosis of a host by MAC addressscan_host-- nmap scan on an IP (ports, services, OS)lookup_vendor-- looks up the manufacturer from a MAC addressget_profiling_rules-- exports profiling rules from FortiNACget_host_details-- full details of a hostreprofile_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.
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