Skip to main content
Glama
FortiOS 7.6.x MCP Server

FortiOS 7.6.x MCP Server

by paoloamato2

FortiOS 7.6.x MCP Server


Table of Contents


Related MCP server: fortigate-mcp

Features

  • 204+ typed MCP tools organized by functional area (system, firewall, VPN, router, user, monitor, log, security, wireless)

  • 5 generic pass-through tools that cover all 1,536 FortiOS API endpoints

  • Async HTTP client with Bearer-token authentication via httpx

  • Full support for CMDB, Monitor, Log, and Service API sections

  • Configurable SSL verification (self-signed certificates supported)

  • Compatible with multi-VDOM environments

  • Runs as stdio (Claude Desktop) or HTTP server (remote/cloud use)


Tool Categories

Module

# Tools

Description

Generic

5

cmdb_list/get/create/update/delete, monitor_get/action, log_get, service_call — cover ALL endpoints

System

27

Interfaces, DNS, NTP, admins, DHCP, SNMP, certificates, VDOMs, syslog

Firewall

32

Policies (IPv4/IPv6), addresses, address groups, services, VIPs, IP pools, schedules, sessions

VPN

22

IPsec Phase 1/2, SSL VPN portals/settings, tunnel up/down, VPN certificates

Router

17

Static routes, OSPF, BGP, RIP, prefix lists, route maps, SD-WAN health

User

18

Local users, groups, RADIUS, LDAP, TACACS+, SAML, authenticated sessions

Monitor

18

ARP, FortiView top talkers, endpoint control, IPS stats, switch controller, config backup

Log

18

Traffic, event, VPN, user, virus, webfilter, IPS, app-ctrl, DNS logs + log config

Security

29

IPS, AV, webfilter, app control, DLP, email filter, DNS filter, WAF, ICAP, ssh-filter, ZTNA

Wireless

18

AP profiles, WTPs, SSIDs (VAPs), Hotspot 2.0, connected clients, rogue APs

Total: 204+ tools


Requirements

Requirement

Version

Python

3.11+

Package manager

uv (recommended) or pip

FortiGate

FortiOS 7.6.x

Auth

REST API admin account with Bearer token


Quick Start

1. Create API Token on FortiGate

  1. Log into your FortiGate Web UI

  2. Navigate to System > Administrators

  3. Click Create New > REST API Admin

  4. Assign an admin profile (super_admin for full access, or a restricted profile following least-privilege)

  5. Copy the generated API token — it is shown only once

2. Install dependencies

git clone https://github.com/paoloamato2/fortinet-mcp-server.git
cd fortinet-mcp-server

# Using uv (recommended)
uv sync

# Or using pip
pip install -e .

3. Configure environment

cp .env.example .env

Edit .env:

FORTIOS_HOST=https://192.168.1.1
FORTIOS_API_TOKEN=your-token-here
FORTIOS_VDOM=root
FORTIOS_VERIFY_SSL=false
FORTIOS_TIMEOUT=30

4. Run with MCP Inspector

uv run mcp dev server.py

5. Install in Claude Desktop

uv run mcp install server.py --name "FortiOS"

Or manually add to claude_desktop_config.json:

{
  "mcpServers": {
    "fortios": {
      "command": "uv",
      "args": [
        "run",
        "--directory", "/absolute/path/to/fortinet-mcp-server",
        "python", "server.py"
      ],
      "env": {
        "FORTIOS_HOST": "https://192.168.1.1",
        "FORTIOS_API_TOKEN": "your-api-token",
        "FORTIOS_VDOM": "root",
        "FORTIOS_VERIFY_SSL": "false"
      }
    }
  }
}

On macOS, claude_desktop_config.json is at ~/Library/Application Support/Claude/claude_desktop_config.json.
On Windows, it is at %APPDATA%\Claude\claude_desktop_config.json.


HTTP Mode

To run as a remote HTTP server instead of stdio:

MCP_TRANSPORT=streamable-http MCP_PORT=8000 uv run server.py

Connect via http://localhost:8000/mcp.

This mode is useful for shared team setups or cloud-hosted deployments.


Usage Examples

Via Claude Desktop

Once installed, you can ask Claude natural-language questions such as:

  • "Show me all firewall policies that deny traffic"

  • "Which IPsec tunnels are currently down?"

  • "List all interfaces with their IP addresses"

  • "Which route would be used to reach 8.8.8.8?"

  • "Show the top 20 traffic sources in FortiView"

  • "Are there any failed admin login attempts in the logs?"

Direct Tool Invocations

# List firewall policies filtered by action
firewall_policy_list(filter_action="deny")

# Get system status
system_status()

# Check IPsec VPN tunnels
monitor_vpn_ipsec()

# Query forward traffic logs for a specific source IP
log_traffic_forward(srcip="10.10.1.100", rows=50)

