NTOPNG Model Context Protocol server

NTOPNG Model Context Protocol server

mcp-server-ntopng•bymarcoeg

A Model Context Protocol server implementation for NTOPNG that lets AI agents query network monitoring data and alerts stored in the NTOPNG database.

License: Not specified•Runtime: Awaiting documentation review•Category: cloud devops

WHAT IT DOES

  • •Exposes tools to retrieve interface IDs, top local and remote talkers, and host geographical location from ntopng.
  • •Provides alert statistics tools covering flow, host, interface, MAC, network, SNMP device, system, and user alerts.
  • •Offers tools to query the ntopng ClickHouse database, list table structures, and fetch detailed or top-k flow data.
  • •Assumes ntopng uses ClickHouse to store historical flows and alerts, and is configured through environment variables.

BEST FOR

  • •AI agents that need to analyze ntopng traffic monitoring data through tool calls.
  • •Investigating network flows and top talkers on a monitored interface.
  • •Reviewing alert statistics across multiple ntopng alert categories.

ABOUT MCP-SERVER-NTOPNG

NTOPNG Model Context Protocol server is cataloged as an MCP server attributed to marcoeg. A Model Context Protocol server implementation for NTOPNG that lets AI agents query network monitoring data and alerts stored in the NTOPNG database. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for NTOPNG Model Context Protocol server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server support MCP resources or prompts?

No; the README states there is currently no support for MCP resources or prompts.

What database does this server expect ntopng to use for historical data?

It assumes ntopng uses ClickHouse to store historical flows and alerts.

Upstream README

View this exact version on GitHub

README.md · 276645fe2675 · Fetched 2026-11-13 10:52:24 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

mcp-server-ntopng

PyPI - Version

NTOPNG Model Context Protocol Server

A Model Context Protocol server implementation for NTOPNG that enables AI agents to query networks monitoring data using the NTOPNG database.

This MCP Server assumes that ntopng is using ClickHouse to store historical flows and alert. Check ntopng Clickhouse

