MCP-NTOPNG
用于网络监控软件NTOPNG的MCP服务器
1
Github Watches
0
Github Forks
0
Github Stars
mcp-ntopng
An MCP server for network monitoring software ntopng
Lite version
Development
Setup
-
Prerequisites:
- Python 3.13 or higher.
-
uvpackage manager (installation).
-
Clone the Repository:
git clone https://github.com/marcoeg/mcp-nvd
cd mcp-nvd
-
Set Environment Variables:
- Create a
.envfile in the project root with the mandatory environmental variables:
- Create a
- 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
stdioandssetransport types in the inspector. To usesseyou 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
9090by default.
In the terminal running the server there is a full log of the activities. Very useful for debugging.
相关推荐
I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Reviews
user_cfDtIjA0
I've been using the MCP-Server-POC-Projects by ahmedmusawir and I am really impressed with its functionalities. The setup is straightforward and the performance is top-notch. This server has streamlined our project management tasks significantly. Highly recommend checking it out!