Token导航 LogoToken导航

MCP Server · 运维云端

MCP ipc analyzer

RHEL Advanced IPC Analyzer 是一个独立的eBPF代理和MCP服务器,用于实时深度分析RHEL 8系统上的进程间通信(IPC),支持直接监控和AI驱动的分析。

stdio官方级别未说明来源级核验工具 3
实时监控PythonAI分析

快速开始

作者 / 组织
psuriset
提供方
psuriset
运行时
Python

工具数量

3

来源目录标注

资源数量

0

来源目录标注

提示词数量

0

来源目录标注

GitHub Star

0

仓库热度

收录来源

1 个

MCP World

选型结论

MCP ipc analyzer 属于运维云端类 MCP Server,公开资料标注 3 个工具,通过stdio 本地进程接入,客户端适配情况以官方文档为准,有可以直接复制的安装命令;接入前先确认权限范围。

分类

运维云端

传输方式

stdio

认证方式

无需认证

部署方式

公开资料未说明

安装与配置

安装命令

python3 -m venv venv

公开命令不是通用的启动方式,拼不出可靠配置示例;请在客户端 MCP 配置里按官方文档填写 command 和 args。

上手步骤

  1. 1

    准备运行环境

    stdio 服务在本地起进程,需要先装好 Python,再按安装命令拉取依赖。

  2. 2

    安装服务

    复制下面的安装命令执行;命令里带占位符的位置换成自己的密钥或路径。

  3. 3

    写入客户端配置

    在客户端的 MCP 配置里填启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4

    验证是否可用

    连接成功后客户端会列出 3 个工具,随便调一个只读工具确认能返回结果。

接入前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

详细介绍

RHEL Advanced IPC Analyzer

1. Overview

This project provides a powerful standalone eBPF agent and a Model-Context-Protocol (MCP) server to perform deep, real-time analysis of Inter-Process Communication (IPC) on a RHEL 8 system.

It is designed for two primary use cases:

  1. Direct, Real-Time Monitoring: Run the standalone eBPF agent to get a raw, detailed stream of various IPC events as they happen.
  2. AI-Powered Analysis: Use the MCP server to provide tools for a Large Language Model (LLM) to analyze system behavior in a structured way.

2. The Advanced eBPF Agent

The core of this project is a sophisticated eBPF agent that traces a wide variety of IPC mechanisms at the kernel level with minimal overhead.

Key Features:

  • Comprehensive IPC Tracing: Captures much more than just network traffic.

- Network Sockets: TCP and UDP connections (IPv4/IPv6). - Unix Domain Sockets: Local communication between processes. - System V Shared Memory: Traces processes attaching to shared memory segments. - System V Message Queues: Traces processes sending messages to message queues.

  • Rich Data Enrichment: Each event is enriched with process details, including PID, command, and Parent Process ID (PPID).
  • Kernel Compatibility: Dynamically resolves syscall names to ensure compatibility across different kernel versions.
  • Structured JSON Output: Streams events as single-line JSON objects, perfect for parsing with tools like jq.

How to Run the Agent Standalone

This is the recommended method for raw data collection and direct analysis.

Command:

# Run from the root of the mcp_ipc_analyzer directory
sudo python3 -u ebpf_agent/agent.py

Example Output Stream: You will see a real-time stream of JSON objects.

*Network Event Example:*

{"timestamp": "2023-10-27T15:30:01.123456", "process": {"pid": 12345, "ppid": 1234, "command": "curl"}, "ipc_mechanism": "outbound_network_socket", "details": {"transport_protocol": "TCP", "local_address": "192.168.1.10", "local_port": 54321, "remote_address": "142.250.191.196", "remote_port": 443, "application_protocol": "HTTPS/TLS"}}

*Unix Socket Example:*

{"timestamp": "2023-10-27T15:31:05.654321", "process": {"pid": 54321, "ppid": 1, "command": "systemd"}, "ipc_mechanism": "unix_domain_socket", "details": {"path": "/run/systemd/journal/stdout"}}

*Shared Memory Example:*

{"timestamp": "2023-10-27T15:32:10.987654", "process": {"pid": 11223, "ppid": 11220, "command": "python3"}, "ipc_mechanism": "systemv_shared_memory", "details": {"action": "attach", "shmid": 123456, "shmaddr": "0x7f1234567890"}}

3. The MCP Server

The MCP server provides a higher-level, model-agnostic interface for an AI to interact with the system's state.

Server Tools

1. get_process_connection_snapshot
  • Functionality: Provides a one-time snapshot of all running processes and their *currently active* network connections.
  • Use Case: Best for a comprehensive, static overview of the system's network state.
2. get_live_ipc_events
  • Functionality: Runs the advanced eBPF agent for a specified duration and streams all captured IPC events.
  • Note: This tool captures all IPC events from the enhanced agent, including network, Unix sockets, shared memory, and message queues.
  • Use Case: Best for observing the complete picture of system behavior and all types of IPC as it happens.
3. generate_ipc_analysis_prompt
  • Functionality: Automates analysis by running the snapshot tool and formatting the output into a detailed prompt ready to be sent to an LLM.
  • Use Case: The quickest way to go from raw data to expert-level analysis.
Example Generated Prompt:

The analysis_prompt field in the tool's output will contain a prompt similar to the following:

As an expert Linux Systems Analyst, your task is to analyze a snapshot of processes and their network connections from a RHEL 8 system to identify Inter-Process Communication (IPC) patterns.

