MCP server/monitoring

Unofficial FortiMonitor MCP Server

MCP server for the FortiMonitor v2 monitoring API.

1

Add it to Claude Code

claude mcp add -e "FORTIMONITOR_API_KEY=${FORTIMONITOR_API_KEY}" fortimonitor-mcp -- python -m src.server
Required:FORTIMONITOR_API_KEY+ 2 optional
2

Make your agent remember this setup

fortimonitor-mcp's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.

npx conare@latest

Free · one command · indexes the sessions already on disk. Set up in the browser instead →

What it does

  • Comprehensive server management including CRUD, tagging, and DNS flushing.
  • Full outage lifecycle management from detection to escalation and resolution.
  • Maintenance window scheduling and management for servers and groups.
  • Cloud monitoring integration for discovery and resource management.
  • Reporting capabilities including system health summaries and availability statistics.

Tools 3

list_serversRetrieve a list of all monitored servers.
get_outage_detailsFetch detailed information about a specific outage incident.
create_maintenance_windowSchedule a new maintenance window for a server or group.

Environment Variables

FORTIMONITOR_API_KEYrequiredAPI key for authenticating with the FortiMonitor v2 API.
FORTIMONITOR_BASE_URLThe base URL for the FortiMonitor API (default: https://api2.panopta.com/v2).
LOG_LEVELLogging verbosity level (e.g., INFO, DEBUG).

Try it

List all servers currently experiencing an active outage.
Create a maintenance window for the production database server for the next two hours.
Get the latest metrics for the web-server-01 instance.
Acknowledge all active outages for the 'Production' server group.
Generate a system health summary report for the last 24 hours.
Original README from gjenkins20/unofficial-fortimonitor-mcp-server

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_pa

Frequently Asked Questions

What are the key features of Unofficial FortiMonitor MCP Server?

Comprehensive server management including CRUD, tagging, and DNS flushing.. Full outage lifecycle management from detection to escalation and resolution.. Maintenance window scheduling and management for servers and groups.. Cloud monitoring integration for discovery and resource management.. Reporting capabilities including system health summaries and availability statistics..

What can I use Unofficial FortiMonitor MCP Server for?

Automating incident response by having Claude acknowledge and escalate outages based on severity.. Streamlining maintenance workflows by scheduling windows directly through natural language commands.. Quickly querying infrastructure health and resource metrics during troubleshooting sessions.. Managing large-scale monitoring configurations by applying templates to server groups via AI..

How do I install Unofficial FortiMonitor MCP Server?

Install Unofficial FortiMonitor MCP Server by running: docker run -d --name unofficial-fortimonitor-mcp -e FORTIMONITOR_API_KEY=your-api-key-here gjenkins20/unofficial-fortimonitor-mcp:latest

What MCP clients work with Unofficial FortiMonitor MCP Server?

Unofficial FortiMonitor MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Conare · memory for coding agents

Turn this server into reusable context

Keep Unofficial FortiMonitor MCP Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Set up free$npx conare@latest