# Generic: list any CMDB resource (full API coverage)
cmdb_list("casb/profile")
cmdb_list("wireless-controller.hotspot20/hs-profile")

# Generic: get any monitor data
monitor_get("registration/forticloud")

Project Structure

fortinet-mcp-server/
├── server.py              # FastMCP entry point, lifespan, tool registration
├── fortios_client.py      # Async HTTP client (CMDB/Monitor/Log/Service)
├── pyproject.toml         # Project metadata and dependencies
├── .env.example           # Environment variable template
├── README.md              # This file
└── tools/
    ├── __init__.py
    ├── generic.py         # Generic pass-through tools (all 1536 endpoints)
    ├── system.py          # System config + monitoring
    ├── firewall.py        # Firewall policies, addresses, VIPs, sessions
    ├── vpn.py             # IPsec + SSL VPN config and monitoring
    ├── router.py          # Static routes, OSPF, BGP, SD-WAN
    ├── user.py            # Local users, groups, RADIUS, LDAP, sessions
    ├── monitor.py         # Network monitoring, FortiView, endpoint control
    ├── log.py             # Log retrieval and configuration
    ├── security.py        # IPS, AV, webfilter, DLP, WAF, ZTNA profiles
    └── wireless.py        # WiFi APs, SSIDs, clients, rogue APs

Security Notes

  • The API token grants the same access level as its associated admin profile. Follow the principle of least privilege — create a restricted profile if you only need read access.

  • Set FORTIOS_VERIFY_SSL=true in production and ensure your FortiGate has a valid TLS certificate.

  • The server runs locally over stdio by default — it is not exposed over the network unless HTTP mode is enabled.

  • Never commit your .env file or expose your API token in logs, issues, or code.

  • Rotate your API token regularly and revoke it immediately if compromised.


Contributing

Contributions are welcome! Please read CONTRIBUTING.md before submitting a pull request.


License

This project is licensed under the MIT License — see LICENSE for details.

Disclaimer: This project is not affiliated with or endorsed by Fortinet, Inc. FortiOS and FortiGate are trademarks of Fortinet, Inc.

Available Tools

240 tools
antivirus_profile_createC

Create a new antivirus profile.

Inputs: name (required), comment, ftgd_analytics, vdom. Returns: object

antivirus_profile_getB

Get a specific antivirus profile.

Inputs: name (required), vdom. Returns: object

antivirus_profile_listB

List all antivirus profiles.

Inputs: vdom. Returns: object

antivirus_settings_getA

Get antivirus engine settings (scan cache, exclusions).

Inputs: vdom. Returns: object

application_group_listC

List all application groups.

Inputs: vdom. Returns: object

application_list_getB

Get a specific Application Control profile.

Inputs: name (required), vdom. Returns: object

application_list_profilesC

List all Application Control profiles.

Inputs: vdom. Returns: object

automation_setting_getB

Get global automation settings.

Inputs: vdom. Returns: object

certificate_ca_listA

List trusted CA certificates.

Inputs: vdom. Returns: object

certificate_local_listA

List local (device) certificates.

Inputs: vdom. Returns: object

cmdb_createC

Create a new CMDB configuration object (POST).

Covers any POST on /api/v2/cmdb/{resource_path}.

Inputs: resource_path (required), data (required), vdom. Returns: object

cmdb_deleteB

Delete a CMDB configuration object.

Covers any DELETE on /api/v2/cmdb/{resource_path}/{key}.

Inputs: resource_path (required), vdom. Returns: object

cmdb_getA

Get a single CMDB configuration object by its primary key.

Covers any GET on /api/v2/cmdb/{resource}/{key}.

Inputs: resource_path (required), vdom. Returns: object

cmdb_listA

List all objects of a CMDB resource type.

Covers any GET on /api/v2/cmdb/{resource_path}. Returns the full FortiOS JSON response including results array and metadata.

Inputs: resource_path (required), filters, start, count, +2 more. Returns: object

cmdb_updateB

Update/replace a CMDB configuration object (PUT).

Covers any PUT on /api/v2/cmdb/{resource_path}/{key}.

Inputs: resource_path (required), data (required), vdom. Returns: object

dlp_dictionary_listB

List all DLP data dictionaries.

Inputs: vdom. Returns: object

dlp_filepattern_listB

List all DLP file pattern tables.

Inputs: vdom. Returns: object

dlp_sensor_listB

List all DLP sensors.

Inputs: vdom. Returns: object

dnsfilter_domain_filter_listB

List DNS domain filter tables (custom domain block/allow).

Inputs: vdom. Returns: object

dnsfilter_profile_listC

List all DNS filter profiles.

Inputs: vdom. Returns: object

emailfilter_bwl_listB

List email filter block/allow lists.

Inputs: vdom. Returns: object

