MCP server for managing FortiGate firewalls: policies, objects, routing, VPN, monitoring and read-only diagnostics.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add fortigate -- python -m src.fortigate_mcp.server_http --host 0.0.0.0 --port 8814 --path /fortigate-mcp --config config/config.json~/.codex/config.toml
[mcp_servers.fortigate]
command = "python"
args = ["-m", "src.fortigate_mcp.server_http", "--host", "0.0.0.0", "--port", "8814", "--path", "/fortigate-mcp", "--config", "config/config.json"]
# codex mcp add fortigate -- python -m src.fortigate_mcp.server_http --host 0.0.0.0 --port 8814 --path /fortigate-mcp --config config/config.json~/.cursor/mcp.json
{
"mcpServers": {
"fortigate": {
"command": "python",
"args": [
"-m",
"src.fortigate_mcp.server_http",
"--host",
"0.0.0.0",
"--port",
"8814",
"--path",
"/fortigate-mcp",
"--config",
"config/config.json"
]
}
}
}.vscode/mcp.json
{
"servers": {
"fortigate": {
"type": "stdio",
"command": "python",
"args": [
"-m",
"src.fortigate_mcp.server_http",
"--host",
"0.0.0.0",
"--port",
"8814",
"--path",
"/fortigate-mcp",
"--config",
"config/config.json"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"fortigate": {
"command": "python",
"args": [
"-m",
"src.fortigate_mcp.server_http",
"--host",
"0.0.0.0",
"--port",
"8814",
"--path",
"/fortigate-mcp",
"--config",
"config/config.json"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"fortigate": {
"command": "python",
"args": [
"-m",
"src.fortigate_mcp.server_http",
"--host",
"0.0.0.0",
"--port",
"8814",
"--path",
"/fortigate-mcp",
"--config",
"config/config.json"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"fortigate": {
"command": "python",
"args": [
"-m",
"src.fortigate_mcp.server_http",
"--host",
"0.0.0.0",
"--port",
"8814",
"--path",
"/fortigate-mcp",
"--config",
"config/config.json"
]
}
}
}