Wass Mcp

io.github.tb0hdan由 GitHub 账号 tb0hdan 发布v1.0.4更新于 Oct 24, 2026

MCP server for web application security scanning

已验证STDIO仅桌面开发者工具安全与监控

概览

AI 生成的概览

对目标主机运行 Web 应用安全扫描(Nikto、Nuclei、Wapiti、响应头检查)并保存结果。

可以做什么
WASS-MCP 提供工具,对指定主机和端口运行四种外部安全扫描器:Nikto 检查 Web 服务器问题,Nuclei 基于模板检测漏洞,Wapiti 检测 SQL 注入、XSS 等 Web 应用缺陷,shcheck.py 分析 HTTP 安全响应头。full_scan 工具会并行运行全部四种扫描器并合并为一份报告。history 工具可列出、查看、删除或清空已保存的扫描结果。
适用场景
当你希望由助手对自有或已获授权测试的 Web 服务器或应用执行安全测试,并保留历史扫描记录时使用。它并非通用浏览或监控工具。
运行要求
以本地进程方式运行,通常通过 Docker 监听 127.0.0.1:8989,或使用 Go 1.25+ 与 SQLite3 从源码构建。需安装 Nikto、Nuclei、Wapiti 和 shcheck 扫描器程序,对应工具才能工作。未声明需要账号、API 密钥或环境变量。
安装前请注意
扫描器会向指定主机发送主动攻击流量,因此只能扫描你获授权测试的系统;未授权扫描可能违法。history 工具可删除单条记录或清空全部扫描历史。README 还提到调试性能分析端点,不应暴露到 localhost 之外。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Wass Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

WASS-MCP

A Model Context Protocol (MCP) server for web application security scanning.

Features

  • MCP Protocol Support - Full compatibility with MCP clients (Claude, etc.)
  • Nikto Integration - Web server vulnerability scanning
  • Nuclei Integration - Template-based vulnerability scanning
  • Wapiti Integration - Web application vulnerability scanning
  • Shcheck Integration - Security headers analysis
  • Execution History - Persistent storage of scan results
  • Stateless Design - Survives server restarts without session errors
  • RESTful HTTP Transport - Streamable HTTP-based MCP protocol

Usage

bash
docker run -p 127.0.0.1:8989:8989 tb0hdan/wass-mcp

MCP Client Configuration

Example command to add WASS-MCP server to Claude MCP clients:

bash
claude mcp add wass-mcp --transport http http://127.0.0.1:8989

or Gemini:

bash
gemini mcp add wass-mcp --transport http http://127.0.0.1:8989

Available Tools

nikto

Perform web server vulnerability scans using Nikto.

Parameters:

NameTypeRequiredDescription
hoststringYesTarget hostname or IP address
portintegerNoTarget port (default: 80)
vhoststringNoVirtual host header
max_linesintegerNoMaximum output lines
offsetintegerNoOutput line offset

Example:

json
{  "host": "192.168.1.100",  "port": 443}

nuclei

Perform template-based vulnerability scanning using Nuclei.

Parameters:

NameTypeRequiredDescription
hoststringYesTarget hostname or IP address
portintegerNoTarget port (default: 80)
vhoststringNoVirtual host header
max_linesintegerNoMaximum output lines
offsetintegerNoOutput line offset

Vulnerabilities Detected:

  • CVE detection via community templates
  • Misconfigurations
  • Exposed panels/dashboards
  • Default credentials
  • Technology detection
  • Security headers analysis
  • And many more via 8000+ community templates

Example:

json
{  "host": "192.168.1.100",  "port": 443}

wapiti

Perform comprehensive web application vulnerability scans using Wapiti.

Parameters:

NameTypeRequiredDescription
hoststringYesTarget hostname or IP address
portintegerNoTarget port (default: 80)
vhoststringNoVirtual host header
max_linesintegerNoMaximum output lines
offsetintegerNoOutput line offset

Vulnerabilities Detected:

  • SQL Injection / Blind SQL Injection
  • Cross-Site Scripting (XSS)
  • File Inclusion / Path Traversal
  • Command Execution
  • CRLF Injection
  • Server-Side Request Forgery (SSRF)
  • Open Redirects
  • HTTP Security Headers
  • Content Security Policy issues