Tools

  • fetch_ntopng_all_ifids
  • Retrieve all available interface IDs from ntopng.
  • get_ntopng_hosts_location
  • Fetch geographical location and additional info for hosts.
  • fetch_ntopng_top_local_talkers
  • Retrieve the top 10 local talkers for a specified interface.
  • fetch_ntopng_top_remote_talkers
  • Retrieve the top 10 remote talkers for a specified interface.
  • get_ntopng_all_alert_stats
  • Retrieve statistics for all alerts.
  • get_ntopng_flow_alert_stats
  • Retrieve statistics for flow alerts.
  • get_ntopng_host_alert_stats
  • Retrieve statistics for host alerts.
  • get_ntopng_interface_alert_stats
  • Retrieve statistics for interface alerts.
  • get_ntopng_mac_alert_stats
  • Retrieve statistics for MAC alerts.
  • get_ntopng_network_alert_stats
  • Retrieve statistics for network alerts.
  • get_ntopng_snmp_device_alert_list
  • Retrieve a list of SNMP device alerts.
  • get_ntopng_snmp_device_alert_stats
  • Retrieve statistics for SNMP device alerts.
  • get_ntopng_system_alert_stats
  • Retrieve statistics for system alerts.
  • query_ntopng_flows_data
  • Retrieve detailed flows data from the ntopng flows database.
  • get_ntopng_top-k_flows
  • Retrieve top-k flows data from the ntopng flows database.
  • get_ntopng_user_alert_stats
  • Retrieve statistics for user alerts.
  • get_ntopng_flow_devices_stats
  • Retrieve statistics for all flow dev`ices.
  • get_ntopng_sflow_devices_stats
  • Retrieve statistics for all sFlow devices.
  • list_tables_ntopng_database
  • List tables structure of the ntopng database.
  • query_ntopng_database
  • Query the ntopng Clickhouse database.

Status

Works with Claude Desktop app and other MCP compliant hosts and clients.

No support for MCP resources or prompts yet.

Configuration

  1. Create or edit the Claude Desktop configuration file located at:

    • On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • On Windows: %APPDATA%/Claude/claude_desktop_config.json
  2. Add the following:

{
  "mcpServers": {
    "mcp-ntopng": {
      "command": "/path/to/your/uv-binary",
      "args": ["run", "--with", "mcp-ntopng", "--python", "3.13", "mcp-ntopng"]
      "env": {
        "NTOPNG_HOST": "<ntopng-host>",
        "NTOPNG_DBPORT": "<ntopng-dbport>",
        "NTOPNG_DBUSER": "<ntopng-dbuser>",
        "NTOPNG_DBPASSWORD": "<ntopng-dbpassword>",
        "NTOPNG_SECURE": "true",
        "NTOPNG_VERIFY": "true",
        "NTOPNG_CONNECT_TIMEOUT": "30",
        "NTOPNG_SEND_RECEIVE_TIMEOUT": "300",
        "NTOPNG_API_KEY": "NTOPNG_TOKEN"
      }
    }
  }
}
  1. Replace /path/to/your/uv-binary with the absolute path to the uv executable. Find the path with which uv. This ensures that the correct version of uv is used when starting the server.

  2. Restart Claude Desktop to apply the changes.

Development

  1. Set the environmental variables either in the claude_desktop_config.json file or in a .env file in the root of the repository.
NTOPNG_HOST=localhost
NTOPNG_PORT=9000
NTOPNG_USER=default
NTOPNG_PASSWORD=
  1. Run uv sync to install the dependencies. To install uv follow the instructions here. Then do source .venv/bin/activate.

  2. Install the mcp-ntopng package with uv pip install -e . from the project main directory.

  3. For easy testing, you can run mcp dev mcp_ntopng/mcp_server.py to start the MCP server. CHANGE WITH A PROPER CHAT CLIENT

Environment Variables

The following environment variables are used to configure the database connection:

  • NTOPNG_HOST: The hostname of the ntopng server
  • NTOPNG_DBUSER: The username for Clickhouse DB authentication
  • NTOPNG_DBPASSWORD: The password for Clickhouse DB authentication
  • NTOPNG_API_KEY: The ntopng authentication token.

Optional

  • NTOPNG_DBPORT: The port number of the Clickhouse DB in the ntopng server
    • Default: 9000 if HTTPS is enabled, 8123 if disabled
    • Usually doesn't need to be set unless using a non-standard port
  • NTOPNG_SECURE: Enable/disable a TLS connection
    • Default: false
    • Set to true for a secure TLS connections
  • NTOPNG_VERIFY: Enable/disable SSL certificate verification
    • Default: true
    • Set to `false to disable certificate verification (not recommended for production)
  • NTOPNG_CONNECT_TIMEOUT: Connection timeout in seconds
    • Default: `30
    • Increase this value if you experience connection timeouts
  • NTOPNG_SEND_RECEIVE_TIMEOUT: Send/receive timeout in seconds
    • Default: 300
    • Increase this value for long-running queries

Check TLS Setup in the ntopng documentation for details about setting up a TLS connection to Clickhouse.

Development

Install the package on the local machine:

$ uv sync
$ uv pip install -e .

Run the MCP Inspector

$ cd mcp_ntopng
$ source .env
$ CLIENT_PORT=8077 SERVER_PORT=8078  mcp dev run_mcp_ntopng.py --with clickhouse-driver --with python-dotenv --with uvicorn --with pip-system-certs

Use the local library in Claude Desktop.

Find: /Users/marco/Library/Application\ Support/Claude/claude_desktop_config.json

Edit the claude_desktop_config.json changing the local paths:

{
    "mcpServers": {
      "mcp-ntopng": {
        "command": "/Users/marco/Development/claude/mcp-server-ntopng/.venv/bin/python",
        "args": [
           "/Users/marco/Development/claude/mcp-server-ntopng/run_mcp_ntopng.py"
        ],
        "env": {
          "NTOPNG_HOST": "marcoeg-nod004.ntoplink.com",
          "NTOPNG_DBPORT": "9000",
          "NTOPNG_DBUSER": "default",
          "NTOPNG_DBPASSWORD": "",
          "NTOPNG_SECURE": "false",
          "NTOPNG_VERIFY": "false",
          "NTOPNG_CONNECT_TIMEOUT": "30",
          "NTOPNG_SEND_RECEIVE_TIMEOUT": "300",
          "SELECT_QUERY_TIMEOUT_SECS": "30",
          "NTOPNG_API_KEY": "NTOPNG_TOKEN"
        }
      }
    }
  }

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for NTOPNG Model Context Protocol server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-server-ntopng)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable
Site views (30 UTC days)1

Approximate reported site interactions from 2026-10-27 through 2026-11-25 UTC; not unique visitors or installations.

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related cloud devops MCP Servers

Alternative and complementary servers in the same category

View all in cloud devops →
Huawei MCP Server
mcp-server-huaweiclouddeveloper•huaweiclouddeveloper

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

Repository stats unavailable
Cloud & DevOps
Coolify MCP Server
coolify-mcp-server•wrediam

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

Repository stats unavailable
Cloud & DevOps

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.

Repository stats unavailable
Cloud & DevOps