MCP directory

Fortinet MCP

by github.com/Servosity · v0.1.10 · updated Nov 14, 2026

Audit every client FortiGate for firmware, SSL-VPN exposure, admin accounts and license expiry.

MCP Bundle

Run it locally

Install the package and point your AI client at it.

MCP Bundle

https://github.com/Servosity/msp-skills/releases/download/fortinet-v0.1.10/fortinet-mcp.mcpb

Environment variables

  • FORTINET_BASE_URLrequired

    Your FortiGate's REST API root, e.g. https://203.0.113.10:8443/api/v2.

  • FORTINET_API_TOKENrequiredsecret

    The FortiGate REST API admin token (System > Administrators > Create New > REST API Admin). Use a read-only admin profile.

  • FORTINET_DEVICES

    Optional. Path to a devices.toml listing every FortiGate the fleet, audit and policies hygiene commands check, each with a token_file. Leave blank to check only the FortiGate above.

  • FORTINET_FMG_URL

    Optional. https://<fortimanager> for the read-only fmg commands. Leave blank if you do not use FortiManager.

  • FORTINET_FMG_API_KEYsecret

    Optional. API key of a FortiManager REST API admin (FortiManager 7.2.2 or later) for the fmg commands.

  • FORTINET_CLOUD_API_USER

    Optional. FortiCloud IAM API user (with FortiGate Cloud portal permission) for the read-only cloud commands.

  • FORTINET_CLOUD_API_PASSWORDsecret

    Optional. Password of the FortiCloud IAM API user. Repeated failed logins lock the FortiCloud account for 15-30 minutes.

  • FORTINET_CLOUD_REGION

    Optional. global (default), us, eu or jp: the region your FortiGates were provisioned in.

  • FORTINET_CLOUD_ACCOUNT_ID

    Optional. Required only when FortiCloud Organizations are enabled.

  • FORTINET_MCP_READ_ONLY

    Optional. Set to 1 to expose only read-only mirrored tools and refuse any non-GET execute call.

  • FORTINET_MCP_HTTP_TOKENsecret

    Required only when running the MCP server with --transport http (a remote/hosted deployment); callers must send a matching Authorization: Bearer header. Not needed for the default local stdio transport Claude Desktop uses.

  • FORTINET_NO_LOCAL_DATA

    Optional. Set to 1 to keep no local copy of API responses: reads go to the API and the response cache is off.

  • FORTINET_USER_AGENT

    Optional. Overrides the User-Agent the CLI sends to your FortiGates. Leave blank to use the built-in one.

  • PRINTING_PRESS_CLIENT_PROFILEsecret

    Only used when the MCP server is bound to a tenant-gated client profile. This connector registers no tenant-gated source, so leave it blank.

More from github.com/Servosity

More MCP servers