1. Conduid
  2. Developer Tools
  3. Memory Shell MCP
MCP server · Developer Tools

Memory Shell MCP

This repository is designed to automate the detection and cleanup of in-memory web shells using MCP in combination with the memory-shell-detector tool. / 本仓库旨在结合 MCP 与 memory-shell-detector 工具,实现对内存 WebShell(内存马)的自动化检测与清除。

Unclaimed MIT last commit 10 months ago mcpshiroshellmemory-shellspringdevtoolsfilteraiservlet
56Fair

Scored just now · breakdown

About Memory Shell MCP

Memory Shell MCP is an MCP server published by RuoJi6 in the Developer Tools category: this repository is designed to automate the detection and cleanup of in-memory web shells using MCP in combination with the memory-shell-detector tool. / 本仓库旨在结合 MCP 与 memory-shell-detector 工具,实现对内存 WebShell(内存马)的自动化检测与清除。. Conduid read 9 tools from its source: check_network, download_detector_tools, execute_command, export_report, get_system_info_tool, list_java_processes and 3 more. It is published to PyPI as memory-shell-mcp and runs with uvx.

The repository has 31 stars and 6 forks, is licensed MIT, and its last commit was on 14 Jan 2026. The latest release is 1 (14 Jan 2026): 适配此MCP的jar 项目:memory-shell-detecto的cli.jar在扫描的时候会输出大量文件,会导致AI获取上下文失败. It is the only release Conduid has on record for this repository. It passes 3 of the 6 static checks Conduid ran on the repository; it does not pass Tests present, No dynamic code execution and Scoped permissions. Its topics include shiro, shell, memory-shell, spring, devtools and filter.

Install

uvx
uvx memory-shell-mcp
pip
pip install memory-shell-mcp
From source
git clone https://github.com/RuoJi6/memory-shell-mcp

Tools (9)

check_network检测网络连通性
download_detector_tools下载 Java 内存马检测工具包(detector-agent.jar 和 detector-cli.jar)
ParameterTypeDescription
ssh_hoststringSSH 主机地址(不指定则从环境变量 SSH_HOST 读取)
ssh_key_pathstringSSH 私钥路径(不指定则从环境变量 SSH_KEY_PATH 读取)
ssh_passwordstringSSH 密码(不指定则从环境变量 SSH_PASSWORD 读取)
ssh_portintegerSSH 端口(不指定则从环境变量 SSH_PORT 读取)
ssh_usernamestringSSH 用户名(不指定则从环境变量 SSH_USERNAME 读取)
tools_dirstring工具存放目录,不指定则从环境变量 TOOLS_DIR 读取,都没有则使用系统临时目录
use_sshboolean是否在远程服务器上下载
execute_command执行系统命令(本地或通过 SSH 远程执行)
ParameterTypeDescription
command *string要执行的 shell 命令
ssh_hoststringSSH 主机地址(不指定则从环境变量 SSH_HOST 读取)
ssh_key_pathstringSSH 私钥路径(不指定则从环境变量 SSH_KEY_PATH 读取)
ssh_passwordstringSSH 密码(不指定则从环境变量 SSH_PASSWORD 读取)
ssh_portintegerSSH 端口,默认 22(不指定则从环境变量 SSH_PORT 读取)
ssh_usernamestringSSH 用户名(不指定则从环境变量 SSH_USERNAME 读取)
timeoutinteger命令超时时间(秒),默认 300 秒
use_sshboolean是否使用 SSH 远程执行
export_report执行 memory-shell-detector-cli.jar 生成内存马检测报告
ParameterTypeDescription
formatstring报告格式(json/html/txt)
output_file *string报告输出文件路径
pid *integer目标 Java 进程的 PID
ssh_hoststring
ssh_key_pathstring
ssh_passwordstring
ssh_portinteger
ssh_usernamestring
tools_dirstring检测工具 jar 包所在目录
use_sshboolean是否通过 SSH 在远程服务器执行
get_system_info_tool获取当前系统环境信息
list_java_processes执行 memory-shell-detector-cli.jar 列出系统中所有运行的 Java 进程
ParameterTypeDescription
ssh_hoststring
ssh_key_pathstring
ssh_passwordstring
ssh_portinteger
ssh_usernamestring
tools_dirstring检测工具 jar 包所在目录
use_sshboolean是否通过 SSH 在远程服务器执行
remove_memory_shell执行 memory-shell-detector-cli.jar 从 JVM 内存中移除指定的内存马类
ParameterTypeDescription
ai_confirmedbooleanAI 是否已确认该类为内存马(首次调用设为 False)
class_name *string要移除的内存马完整类名
pid *integer目标 Java 进程的 PID
ssh_hoststring
ssh_key_pathstring
ssh_passwordstring
ssh_portinteger
ssh_usernamestring
tools_dirstring检测工具 jar 包所在目录
use_sshboolean是否通过 SSH 在远程服务器执行
scan_process执行 memory-shell-detector-cli.jar 对指定 Java 进程进行内存马扫描检测
ParameterTypeDescription
pid *integer目标 Java 进程的 PID
ssh_hoststring
ssh_key_pathstring
ssh_passwordstring
ssh_portinteger
ssh_usernamestring
tools_dirstring检测工具 jar 包所在目录
use_sshboolean是否通过 SSH 在远程服务器执行
view_class_code执行 memory-shell-detector-cli.jar 从 JVM 内存中提取并反编译指定类的字节码
ParameterTypeDescription
class_name *string要反编译的完整类名(如 com.example.EvilFilter)
pid *integer目标 Java 进程的 PID
ssh_hoststring
ssh_key_pathstring
ssh_passwordstring
ssh_portinteger
ssh_usernamestring
tools_dirstring检测工具 jar 包所在目录
use_sshboolean是否通过 SSH 在远程服务器执行

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 822 words.
  • ✓License declaredThe repository declares the MIT license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedDependency versions are pinned by uv.lock.
  • !No dynamic code executionScanned 1 source file and found 1 call to eval or shell execution, in src/memory_shell_mcp/__init__.py:154. Review how tool inputs reach them before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdiosrc/memory_shell_mcp/__init__.py:820
Starts other programs
1 callsrc/memory_shell_mcp/__init__.py:154
Outbound network calls
No outbound network calls
Writes or deletes files
1 callsrc/memory_shell_mcp/__init__.py:441
Lockfile
uv.lock

Pattern matches on the source text of 1 files: places to read, not proof of what the code does at run time.

Releases

1适配此MCP的jar · 14 Jan 2026适配此MCP的jar 项目:memory-shell-detecto的cli.jar在扫描的时候会输出大量文件,会导致AI获取上下文失败

README

The repository's README runs to about 822 words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Memory Shell MCP

How do I install Memory Shell MCP?

Run uvx memory-shell-mcp, then add the server to your MCP client's configuration.

Is Memory Shell MCP safe to use with an AI agent?

Its trust score is 56 out of 100 (fair). It passes 3 of the 6 static checks Conduid ran on the repository; it does not pass Tests present, No dynamic code execution and Scoped permissions. Conduid's scan of 1 source files found that it serves MCP over stdio, starts other programs (1 call) and writes or deletes files (1 call). Its dependencies are pinned by uv.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Memory Shell MCP still maintained?

The last commit was 10 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.

What tools does Memory Shell MCP provide?

Conduid read 9 tools from the source: check_network, download_detector_tools, execute_command, export_report, get_system_info_tool, list_java_processes, remove_memory_shell, scan_process and 1 more. 7 of them publish their parameters, listed under Tools above.

What license is Memory Shell MCP released under?

The repository declares the MIT license. That applies to the latest release, 1, as well.