emailfilter_profile_listC

List all email filter profiles.

Inputs: vdom. Returns: object

file_filter_profile_listC

List all file filter profiles.

Inputs: vdom. Returns: object

firewall_address_createB

Create a new IPv4 firewall address object.

Inputs: name (required), addr_type (required), subnet, fqdn, +5 more. Returns: object

firewall_address_deleteB

Delete an IPv4 firewall address object.

Inputs: name (required), vdom. Returns: object

firewall_address_getA

Get a specific IPv4 firewall address object.

Inputs: name (required), vdom. Returns: object

firewall_address_listB

List all IPv4 firewall address objects.

Inputs: filter_type, vdom. Returns: object

firewall_address_updateB

Update an IPv4 firewall address object.

Inputs: name (required), subnet, fqdn, comment, +1 more. Returns: object

firewall_addrgrp_createB

Create a new IPv4 address group.

Inputs: name (required), members (required), comment, vdom. Returns: object

firewall_addrgrp_deleteB

Delete an IPv4 address group.

Inputs: name (required), vdom. Returns: object

firewall_addrgrp_getA

Get a specific IPv4 address group and its members.

Inputs: name (required), vdom. Returns: object

firewall_addrgrp_listB

List all IPv4 firewall address groups.

Inputs: vdom. Returns: object

firewall_central_snat_listB

List all central SNAT (outgoing NAT) rules.

Inputs: vdom. Returns: object

firewall_ippool_createB

Create a new IP pool (source NAT pool) object.

Inputs: name (required), start_ip (required), end_ip (required), pool_type, +2 more. Returns: object

firewall_ippool_listB

List all IP pool (source NAT) objects.

Inputs: vdom. Returns: object

firewall_policy6_listB

List all IPv6 firewall policies.

Inputs: vdom. Returns: object

firewall_policy_createC

Create a new IPv4 firewall policy.

Inputs: name (required), srcintf (required), dstintf (required), srcaddr (required), +9 more. Returns: object

firewall_policy_deleteB

Delete an IPv4 firewall policy.

Inputs: policy_id (required), vdom. Returns: object

firewall_policy_getA

Get a specific IPv4 firewall policy by its ID.

Inputs: policy_id (required), vdom. Returns: object

firewall_policy_listA

List IPv4 firewall policies with optional filters.

Returns policy ID, name, source/destination interfaces and zones, source/destination addresses, services, action, and status.

Inputs: start, count, filter_srcintf, filter_dstintf, +2 more. Returns: object

firewall_policy_moveB

Move a firewall policy (change its order in the policy table).

Inputs: policy_id (required), move_action (required), neighbor_id (required), vdom. Returns: object

firewall_policy_updateB

Update fields of an existing IPv4 firewall policy.

Inputs: policy_id (required), name, action, status, +4 more. Returns: object

firewall_schedule_one_time_listC

List all one-time schedules.

Inputs: vdom. Returns: object

firewall_schedule_recurring_listC

List all recurring schedules.

Inputs: vdom. Returns: object

firewall_service_createC

Create a new custom service object.

Inputs: name (required), protocol (required), tcp_portrange, udp_portrange, +2 more. Returns: object

firewall_service_getB

Get a specific custom firewall service object.

Inputs: name (required), vdom. Returns: object

firewall_service_grp_listB

List all firewall service groups.

Inputs: vdom. Returns: object

firewall_service_listB

List all custom firewall service objects.

Inputs: vdom. Returns: object

firewall_shaping_policy_listB

List all traffic shaping policies.

Inputs: vdom. Returns: object

firewall_ssl_ssh_profile_listA

List all SSL/SSH deep inspection profiles.

Inputs: vdom. Returns: object

firewall_vip_createB

Create a new Virtual IP (DNAT/port-forward) object.

Inputs: name (required), external_ip (required), mapped_ip (required), interface, +6 more. Returns: object

firewall_vip_deleteC

Delete a Virtual IP object.

Inputs: name (required), vdom. Returns: object

firewall_vip_getB

Get a specific Virtual IP (DNAT) object.

Inputs: name (required), vdom. Returns: object

firewall_vipgrp_listB

List all VIP groups.

Inputs: vdom. Returns: object

firewall_vip_listB

List all Virtual IP (DNAT) objects.

Inputs: vdom. Returns: object

icap_profile_listC

List all ICAP profiles.

Inputs: vdom. Returns: object

icap_server_listC

List all ICAP server configurations.

Inputs: vdom. Returns: object

ips_custom_listB

List all custom IPS signatures.

Inputs: vdom. Returns: object

ips_sensor_createB

Create a new IPS sensor profile.

Inputs: name (required), block_malicious_url, comment, vdom. Returns: object

ips_sensor_deleteB

Delete an IPS sensor profile.

