SAST工具MCP服务器

Artemis SAST工具的MCP服务器,用于处理扫描请求和配置规则。

  • by zsdlove
  • Python
  • 云端部署
  • 3 星标
  • 更新于
在 GitHub 查看 zsdlove/artemis-mcp-server

使用说明

artemis mcp服务器

这是artemis sast工具的mcp服务器

用法

command args:
python3 -m artemis-mcp-server --help
pony@ponydeMBP % python3 -m artemis-mcp-server --help
usage: __main__.py [-h] [-v] [-r RULE] [-s SERVER] [-p PORT]

this is a mcp server for artemis sast tool.

options:
  -h, --help           show this help message and exit
  -v, --verbose        artemis-mcp-server-v0.1.0
  -r, --rule RULE      path to rule
  -s, --server SERVER  mcp server host
  -p, --port PORT      mcp server port
Example:
python3 -m artemis-mcp-server -s 127.0.0.1 -p 8088

配置

需要在项目的根目录中配置config-build.properties,以便扫描程序能够正确编译。

Example:
java_home = /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home
build_cmd= mvn clean package -X -DskipTests=true

cline配置

"artemis-mcp-server": {
      "autoApprove": ["scan"],
      "disabled": false,
      "timeout": 60,
      "url": "http://127.0.0.1:8088/sse",
      "transportType": "sse"
}