MCP.so
登录

MCP Ntopng

@marcoeg

基本信息

分类

其他

许可证

MIT license

传输方式

stdio

作者

marcoeg

关于 MCP Ntopng

An MCP server for network monitoring software ntopng

MCP Ntopng 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-ntopng": {
      "command": "uv",
      "args": [
        "sync"
      ]
    }
  }
}

MCP Ntopng 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is mcp-ntopng?

mcp-ntopng is an MCP (Model Context Protocol) server that provides a tool to run SQL SELECT queries on the internal database of the network monitoring software ntopng. It is intended for developers and network administrators who want to interact with ntopng data programmatically via AI assistants or the MCP Inspector.

How to use mcp-ntopng?

Clone the repository, set the required environment variables (NTOPNG_HOST, NTOPNG_PORT, NTOPNG_USER, NTOPNG_PASSWORD) in a .env file, and install dependencies with uv sync. Run the server using uv run mcp-ntopng --transport sse --port 9090 (or omit flags for stdio). Use the MCP Inspector to list the query_ntopng_database tool and submit SELECT statements.

Key features of mcp-ntopng

  • Tool query_ntopng_database for SQL SELECT on ntopng’s database
  • Supports both stdio and SSE transport modes
  • Requires Python 3.13+, uv package manager, and a running ntopng instance

Use cases of mcp-ntopng

  • Querying ntopng’s host_alerts_view to inspect recent network alerts
  • Integrating ntopng data with MCP‑enabled AI assistants for network analysis
  • Automated monitoring workflows via the MCP Inspector or custom clients

常见问题

1

What is a “Lite version”?

The README labels this version as “Lite”, implying a simplified or reduced feature set compared to a full version, but no further details are given.

2

What environment variables are required?

You must set `NTOPNG_HOST`, `NTOPNG_PORT`, `NTOPNG_USER`, and `NTOPNG_PASSWORD` in a `.env` file before running the server.

3

Which transports are supported?

The server can be run with stdio (default) or SSE (by passing `--transport sse`). When using SSE, the default port is `9090` and can be changed with `--port`.

4

How do I test the server?

Use the MCP Inspector: set `source .env`, then run the inspector command provided in the README. After connecting, list the tools, choose `query_ntopng_database`, and enter a SELECT statement (e.g., `SELECT * FROM host_alerts_view LIMIT 2`).

5

What programming language / runtime does it need?

The server is written in Python and requires Python 3.13 or higher along with the `uv` package manager.

评论

其他 分类下的更多 MCP 服务器