Inputs: name (required), vdom. Returns: object

ips_sensor_getA

Get a specific IPS sensor profile.

Inputs: name (required), vdom. Returns: object

ips_sensor_listB

List all IPS sensor profiles.

Inputs: vdom. Returns: object

log_app_ctrlB

Query Application Control logs.

Inputs: rows, start, action, source, +1 more. Returns: object

log_disk_filter_getB

Get the disk log filter settings (which log types are enabled).

Inputs: vdom. Returns: object

log_disk_setting_getA

Get the disk logging settings (log level, max log size, etc.).

Inputs: vdom. Returns: object

log_dnsC

Query DNS filter logs.

Inputs: rows, start, source, vdom. Returns: object

log_event_systemB

Query system event logs (admin logins, config changes, system alerts).

Inputs: rows, start, source, vdom. Returns: object

log_event_userB

Query user authentication event logs.

Inputs: rows, start, username, source, +1 more. Returns: object

log_event_vpnA

Query VPN event logs (IPsec SA negotiations, SSL VPN logins/logouts).

Inputs: rows, start, source, vdom. Returns: object

log_fortianalyzer_setting_getA

Get FortiAnalyzer logging configuration (server, port, status).

Inputs: vdom. Returns: object

log_fortianalyzer_setting_updateC

Update FortiAnalyzer logging settings.

Inputs: status, server, enc_algorithm, vdom. Returns: object

log_getB

Retrieve log entries from disk, memory, FortiAnalyzer, or FortiCloud.

Covers any GET on /api/v2/log/{log_path}.

Inputs: log_path (required), extra_params, vdom. Returns: object

log_ips_attackC

Query IPS intrusion detection/prevention attack logs.

Inputs: rows, start, srcip, source, +1 more. Returns: object

log_memory_setting_getB

Get the memory logging settings.

Inputs: vdom. Returns: object

log_queryB

Query logs from FortiOS with flexible filtering.

Returns log entries from the specified backend and type. Results include timestamps, sources, destinations, actions, and UTM verdicts.

Inputs: source, log_type, filter_expr, rows, +3 more. Returns: object

log_syslogd_getB

Get the primary Syslog server configuration.

Inputs: vdom. Returns: object

log_traffic_forwardB

Query forward traffic logs with optional per-field filters.

Inputs: rows, start, srcip, dstip, +5 more. Returns: object

log_traffic_localA

Query local traffic logs (traffic to/from the FortiGate itself).

Inputs: rows, start, source, vdom. Returns: object

log_virusB

Query antivirus threat logs.

Inputs: rows, start, source, vdom. Returns: object

log_webfilterB

Query web filter (URL category/block) logs.

Inputs: rows, start, action, source, +1 more. Returns: object

monitor_actionB

Trigger a monitor action (POST) on any monitor endpoint.

Covers any POST on /api/v2/monitor/{monitor_path}.

Inputs: monitor_path (required), body, vdom. Returns: object

monitor_endpoint_record_listC

List registered endpoint (FortiClient) records.

Inputs: count, vdom. Returns: object

monitor_endpoint_summaryA

Get endpoint control (FortiClient) summary statistics.

Inputs: vdom. Returns: object

monitor_firewall_address_dynamicA

Get resolved IPs for all dynamic/FQDN firewall address objects.

Inputs: vdom. Returns: object

monitor_firewall_ip_listB

List active banned/exempt IPs in the firewall.

Inputs: vdom. Returns: object

monitor_firewall_policy_statsA

Get hit counts, bytes, and packet statistics per firewall policy.

Inputs: vdom. Returns: object

monitor_firewall_session_closeB

Close a specific active firewall session.

Inputs: proto (required), srcaddr (required), srcport (required), dstaddr (required), +2 more. Returns: object

monitor_firewall_session_listB

List active firewall sessions with optional filters.

Inputs: count, srcaddr, dstaddr, srcport, +3 more. Returns: object

monitor_fortiview_top_applicationsB

Get FortiView top applications by bandwidth or session count.

Inputs: count, vdom. Returns: object

monitor_fortiview_top_destinationsB

Get FortiView top destinations (most accessed destination IPs).

Inputs: count, vdom. Returns: object

monitor_fortiview_top_sourcesB

Get FortiView top sources (most active source IPs by session count).

Inputs: count, vdom. Returns: object

monitor_fortiview_top_threat_mapB

Get FortiView threat map data (geo-blocking source countries).

Inputs: vdom. Returns: object

monitor_geoip_lookupB

Look up the geographic location (country, coordinates) of an IP address.

Inputs: ip_address (required), vdom. Returns: object

monitor_getA

Retrieve real-time operational data from any monitor endpoint.

Covers any GET on /api/v2/monitor/{monitor_path}.

Inputs: monitor_path (required), extra_params, vdom. Returns: object

