Fortinet MCP Server

<strong>A complete Model Context Protocol (MCP) server for Fortinet FortiOS 7.6.x — exposing the entire REST API (1536 endpoints) as typed MCP tools

Remote serverstreamable-httpPython

What is the Fortinet MCP Server?

A complete Model Context Protocol (MCP) server for Fortinet FortiOS 7.6.x — exposing the entire REST API (1536 endpoints) as typed MCP tools usable from

What it actually does

  • 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

Configuration

| Requirement | Version | |-------------|---------| | Python | 3.11+ | | Package manager | uv (recommended) or pip | | FortiGate | FortiOS 7.6.x | | Auth | REST API admin account with Bearer token | ---

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
ModuleTools
Generic5
System27
Firewall32
VPN22
Router17
User18
Monitor18
Log18
Security29
Wireless18

How to install the Fortinet MCP Server

{
  "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_FORTIOS_API_TOKEN",
        "FORTIOS_VDOM": "root",
        "FORTIOS_VERIFY_SSL": "false"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

| Requirement | Version | |-------------|---------| | Python | 3.11+ | | Package manager | uv (recommended) or pip | | FortiGate | FortiOS 7.6.x | | Auth | REST API admin account with Bearer token | ---

VariableDescriptionRequired
FORTIOS_HOSTDeclared in the maintainer’s client configuration.Check documentation
FORTIOS_API_TOKENDeclared in the maintainer’s client configuration.Check documentation
FORTIOS_VDOMDeclared in the maintainer’s client configuration.Check documentation
FORTIOS_VERIFY_SSLDeclared in the maintainer’s client configuration.Check documentation

Frequently asked questions

<strong>A complete Model Context Protocol (MCP) server for Fortinet FortiOS 7.6.x — exposing the entire REST API (1536 endpoints) as typed MCP tools usable from Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.