Here is the snapshot of processes with active or listening network connections:
--- PROCESS CONNECTION SNAPSHOT ---
{
  "process_connections": [
    {
      "pid": 1234,
      "name": "sshd",
      "user": "root",
      "command": "/usr/sbin/sshd -D",
      "connections": [
        {
          "transport_protocol": "TCP",
          "identified_application_protocol": "SSH",
          "local_address": "0.0.0.0:22",
          "remote_address": "N/A",
          "status": "LISTEN"
        }
      ]
    },
    {
      "pid": 5678,
      "name": "curl",
      "user": "user1",
      "command": "curl https://www.google.com",
      "connections": [
        {
          "transport_protocol": "TCP",
          "identified_application_protocol": "HTTPS/TLS",
          "local_address": "192.168.1.10:54321",
          "remote_address": "142.250.191.196:443",
          "status": "ESTABLISHED"
        }
      ]
    }
  ]
}
--- END PROCESS CONNECTION SNAPSHOT ---

Based on the data provided, perform the following analysis:
1.  **Identify Key Services:** List the processes that are acting as servers (i.e., in a 'LISTEN' state). What services are they providing based on their port and process name?
2.  **Identify Key Clients:** List the processes that have established outbound connections. What external services are they communicating with?
3.  **Provide a High-Level Summary:** Write a brief summary of the system's role based on this snapshot. Is it primarily a web server, a database server, a client machine, or a mix of roles?

Present your analysis in a clear, structured format.

How to Use the MCP Server

Once the server is running, you can interact with it by calling its tools from another terminal using a command like curl. The server listens on port 8000.

1. List Available Tools: You can see a list of all available tools and their descriptions by calling the /openapi.json endpoint or by visiting the interactive documentation at http://127.0.0.1:8000/docs.

2. Call a Specific Tool: To call a tool, you send a POST request to its endpoint. For tools that take parameters (like get_live_ipc_events), you provide them in a JSON body.

Example: Calling get_live_ipc_events This command will run the eBPF agent for 10 seconds and stream all the IPC events it captures directly to your terminal.

curl -X POST http://127.0.0.1:8000/get_live_ipc_events \
-H "Content-Type: application/json" \
-d '{
  "duration_seconds": 10
}'

4. Prerequisites & Installation

  • Python 3.7+
  • BCC and Kernel Headers: The eBPF agent requires these to be installed.
  # For RHEL/Fedora based systems
  sudo dnf install -y bcc bcc-tools kernel-devel-$(uname -r) python3

Setup and Running

  1. Create and activate a Python virtual environment: This isolates the project's dependencies.
    python3 -m venv venv
    source venv/bin/activate

*(Note: On Windows, the activation command is venv\Scripts\activate)*

  1. Install Python libraries:
    pip3 install -r requirements.txt
  1. Run the desired component:

- To run the standalone eBPF agent:

      sudo python3 -u ebpf_agent/agent.py

- To run the MCP Server:

      sudo python3 main.py

工具与能力

工具数量

3

资源数量

0

提示词数量

0

能力标签

进程间通信Python本地部署eBPF实时监控AI分析RHEL

数量来自来源目录的标注,具体工具清单以官方文档为准。

典型使用场景

看服务状态

查询容器、日志和监控指标,定位异常。

执行部署变更

在权限范围内触发发布、回滚和环境切换。

核对资源用量

汇总用量,找出闲置和超额的部分。

选择建议

值得选的地方

  • 只提供 3 个工具,职责集中,接入后不容易误操作。
  • 有现成的安装命令,不用自己找入口,照着跑就能起服务。
  • 公开说明写得比较完整,接入前能看清能力边界。

先想清楚的地方

  • stdio 方式要求本地装好 Python,换机器要重新装一遍。
  • 第三方目录整理,版本更新和行为细节以官方仓库为准。

更适合

  • 需要在运维云端场景里让模型直接调用外部能力的人。
  • 想先快速试一下、能接受在本地跑服务的人。

不太适合

  • 完全不想在本地装环境的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

5 个同类
MCP Server工具数传输方式安装命令收录来源最后核验
MCP ipc analyzer

MCP World · 本页

3stdio有1 个2026-05-17
Ui Tars Desktop 8a825770

MCP World

0stdio有1 个2026-05-17
Elie222 MCP

MCP World

0未说明未标注1 个2026-05-17
Arizeai Phoenix MCP

MCP World

0stdio有3 个2026-05-17
Unity MCP 87ee506e

MCP World

42HTTP有2 个2026-05-17

按同分类和工具数量挑出最接近的几条,字段以各自详情页为准。

常见问题

5 条

MCP ipc analyzer 怎么安装?

公开资料给出的安装命令是 python3 -m venv venv,运行环境为 Python。装完后按客户端要求写进 MCP 配置,重启客户端生效。

MCP ipc analyzer 怎么在 Claude Desktop、Cursor 里配置?

它是stdio 本地进程,客户端配置里要写启动命令和参数,运行环境是 Python;保存后完全退出客户端再打开,配置才会生效。

MCP ipc analyzer 收费吗?

本站只整理公开资料,不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

MCP ipc analyzer 需要 API Key 吗?

公开资料标注为无需认证,装好就能连;如果实际调用时报鉴权错误,按官方文档补上凭据。

MCP ipc analyzer 支持哪些客户端?

公开资料没有标注具体客户端;能配置本地 MCP 命令的客户端都能接,配置方式参照官方文档。

来源信息

继续浏览同类 MCP