monitor_interface_dhcp_statusA

Get DHCP lease status on an interface (client side).

Inputs: interface, vdom. Returns: object

monitor_interface_statsA

Get real-time interface traffic statistics (bytes in/out, errors, drops).

Inputs: interface, vdom. Returns: object

monitor_ips_anomalyB

Get IPS anomaly detection statistics.

Inputs: vdom. Returns: object

monitor_license_forticare_resellersB

Get FortiCare reseller and support contract information.

Inputs: vdom. Returns: object

monitor_license_statusB

Get FortiGuard license and subscription status for all services.

Inputs: vdom. Returns: object

monitor_network_arp_listA

Get the ARP table (IP-to-MAC address mappings).

Inputs: vdom. Returns: object

monitor_network_lldp_neighborsB

Get LLDP neighbor information discovered on all interfaces.

Inputs: vdom. Returns: object

monitor_network_pingB

Ping a remote host from the FortiGate device.

Inputs: destination (required), source_ip, count, vdom. Returns: object

monitor_router_ipv4A

Get the active IPv4 routing table (all routes in the FIB).

Inputs: vdom. Returns: object

monitor_router_ipv6B

Get the active IPv6 routing table.

Inputs: vdom. Returns: object

monitor_router_lookupB

Perform a route lookup — find the best route for a destination IP.

Inputs: destination (required), interface, vdom. Returns: object

monitor_router_lookup6B

Perform an IPv6 route lookup.

Inputs: destination (required), vdom. Returns: object

monitor_router_statisticsA

Get routing protocol statistics (BGP, OSPF, RIP adjacencies/neighbors).

Inputs: vdom. Returns: object

monitor_sdwan_health_checkB

Get SD-WAN performance SLA health check results.

Inputs: vdom. Returns: object

monitor_sdwan_membersB

Get SD-WAN member interface status and bandwidth usage.

Inputs: vdom. Returns: object

monitor_security_rating_summaryC

Get the Security Rating summary score and findings.

Inputs: vdom. Returns: object

monitor_switch_controller_managed_switchA

Get status of all FortiSwitch managed switches.

Inputs: vdom. Returns: object

monitor_switch_controller_port_statsA

Get per-port traffic statistics for managed FortiSwitch devices.

Inputs: switch_id, vdom. Returns: object

monitor_system_config_backupA

Trigger a configuration backup and get the backup data (base64-encoded).

Inputs: scope, vdom. Returns: object

monitor_system_process_listA

List running FortiOS processes with CPU and memory usage.

Inputs: vdom. Returns: object

monitor_user_disconnectB

Disconnect an authenticated firewall user session.

Inputs: id_type (required), id_value, vdom. Returns: object

monitor_user_firewallB

List authenticated firewall users and their session information.

Inputs: ip_address, username, vdom. Returns: object

monitor_user_fortitoken_listB

List FortiToken hardware/software tokens and their status.

Inputs: vdom. Returns: object

monitor_utm_app_categoriesB

Get UTM application category statistics.

Inputs: vdom. Returns: object

monitor_vpn_certificate_validB

Check validity status of all VPN-related certificates.

Inputs: vdom. Returns: object

monitor_vpn_ipsecA

Get status of all IPsec VPN tunnels (up/down, bytes transferred, SAs).

Inputs: vdom. Returns: object

monitor_vpn_ipsec_tunnel_downB

Bring down (deactivate) an IPsec VPN tunnel.

Inputs: tunnel_name (required), vdom. Returns: object

monitor_vpn_ipsec_tunnel_upC

Bring up (activate) an IPsec VPN tunnel.

Inputs: tunnel_name (required), vdom. Returns: object

monitor_vpn_ssl_delete_userA

Terminate (disconnect) an active SSL VPN user session.

Inputs: username (required), index, vdom. Returns: object

monitor_vpn_ssl_listC

List active SSL VPN sessions.

Inputs: vdom. Returns: object

monitor_wifi_ap_statusB

Get operational status (up/down, channel, TX power) for APs.

Inputs: wtp_id, vdom. Returns: object

monitor_wifi_client_listB

List all connected WiFi clients with their associated AP and signal strength.

Inputs: ap_serial, ssid, vdom. Returns: object

monitor_wifi_interfering_apB

Get list of interfering (neighbor) Access Points detected on RF scan.

Inputs: vdom. Returns: object

monitor_wifi_managed_apA

Get detailed status of all managed Access Points (online/offline, channel, clients).

Inputs: vdom. Returns: object

monitor_wifi_rogue_apB

Get list of detected rogue (unauthorized) Access Points.

Inputs: vdom. Returns: object

monitor_wifi_spectrum_analysisC

Get RF spectrum analysis data from APs that support it.

Inputs: vdom. Returns: object

router_access_list_listB

