MCP Server — marcoeg/mcp-server-ntopng

ntopng Model Context Protocol Server

Local serverstdioPython

What is the MCP Server?

ntopng Model Context Protocol Server

What the server does

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

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
fetch_ntopng_all_ifidsRetrieve all available interface IDs from ntopng.
get_ntopng_hosts_locationFetch geographical location and additional info for hosts.
fetch_ntopng_top_local_talkersRetrieve the top 10 local talkers for a specified interface.
fetch_ntopng_top_remote_talkersRetrieve the top 10 remote talkers for a specified interface.
get_ntopng_all_alert_statsRetrieve statistics for all alerts.
get_ntopng_flow_alert_statsRetrieve statistics for flow alerts.
get_ntopng_host_alert_statsRetrieve statistics for host alerts.
get_ntopng_interface_alert_statsRetrieve statistics for interface alerts.
get_ntopng_mac_alert_statsRetrieve statistics for MAC alerts.
get_ntopng_network_alert_statsRetrieve statistics for network alerts.
get_ntopng_snmp_device_alert_listRetrieve a list of SNMP device alerts.
get_ntopng_snmp_device_alert_statsRetrieve statistics for SNMP device alerts.
get_ntopng_system_alert_statsRetrieve statistics for system alerts.
query_ntopng_flows_dataRetrieve detailed flows data from the ntopng flows database.

Configuration

VariableDescriptionRequired
NTOPNG_HOSTEndpoint or connection string the server talks to.Optional
NTOPNG_DBPORTConfiguration value read at startup.Optional
NTOPNG_DBUSERConfiguration value read at startup.Optional
NTOPNG_DBPASSWORDConfiguration value read at startup.Optional
NTOPNG_SECUREConfiguration value read at startup.Optional
NTOPNG_VERIFYConfiguration value read at startup.Optional
NTOPNG_CONNECT_TIMEOUTConfiguration value read at startup.Optional
NTOPNG_SEND_RECEIVE_TIMEOUTConfiguration value read at startup.Optional

Example prompts to try

  • “Use MCP to fetch ntopng all ifids.”
  • “Use MCP to get ntopng hosts location.”
  • “Use MCP to fetch ntopng top local talkers.”

Frequently asked questions

The server requires ntopng to be configured with ClickHouse for flow and alert storage. It also needs Python 3.13 and the `uv` package manager.