mcpField
M
mcp-ntopng

mcp-ntopng

Local
github.com/marcoegCloud & Infra0Updated 83w ago

About mcp-ntopng

mcp-ntopng is a lite MCP server for ntopng network monitoring software. It exposes a database query tool for clients to run SELECT statements against ntopng data.

Key features

  1. 01Query the ntopng database
  2. 02Run SELECT statements
  3. 03stdio and SSE transports

Use cases

  1. 01Querying host alert records
  2. 02Inspecting ntopng data through an MCP client

MCP support

The server exposes the `query_ntopng_database` tool to MCP clients and supports stdio and SSE transports.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

mcp-ntopng

An MCP server for network monitoring software ntopng

Lite version

Development

Setup
  1. Prerequisites:

  2. Clone the Repository:

git clone https://github.com/marcoeg/mcp-nvd
cd mcp-nvd
  1. Set Environment Variables:
    • Create a .env file in the project root with the mandatory environmental variables:
    NTOPNG_HOST=localhost NTOPNG_PORT=9000 NTOPNG_USER=default NTOPNG_PASSWORD=
  2. Install Dependencies:
uv sync
uv pip install -e .
Run with the MCP Inspector
cd /path/to/the/repo
source .env

CLIENT_PORT=8077 SERVER_PORT=8078 npx @modelcontextprotocol/inspector uv \
    --directory /path/to/repo/mcp-ntopng run mcp-ntopng

Then open the browser to the URL indicated by the MCP Inspector, typically http://localhost:8077?proxyPort=8078

After connecting, list the Tools. Select query_ntopng_database and enter in the query a SELECT statement like SELECT * FROM host_alerts_view LIMIT 2.

Switch freely between stdio and sse transport types in the inspector. To use sse you need to run the server as explained below.

Run the Server:
cd /path/to/the/repo
source .env

uv run mcp-ntopng --transport sse --port 9090
  • Runs with SSE transport on port 9090 by default.

In the terminal running the server there is a full log of the activities. Very useful for debugging.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.