Skip to main content
Glama
RuoJi6

Memory Shell Detector MCP

by RuoJi6

download_detector_tools

Download Java memory shell detection tools to scan, analyze, and remove malicious code from JVM processes locally or via SSH.

Instructions

下载 Java 内存马检测工具包(detector-agent.jar 和 detector-cli.jar)

此工具会下载两个核心 jar 包:

  • detector-agent-1.0.0-SNAPSHOT.jar: Java Agent,用于注入目标 JVM 进程

  • memory-shell-detector-cli.jar: 命令行工具,提供扫描、反编译、移除等功能

这是使用内存马检测功能的前置步骤,下载完成后才能执行后续的扫描和分析操作。

Args: tools_dir: 工具存放目录,不指定则从环境变量 TOOLS_DIR 读取,都没有则使用系统临时目录 use_ssh: 是否在远程服务器上下载 ssh_host: SSH 主机地址(不指定则从环境变量 SSH_HOST 读取) ssh_username: SSH 用户名(不指定则从环境变量 SSH_USERNAME 读取) ssh_password: SSH 密码(不指定则从环境变量 SSH_PASSWORD 读取) ssh_key_path: SSH 私钥路径(不指定则从环境变量 SSH_KEY_PATH 读取) ssh_port: SSH 端口(不指定则从环境变量 SSH_PORT 读取)

Returns: 下载结果,包含工具目录路径和 jar 文件名

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tools_dirNo
use_sshNo
ssh_hostNo
ssh_usernameNo
ssh_passwordNo
ssh_key_pathNo
ssh_portNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden. It describes what the tool does (downloads files) and mentions remote download capability via SSH, but doesn't disclose important behavioral aspects like: where files are downloaded from (source URL/repository), authentication requirements for the download source, network dependencies, error handling, or what happens if files already exist. The description adds some context about being a prerequisite step but lacks comprehensive behavioral disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured and appropriately sized. It starts with the core purpose, lists the specific files, explains the prerequisite nature, then details parameters. While slightly longer due to parameter explanations, every sentence adds value. The structure is logical with clear sections for tool purpose and parameter semantics.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 7 parameters with 0% schema coverage, the description does an excellent job explaining parameter semantics. With an output schema present, it doesn't need to detail return values. The description covers the prerequisite relationship to sibling tools. The main gap is lack of behavioral details about download source and error conditions, but overall it's quite complete for a download tool with complex parameter options.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage and 7 parameters, the description provides excellent parameter semantics. It explains each parameter's purpose, default behaviors, and fallback mechanisms (environment variables, system temp directory). The description adds substantial value beyond the bare schema by clarifying that tools_dir defaults to TOOLS_DIR env var then system temp, and that SSH parameters have corresponding environment variable fallbacks.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('下载' - download) and resources ('Java 内存马检测工具包' - Java memory shell detection toolkit), explicitly naming the two JAR files to be downloaded. It distinguishes this as a prerequisite step for subsequent scanning/analysis operations, making its purpose distinct from sibling tools like scan_process or remove_memory_shell.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when to use this tool: '这是使用内存马检测功能的前置步骤,下载完成后才能执行后续的扫描和分析操作' (This is a prerequisite step for using memory shell detection functionality; subsequent scanning and analysis operations can only be performed after download is complete). This provides clear guidance that this must be used before tools like scan_process or remove_memory_shell.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RuoJi6/memory-shell-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server