MCP Network Sentinel

by takeaship

262 downloads
Not rated
GitHub

About

A network monitoring tool for MCP servers that logs all network activities to help identify potential security issues.

Details

Author
takeaship
Downloads
262
Categories
Developer Tools, Security

- Monitors all network activity from MCP servers
- Logs connection attempts, HTTP/HTTPS requests, and DNS lookups
- Writes logs to console and optionally to a JSON file
- Runs your MCP server within a monitored environment
- Uses Node.js module interception transparently

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Network Sentinel
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install the package globally with npm install -g @takeaship/mcp-network-sentinel, then run it by wrapping your MCP server command in the sentinel: npx @takeaship/mcp-network-sentinel "your-mcp-server-package arg1 arg2" --output=network-logs.json. The --output (or -o) flag is optional and saves logs to a specified JSON file.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp network sentinel": {
            "mcp-network-sentinel": {
                "command": "npx",
                "args": [
                    "@takeaship/mcp-network-sentinel",
                    "your-mcp-server-package arg1 arg2",
                    "--output=network-logs.json"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-network-sentinel": {
        "command": "npx",
        "args": [
            "@takeaship/mcp-network-sentinel",
            "your-mcp-server-package arg1 arg2",
            "--output=network-logs.json"
        ]
    }
}

MCP Network Sentinel

A network monitoring tool for MCP servers that logs all network activities to help identify potential security issues.

Background

When using third-party MCP servers to access confidential data, there's a risk that the MCP server might transmit your data or access keys to external sources. This tool monitors all network communications from the MCP server to help identify any suspicious activities.

Installation

npm install -g @takeaship/mcp-network-sentinel

Usage

npx @takeaship/mcp-network-sentinel "your-mcp-server-package arg1 arg2" --output=network-logs.json

Features

- Monitors all network activity from MCP servers
- Logs connection attempts, HTTP/HTTPS requests, and DNS lookups
- Writes logs to console and optionally to a JSON file
- Runs your MCP server within a monitored environment

How It Works

MCP Network Sentinel uses Node.js module interception to hook into the network-related modules and log all outgoing connections. It works by:

1. Intercepting calls to network modules (net, tls, http, https, dns)
2. Logging connection details including destination, port, and protocol
3. Running your MCP server command in a monitored environment
4. Saving logs to a JSON file if specified

Options

- -o, --output <file> - Save network logs to a specified JSON file

License

MIT

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.