List all router access lists (ACL for routing).

Inputs: vdom. Returns: object

router_bgp_getB

Get BGP routing configuration (ASN, peers, networks, redistribute).

Inputs: vdom. Returns: object

router_bgp_updateB

Update BGP global configuration (AS number, router ID).

Inputs: as_number, router_id, vdom. Returns: object

router_community_list_listC

List all BGP community lists.

Inputs: vdom. Returns: object

router_ospf6_getA

Get OSPFv3 (IPv6) routing configuration.

Inputs: vdom. Returns: object

router_ospf_getC

Get OSPF routing configuration (areas, networks, neighbors, redistribute).

Inputs: vdom. Returns: object

router_policy_listB

List all policy-based routing rules.

Inputs: vdom. Returns: object

router_prefix_list_listB

List all IPv4 prefix lists (used in route filtering).

Inputs: vdom. Returns: object

router_rip_getA

Get RIPv1/v2 routing configuration.

Inputs: vdom. Returns: object

router_route_map_listB

List all route-maps (used for route filtering and attribute modification).

Inputs: vdom. Returns: object

router_sdwan_getB

Get the SD-WAN (virtual-WAN) configuration.

Inputs: vdom. Returns: object

router_static6_listA

List all IPv6 static routes.

Inputs: vdom. Returns: object

router_static_createC

Create a new static route.

Inputs: dst (required), gateway (required), device (required), distance, +3 more. Returns: object

router_static_deleteB

Delete a static route.

Inputs: seq_num (required), vdom. Returns: object

router_static_getA

Get a specific static route by sequence number.

Inputs: seq_num (required), vdom. Returns: object

router_static_listA

List all IPv4 static routes.

Inputs: vdom. Returns: object

router_static_updateC

Update an existing static route.

Inputs: seq_num (required), gateway, device, distance, +4 more. Returns: object

service_callB

Call any FortiOS Service API endpoint.

Covers all GET/POST on /api/v2/service/{service_path}.

Inputs: service_path (required), method, body, vdom. Returns: object

ssh_filter_profile_listB

List all SSH filter profiles.

Inputs: vdom. Returns: object

system_admin_createB

Create a new administrator account.

Inputs: name (required), password (required), profile, comments, +2 more. Returns: object

system_admin_deleteC

Delete an administrator account.

Inputs: name (required), vdom. Returns: object

system_admin_getB

Get a specific administrator account configuration.

Inputs: name (required), vdom. Returns: object

system_admin_listB

List all administrator accounts.

Inputs: vdom. Returns: object

system_autoupdate_schedule_getC

Get the FortiGuard auto-update schedule.

Inputs: vdom. Returns: object

system_dhcp_server_createB

Create a new DHCP server.

Inputs: interface (required), ip_range_start (required), ip_range_end (required), lease_time, +4 more. Returns: object

system_dhcp_server_getA

Get a specific DHCP server configuration.

Inputs: server_id (required), vdom. Returns: object

system_dhcp_server_listB

List all DHCP server instances.

Inputs: vdom. Returns: object

system_dns_getA

Get DNS server configuration (primary, secondary, search domains).

Inputs: vdom. Returns: object

system_dns_updateC

Update DNS configuration.

Inputs: primary, secondary, domain, vdom. Returns: object

system_firmware_listA

List available firmware versions for upgrade.

Inputs: vdom. Returns: object

system_fortiguard_statusB

Get FortiGuard service registration and update status.

Inputs: vdom. Returns: object

system_global_getB

Get FortiOS global settings (hostname, admin timeout, language, etc.).

Inputs: vdom. Returns: object

system_global_updateA

Update FortiOS global settings (partial update — only specified fields change).

Inputs: hostname, admin_timeout, timezone, language, +1 more. Returns: object

system_ha_statusA

Get High Availability (HA) cluster status.

Inputs: vdom. Returns: object

system_interface_createB

Create a new network interface.

Inputs: name (required), interface_type (required), ip, vlanid, +6 more. Returns: object

system_interface_deleteB

Delete a network interface.

Inputs: name (required), vdom. Returns: object

system_interface_getB

Get the configuration of a specific interface.

Inputs: name (required), vdom. Returns: object

system_interface_listA

List all network interfaces (physical, VLAN, loopback, aggregate, tunnel).

Inputs: include_vlan, vdom. Returns: object

system_interface_updateA

Update an existing network interface (only specified fields are changed).

Inputs: name (required), ip, status, description, +4 more. Returns: object

system_ntp_getA

Get NTP synchronization configuration.

Inputs: vdom. Returns: object

system_ntp_updateC

Update NTP configuration.

Inputs: ntpsync, server, syncinterval, vdom. Returns: object

system_performance_statusA

Get performance statistics (CPU usage per core, memory, network throughput).

Inputs: vdom. Returns: object