Example:

json
{  "host": "192.168.1.100",  "port": 8080}

shcheck_py

Analyze HTTP security headers using shcheck.py.

Parameters:

NameTypeRequiredDescription
hoststringYesTarget hostname or IP address
portintegerNoTarget port (default: 80)
vhoststringNoVirtual host header
max_linesintegerNoMaximum output lines
offsetintegerNoOutput line offset

Headers Analyzed:

  • Content-Security-Policy
  • Strict-Transport-Security
  • X-Frame-Options
  • X-Content-Type-Options
  • Referrer-Policy
  • Permissions-Policy
  • And other security-relevant headers

Example:

json
{  "host": "example.com",  "port": 443}

full_scan

Perform a comprehensive security scan using all available scanners in parallel.

Parameters:

NameTypeRequiredDescription
hoststringYesTarget hostname or IP address
portintegerNoTarget port (default: 80)
vhoststringNoVirtual host header
max_linesintegerNoMaximum output lines
offsetintegerNoOutput line offset

Features:

  • Runs nikto, nuclei, wapiti and shcheck scanners in parallel
  • Merges results into a unified report
  • Includes timing and status for each scanner
  • Gracefully handles missing scanner binaries

Example:

json
{  "host": "192.168.1.100",  "port": 8080}

history

Browse and manage tool execution history.

Parameters:

NameTypeRequiredDescription
actionstringYesOne of: list, get, delete, clear
idintegerFor get/deleteExecution ID
limitintegerNoResults per page (default: 10)
offsetintegerNoPagination offset

Actions:

  • list - List execution history with pagination
  • get - Get full details of a specific execution
  • delete - Delete a specific execution by ID
  • clear - Delete all execution history

API Endpoints

EndpointDescription
POST /mcpMCP protocol endpoint
GET /Service information (JSON)
GET /debug/pprof/*Profiling endpoints

Development and advanced usage

Source build requirements

  • Go 1.25+
  • Nikto (apt install nikto or equivalent)
  • Nuclei (go install github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest)
  • Wapiti (apt install wapiti or equivalent)
  • Shcheck (pip install shcheck or from GitHub)
  • SQLite3
bash
# Clone the repositorygit clone https://github.com/tb0hdan/wass-mcp.gitcd wass-mcp
# Buildmake build
# Run./build/wass-mcp

Starting the Server

bash
# Default (localhost:8989)./build/wass-mcp
# Custom bind address./build/wass-mcp --bind 0.0.0.0:8080
# Custom database path./build/wass-mcp --db /var/lib/wass-mcp/data.db
# Debug mode./build/wass-mcp --debug

Configuration Options

FlagDefaultDescription
--bindlocalhost:8989HTTP server bind address
--db./wass-mcp.dbSQLite database file path
--debugfalseEnable debug logging
--version-Print version and exit

Linting

bash
make lint

Testing

bash
make test

Project Structure

wass-mcp/├── cmd/wass-mcp/        # Application entry point├── pkg/│   ├── server/          # MCP server wrapper│   ├── storage/         # Database layer (SQLite/GORM)│   ├── models/          # Data models│   ├── tools/           # MCP tool implementations│   │   ├── nikto/       # Nikto web server scanner│   │   ├── wapiti/      # Wapiti web app scanner│   │   ├── nuclei/      # Nuclei template scanner│   │   ├── shcheck/     # Security headers checker│   │   ├── fullscan/    # Parallel full scan│   │   └── history/     # History management│   └── types/           # Shared types and constants├── docs/                # Documentation└── build/               # Build output and coverage reports

Security Notice

This tool is intended for authorized security testing only. Ensure you have proper authorization before scanning any systems. Unauthorized scanning may be illegal in your jurisdiction.

Project notes

For complete project notes, design decisions, and architecture overview, please refer to the Project Notes document.

License

BSD 3-Clause License - Copyright (c) 2026, Bohdan Turkynevych. See LICENSE for details.

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/new-tool)
  3. Commit your changes (git commit -am 'Add new scanning tool')
  4. Push to the branch (git push origin feature/new-tool)
  5. Create a Pull Request

Acknowledgments

来源:README.md,提交 925bf72

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.4最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分