Featured

Deploy OpenClaw in 60 seconds β€” 20% off logoDeploy OpenClaw in 60 seconds β€” 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger β†’
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger β†’
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free β†’
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now β†’
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data β€” no proxies, no parsers, no maintenance.

Start building free β†’
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it β€” secured from day one.

Get it set up for you β†’
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free β†’
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here β†’

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

unofficial-forti-monitor-mcp-server MCP server](https://glama.ai/mcp/servers/@gjenkins20/unofficial-forti-monitor-mcp-server/badges/score.svg)](https://glama.ai/mcp/servers/@gjenkins20/unofficial-forti-monitor-mcp-server) 🐍 ☁️ 🍎 πŸͺŸ 🐧 - Unofficial...

README.md

Unofficial FortiMonitor MCP Server

Disclaimer: This is an unofficial community project. It is not affiliated with, endorsed by, or supported by Fortinet, Inc. or the FortiMonitor/Panopta team. "FortiMonitor" and "Fortinet" are trademarks of Fortinet, Inc. Use at your own risk.

Model Context Protocol (MCP) server for FortiMonitor/Panopta v2 API integration with Claude AI.

241 tools across 33 modules providing near-complete coverage of the FortiMonitor v2 API.

Features

  • Server Management β€” CRUD, tagging, attributes, DNS flush, path monitoring, logs
  • Outage Monitoring β€” Query, acknowledge, escalate, broadcast, delay, historical incidents
  • Metrics & Resources β€” Agent resources, SNMP resources, thresholds, metric graphs
  • Maintenance Windows β€” Create, extend, pause, resume, terminate schedules
  • Server Groups β€” Group CRUD, membership, compound services, child groups, monitoring policies
  • Templates β€” Create, apply, reapply monitoring templates to servers and groups
  • Notifications β€” Schedules, contacts, contact groups, rotating on-call contacts
  • Cloud Monitoring β€” Providers, credentials, discovery, regions, services
  • DEM β€” Digital Experience Monitoring applications, instances, locations
  • Compound Services β€” Aggregated service CRUD, thresholds, availability, response time
  • Dashboards & Status Pages β€” CRUD for monitoring dashboards and public status pages
  • Reporting β€” System health summary, outage statistics, availability reports, CSV exports
  • SNMP β€” Credentials, discovery, resource CRUD, metrics
  • OnSight β€” On-premises monitoring instances and groups
  • Fabric Connections β€” Integration management
  • Countermeasures β€” Automated remediation on network services and thresholds
  • User Management β€” User CRUD, roles, addons
  • Reference Data β€” Contact types, timezones, roles, account history, server attribute types
  • Docker Support β€” Easy deployment via Docker containers
  • Windows Support β€” Native deployment on Windows for Claude Desktop and Claude Code

Quick Start

Option A: Docker (Recommended)

# Run with Docker
docker run -d \
  --name unofficial-fortimonitor-mcp \
  -e FORTIMONITOR_API_KEY=your-api-key-here \
  gjenkins20/unofficial-fortimonitor-mcp:latest

# Or use Docker Compose
cp .env.example .env
# Edit .env and set your API key
docker-compose up -d

See DOCKER_DEPLOYMENT.md for detailed Docker instructions.

Option B: Local Installation

1. Install dependencies

python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install -r requirements.txt

2. Configure environment

cp .env.example .env
# Edit .env with your FortiMonitor API key

3. Test connectivity

python test_connectivity.py

4. Run the server

python -m src.server

Option C: Windows (Claude Desktop / Claude Code)

See docs/WINDOWS_DEPLOYMENT.md for step-by-step Windows instructions.

Configuration

Edit .env:

FORTIMONITOR_BASE_URL=https://api2.panopta.com/v2
FORTIMONITOR_API_KEY=your_api_key_here
LOG_LEVEL=INFO

Available Tools (241)

The server exposes 241 MCP tools organized into the following categories. For full parameter details, see the End-User Guide.

| Category | Module(s) | Tools | Description | |----------|-----------|-------|-------------| | Servers | servers, server_enhanced | 21 | List, detail, CRUD, attributes, logs, DNS, path monitoring | | Outages | outages, outage_management, outage_enhanced | 22 | Query, health check, acknowledge, escalate, broadcast, delay, historical | | Metrics | metrics, agent_resources | 6 | Server metrics, agent resource types, resource details | | Maintenance | server_management, maintenance_enhanced | 12 | Status management, maintenance window CRUD, extend, pause, resume | | Bulk Operations | bulk_operations | 6 | Bulk acknowledge, bulk tags, advanced search, active outages | | Server Groups | server_groups, server_groups_enhanced | 12 | Group CRUD, membership, policies, compound services, child groups | | Templates | templates, templates_enhanced | 8 | Template CRUD, apply to server/group, reapply | | Notifications | notifications, notifications_enhanced | 14 | Schedules, contacts, groups, schedule CRUD, sub-resource queries | | Contacts | contacts_enhanced, rotating_contacts | 18 | Contact CRUD, contact info, contact groups, on-call rotations | | Cloud | cloud | 15 | Providers, credentials, discovery, regions, services | | DEM | dem | 10 | Applications, instances, locations, path monitoring | | Compound Services | compound_services | 11 | Service CRUD, thresholds, availability, network services, response time | | Dashboards | dashboards | 5 | Dashboard CRUD | | Status Pages | status_pages | 5 | Public status page CRUD | | Network Services | network_services | 5 | Server network service CRUD, response time | | Monitoring Nodes | monitoring_nodes | 2 | List and detail monitoring nodes | | Network Service Types | network_service_types | 2 | List and detail service types | | Reporting | reporting | 10 | Health summary, statistics, top alerting, exports, availability reports | | Users | users | 6 | User CRUD, addons | | Reference Data | reference_data | 13 | Account history, contact types, roles, timezones, attribute types | | SNMP | snmp | 12 | Credentials CRUD, discovery, resource CRUD, metrics | | OnSight | onsight | 12 | OnSight CRUD, groups, countermeasures, servers | | Fabric | fabric | 4 | Fabric connection CRUD | | Countermeasures | countermeasures | 20 | Network service & threshold countermeasures, outage metadata, thresholds |

Integration with Claude Desktop

Add to Claude Desktop config (claude_desktop_config.json):

Option A: Using Docker (Recommended)

First, ensure the container is running: ``bash docker-compose up -d ``

Then add to your Claude Desktop config: ``json { "mcpServers": { "fortimonitor": { "command": "docker", "args": ["exec", "-i", "unofficial-fortimonitor-mcp", "python", "-m", "src.server"] } } } ``

Option B: Using Local Python

{
  "mcpServers": {
    "fortimonitor": {
      "command": "/path/to/unofficial-fortimonitor-mcp-server/.venv/bin/unofficial-fortimonitor-mcp",
      "args": [],
      "env": {
        "FORTIMONITOR_API_KEY": "your_key",
        "FORTIMONITOR_BASE_URL": "https://api2.panopta.com/v2",
        "PYTHONPATH": "/path/to/unofficial-fortimonitor-mcp-server",
        "ENABLE_SCHEMA_CACHE": "false"
      }
    }
  }
}

Note: Claude Desktop does not reliably set cwd, so use the full path to the installed entrypoint script and set PYTHONPATH explicitly. Set ENABLE_SCHEMA_CACHE=false to avoid [Errno 30] Read-only file system errors when the server cannot write to the default cache/ directory. Alternatively, set SCHEMA_CACHE_DIR to an absolute writable path to keep caching enabled.

API Documentation

The server automatically discovers and caches FortiMonitor API schemas for validation and documentation. Schemas are cached in cache/schemas/ by default.

Schema Endpoints

  • /schema/resources - Lists all available API resources
  • /schema/resources/{resource_name} - Get schema for specific resource

Development

Run tests

pytest tests/ -v

Run tests with coverage

pytest tests/ --cov=src --cov-report=html

Format code

black src/ tests/

Type checking

mypy src/

Lint

flake8 src/ tests/

Project Structure

unofficial-fortimonitor-mcp-server/
β”œβ”€β”€ README.md
β”œβ”€β”€ FORTIMONITOR_API_DOCS.md        # FortiMonitor API documentation
β”œβ”€β”€ Dockerfile                      # Container definition
β”œβ”€β”€ docker-compose.yml              # Docker Compose config
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ pyproject.toml
β”œβ”€β”€ .env.example
β”œβ”€β”€ .gitignore
β”œβ”€β”€ .dockerignore
β”œβ”€β”€ test_connectivity.py
β”œβ”€β”€ scripts/                        # Build and deployment scripts
β”‚   β”œβ”€β”€ build.sh / build.bat
β”‚   β”œβ”€β”€ test-container.sh / test-container.bat
β”‚   β”œβ”€β”€ push.sh
β”‚   └── release.sh
β”œβ”€β”€ .github/
β”‚   └── workflows/
β”‚       └── docker-build.yml        # CI/CD pipeline
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ __init__.py
β”‚   β”œβ”€β”€ __main__.py
β”‚   β”œβ”€β”€ server.py                   # MCP server entrypoint, dispatch registry
β”‚   β”œβ”€β”€ config.py                   # Pydantic settings from env vars / .env
β”‚   β”œβ”€β”€ fortimonitor/
β”‚   β”‚   β”œβ”€β”€ client.py               # Synchronous HTTP client (requests lib)
β”‚   β”‚   β”œβ”€β”€ schema.py               # Schema discovery & caching
β”‚   β”‚   β”œβ”€β”€ models.py               # Pydantic data models (~50 models)
β”‚   β”‚   └── exceptions.py           # Custom exceptions
β”‚   └── tools/                      # 33 tool module files (241 tools)
β”‚       β”œβ”€β”€ servers.py              # Server list/detail
β”‚       β”œβ”€β”€ server_enhanced.py      # Server CRUD, attributes, logs, path monitoring
β”‚       β”œβ”€β”€ outages.py              # Outage queries, health check
β”‚       β”œβ”€β”€ outage_management.py    # Acknowledge, notes, details
β”‚       β”œβ”€β”€ outage_enhanced.py      # Broadcast, escalate, delay, historical
β”‚       β”œβ”€β”€ metrics.py              # Server metrics
β”‚       β”œβ”€β”€ agent_resources.py      # Agent resource types & details
β”‚       β”œβ”€β”€ server_management.py    # Status management, maintenance
β”‚       β”œβ”€β”€ maintenance_enhanced.py # Maintenance CRUD, extend, pause
β”‚       β”œβ”€β”€ bulk_operations.py      # Bulk ops, advanced search
β”‚       β”œβ”€β”€ server_groups.py        # Server group CRUD
β”‚       β”œβ”€β”€ server_groups_enhanced.py # Group members, policies, children
β”‚       β”œβ”€β”€ templates.py            # Template list/detail/apply
β”‚       β”œβ”€β”€ templates_enhanced.py   # Template CRUD, reapply
β”‚       β”œβ”€β”€ notifications.py        # Notification schedules/contacts/groups
β”‚       β”œβ”€β”€ notifications_enhanced.py # Schedule CRUD, sub-resources
β”‚       β”œβ”€β”€ contacts_enhanced.py    # Contact CRUD, info, groups
β”‚       β”œβ”€β”€ rotating_contacts.py    # On-call rotation management
β”‚       β”œβ”€β”€ network_services.py     # Network service CRUD, response time
β”‚       β”œβ”€β”€ network_service_types.py # Service type list/detail
β”‚       β”œβ”€β”€ monitoring_nodes.py     # Monitoring node list/detail
β”‚       β”œβ”€β”€ cloud.py                # Cloud providers, credentials, discovery
β”‚       β”œβ”€β”€ dem.py                  # DEM applications, instances, locations
β”‚       β”œβ”€β”€ compound_services.py    # Compound service CRUD, thresholds
β”‚       β”œβ”€β”€ dashboards.py           # Dashboard CRUD
β”‚       β”œβ”€β”€ status_pages.py         # Status page CRUD
β”‚       β”œβ”€β”€ reporting.py            # Health, stats, exports, availability
β”‚       β”œβ”€β”€ users.py                # User CRUD, addons
β”‚       β”œβ”€β”€ reference_data.py       # Account history, types, roles, timezones
β”‚       β”œβ”€β”€ snmp.py                 # SNMP credentials, discovery, resources
β”‚       β”œβ”€β”€ onsight.py              # OnSight CRUD, groups
β”‚       β”œβ”€β”€ fabric.py               # Fabric connection CRUD
β”‚       └── countermeasures.py      # Countermeasures, thresholds, metadata
β”œβ”€β”€ tests/
β”‚   β”œβ”€β”€ conftest.py                 # Test fixtures
β”‚   β”œβ”€β”€ test_client.py              # API client tests
β”‚   β”œβ”€β”€ test_tools.py               # Original tool tests
β”‚   β”œβ”€β”€ test_tool_definitions.py    # Tool definition validation
β”‚   β”œβ”€β”€ test_dict_tool_handlers.py  # Dict-pattern handler tests
β”‚   β”œβ”€β”€ test_registry.py            # Registry build tests
β”‚   └── test_server.py              # Server integration tests
β”œβ”€β”€ cache/
β”‚   └── schemas/                    # Cached API schemas
└── docs/
    β”œβ”€β”€ USER_GUIDE.md               # End-user guide
    β”œβ”€β”€ DEVELOPER_GUIDE.md          # Developer/contributor guide
    └── WINDOWS_DEPLOYMENT.md       # Windows setup for Claude Desktop/Code

Troubleshooting

Authentication Errors

  • Verify API key in .env
  • Check base URL is correct (https://api2.panopta.com/v2)
  • Test API key with curl:
  curl "https://api2.panopta.com/v2/server?api_key=YOUR_KEY&limit=1"

Schema Discovery Failures

  • Check network connectivity
  • Verify cache/schemas/ directory exists and is writable
  • Clear cache and retry: rm -rf cache/schemas/*

MCP Server Not Appearing in Claude

  • Check Claude Desktop config syntax
  • Verify file paths are absolute
  • Restart Claude Desktop completely
  • Check server logs for startup errors

About the Developer

Built by Gregori Jenkins β€” originally from Chicago, a humble student of Computer Science, and a proud cat dad.

Connect on LinkedIn

License

MIT License β€” see LICENSE for details.

See related servers & alternatives β†’

Related MCP servers

Browse all β†’

Related guides

Hand-picked reading to help you choose and use Observability servers.