system_resource_usageB

Get real-time resource usage: CPU, memory, disk, sessions.

Inputs: vdom. Returns: object

system_snmp_community_listB

List SNMP v1/v2c communities.

Inputs: vdom. Returns: object

system_snmp_sysinfo_getA

Get SNMP system info (contact, location, description, trap thresholds).

Inputs: vdom. Returns: object

system_snmp_user_listB

List SNMPv3 users.

Inputs: vdom. Returns: object

system_statusA

Get the FortiOS system status (firmware version, hostname, serial number, uptime, HA state, etc.).

Inputs: vdom. Returns: object

system_time_getA

Get the current system time and timezone.

Inputs: vdom. Returns: object

system_vdom_listA

List all configured VDOMs.

Inputs: vdom. Returns: object

user_group_createB

Create a new user group.

Inputs: name (required), group_type, members, auth_concurrent, +1 more. Returns: object

user_group_deleteC

Delete a user group.

Inputs: name (required), vdom. Returns: object

user_group_getA

Get a specific user group and its members.

Inputs: name (required), vdom. Returns: object

user_group_listC

List all user groups.

Inputs: vdom. Returns: object

user_ldap_createB

Create a new LDAP server configuration.

Inputs: name (required), server (required), dn (required), username, +4 more. Returns: object

user_ldap_listB

List all LDAP authentication server configurations.

Inputs: vdom. Returns: object

user_local_createB

Create a new local user account.

Inputs: name (required), password (required), status, auth_type, +4 more. Returns: object

user_local_deleteB

Delete a local user account.

Inputs: name (required), vdom. Returns: object

user_local_getA

Get a specific local user account.

Inputs: name (required), vdom. Returns: object

user_local_listB

List all local user accounts.

Inputs: vdom. Returns: object

user_local_updateC

Update a local user account.

Inputs: name (required), password, status, email_to, +2 more. Returns: object

user_radius_createB

Create a new RADIUS server configuration.

Inputs: name (required), server (required), secret (required), auth_type, +3 more. Returns: object

user_radius_getB

Get a specific RADIUS server configuration.

Inputs: name (required), vdom. Returns: object

user_radius_listA

List all RADIUS authentication server configurations.

Inputs: vdom. Returns: object

user_saml_listB

List all SAML identity provider configurations.

Inputs: vdom. Returns: object

user_tacacs_listB

List all TACACS+ authentication server configurations.

Inputs: vdom. Returns: object

virtual_patch_profile_listA

List all Virtual Patch profiles (inline IPS pre-patching).

Inputs: vdom. Returns: object

voip_profile_listB

List all VoIP (SIP/SCCP) inspection profiles.

Inputs: vdom. Returns: object

vpn_certificate_ca_listC

List all VPN CA certificates.

Inputs: vdom. Returns: object

vpn_certificate_local_listB

List all VPN local (device) certificates.

Inputs: vdom. Returns: object

vpn_certificate_ocsp_server_listC

List OCSP server configurations for certificate revocation checking.

Inputs: vdom. Returns: object

vpn_certificate_remote_listB

List all remote (peer) VPN certificates.

Inputs: vdom. Returns: object

vpn_ipsec_phase1_createB

Create a new IPsec VPN Phase 1 interface (IKEv1/IKEv2 gateway).

Inputs: name (required), remote_gw (required), interface (required), psksecret (required), +7 more. Returns: object

vpn_ipsec_phase1_deleteB

Delete an IPsec Phase 1 tunnel interface.

Inputs: name (required), vdom. Returns: object

vpn_ipsec_phase1_getA

Get a specific IPsec Phase 1 interface configuration.

Inputs: name (required), vdom. Returns: object

vpn_ipsec_phase1_listB

List all IPsec VPN Phase 1 (IKE gateway) interfaces.

Inputs: vdom. Returns: object

vpn_ipsec_phase1_updateB

Update an existing IPsec Phase 1 interface.

Inputs: name (required), remote_gw, psksecret, proposal, +2 more. Returns: object

vpn_ipsec_phase2_createB

Create a new IPsec VPN Phase 2 selector.

Inputs: name (required), phase1_name (required), proposal, pfs, +5 more. Returns: object

vpn_ipsec_phase2_deleteB

Delete an IPsec Phase 2 selector.

Inputs: name (required), vdom. Returns: object

vpn_ipsec_phase2_getB

Get a specific IPsec Phase 2 selector configuration.

Inputs: name (required), vdom. Returns: object

vpn_ipsec_phase2_listA

List all IPsec VPN Phase 2 (SA / child SA) selectors.

Inputs: vdom. Returns: object

vpn_ssl_portal_createB

Create a new SSL VPN portal.

Inputs: name (required), tunnel_mode, web_mode, ip_pools, +4 more. Returns: object

vpn_ssl_portal_deleteB

Delete an SSL VPN portal.

Inputs: name (required), vdom. Returns: object

vpn_ssl_portal_getB

Get a specific SSL VPN portal configuration.

Inputs: name (required), vdom. Returns: object

vpn_ssl_portal_listB

List all SSL VPN portals.

Inputs: vdom. Returns: object

vpn_ssl_settings_getA

Get SSL VPN global settings (port, certificates, idle timeout, etc.).

Inputs: vdom. Returns: object

vpn_ssl_settings_updateB

Update SSL VPN global settings.

Inputs: status, port, servercert, idle_timeout, +2 more. Returns: object

vpn_ssl_web_host_check_software_listB

List SSL VPN host check software (endpoint compliance) rules.

Inputs: vdom. Returns: object

waf_profile_listC

List all WAF profiles.

Inputs: vdom. Returns: object

waf_signature_listB

List all WAF signature configurations.

Inputs: vdom. Returns: object

webfilter_content_listB

List all web content filter (keyword) tables.

Inputs: vdom. Returns: object

webfilter_override_listB

List all web filter category override rules.

Inputs: vdom. Returns: object

webfilter_profile_getA

Get a specific web filter profile.

Inputs: name (required), vdom. Returns: object

webfilter_profile_listC

List all web filter profiles.

Inputs: vdom. Returns: object

webfilter_urlfilter_listB

List all URL filter tables (custom URL block/allow lists).

Inputs: vdom. Returns: object

wifi_controller_setting_getB

Get wireless controller global settings.

Inputs: vdom. Returns: object

wifi_hotspot20_profile_listB

List all Hotspot 2.0 (Passpoint) profiles.

Inputs: vdom. Returns: object

wifi_qos_profile_listC

List all wireless QoS profiles.

Inputs: vdom. Returns: object

wifi_rf_analysis_getC

Get wireless RF analysis settings.

Inputs: vdom. Returns: object

wifi_vap_createB

Create a new VAP (SSID) wireless network.

Inputs: name (required), ssid (required), security, passphrase, +3 more. Returns: object

wifi_vap_deleteB

Delete a VAP (SSID) wireless network.

Inputs: name (required), vdom. Returns: object

wifi_vap_getA

Get a specific VAP (SSID) configuration.

Inputs: name (required), vdom. Returns: object

wifi_vap_group_listB

List all VAP groups (SSID bundles).

Inputs: vdom. Returns: object

wifi_vap_listB

List all VAPs (Virtual APs / SSIDs).

Inputs: vdom. Returns: object

wifi_wtp_deauthorizeB

Deauthorize (remove) a WTP (Access Point) from the controller.

Inputs: wtp_id (required), vdom. Returns: object

wifi_wtp_getB

Get configuration for a specific WTP (Access Point).

Inputs: wtp_id (required), vdom. Returns: object

wifi_wtp_listA

List all registered WTPs (Access Points) with their configuration.

Inputs: vdom. Returns: object

wifi_wtp_profile_getB

Get a specific AP (WTP) profile configuration.

Inputs: name (required), vdom. Returns: object

wifi_wtp_profile_listB

List all WTP (Wireless Termination Point / AP) profiles.

Inputs: vdom. Returns: object

ztna_server_listA

List all ZTNA access proxy (application gateway) servers.

Inputs: vdom. Returns: object

ztna_tag_policy_listB

List all ZTNA EMS tag (posture check) policies.

Inputs: vdom. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 240 tools

    Disambiguation2/5

    Generic cmdb_*, monitor_get, log_get, and service_call tools overlap heavily with the many specific resource tools, creating ambiguity about which to invoke (e.g., cmdb_get vs firewall_policy_get). Duplicate concepts like certificate_local_list vs vpn_certificate_local_list further blur boundaries.

    Naming Consistency4/5

    The majority of tools follow a consistent domain_resource_action pattern such as firewall_policy_list/create/update/delete and vpn_ipsec_phase1_get. A few outliers like system_resource_usage, monitor_get, and service_call break the pattern, but they are minor relative to the overall set.

    Tool Count1/5

    240 tools is an extreme count that creates significant context and selection burden for an agent. Many tools are redundant with generic pass-through tools, and the overall surface is far beyond what is typically manageable or well-scoped.

    Completeness4/5

    The tool set covers most major FortiOS domains, including firewall, VPN, routing, user authentication, UTM, WiFi, logging, and monitoring. Some resource-specific CRUD cycles are incomplete, such as IP pools lacking get/update/delete and VIPs lacking update, but the generic cmdb_* tools can cover those gaps.

    Maintenance

    ActivityInactive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      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
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides programmatic access to FortiGate devices for managing firewall policies, routing, virtual IPs, and device operations, enabling integration with MCP-compatible clients like Claude Desktop.
      MIT