Skip to main content
Glama
Balckers

mcp-security-server

by Balckers

MCP 보안 스캐너 서버 v2.0

Python MCP Kali License Security

전문가용 프로덕션 등급 MCP 서버로, 보안 평가를 위한 도구입니다. Model Context Protocol 기반으로 Kali Linux용으로 제작되었습니다.

개요

AI 에이전트에게 표준화된 보안 스캔 기능을 제공하는 전문 Model Context Protocol (MCP) 서버입니다. 엄격한 규정 준수 통제를 통해 승인된 보안 평가를 위해 설계되었습니다.

주요 기능

  • 7단계 필수 흐름 — 모든 도구는 다음을 따릅니다: 매개변수 검증 → 보안 필터링 → 경계 검사 → 비즈니스 로직 → 결과 패키징 → 예외 캡처 → 로깅

  • 제로 명령 주입 — 모든 셸 호출은 매개변수 배열을 사용하며, 문자열 연결을 사용하지 않습니다.

  • 필수 인증 — 모든 스캔 작업에는 legal_authorized=true가 필요합니다.

  • 8가지 CVE 검증 — Log4Shell, Spring4Shell, Apache 경로 탐색, HTTP/2 Rapid Reset 등

  • 표준화된 출력 — 통일된 JSON 응답: code/msg/target/vuln_list/risk_level/cvss_score/suggest

  • 전문 로깅 — 작업 ID, 스캔 추적, 감사 기록이 포함된 타임스탬프 로그

Related MCP server: Security MCP Server

아키텍처

mcp-security-server/
├── server.py              # MCP Server Entry Point
├── core/                  # Business Logic Layer
│   ├── scanner.py         # Scanning Engine (6 tools, 37KB)
│   ├── result.py          # Unified Response Builder
│   ├── analyzer.py        # CVSS 3.1 Scoring & Vulnerability DB
│   └── reporter.py        # Multi-format Report Generator
├── utils/                 # Infrastructure Layer
│   ├── executor.py        # Safe Command Executor (Parameter Arrays)
│   ├── validator.py       # Parameter Validation & Whitelist
│   ├── logger.py          # Professional Logging System
│   └── env.py             # Kali Environment Detection
└── requirements.txt       # Dependencies

빠른 시작

1. 종속성 설치

# Python packages
pip3 install mcp pydantic

# System tools (Kali Linux)
sudo apt update && sudo apt install -y nmap curl

2. 서버 시작

cd mcp-security-server
python3 server.py

3. MCP 클라이언트 구성

MCP 클라이언트 구성(예: Claude Desktop, opencode)에 추가하세요:

{
  "mcpServers": {
    "mcp-security-scanner": {
      "command": "python3",
      "args": ["/path/to/mcp-security-server/server.py"]
    }
  }
}

도구

도구

설명

필수 매개변수

host_alive_detect

호스트 활성 감지 (ICMP + TCP SYN)

target, legal_authorized

port_scan

포트 스캔 (SYN/Connect)

target, legal_authorized

service_fingerprint

서비스 버전 감지

target, legal_authorized

web_vuln_scan

웹 취약점 스캔

target, legal_authorized

cve_poc_check

CVE POC 검증

target, legal_authorized, cve_id

report_generate

보안 보고서 생성

target, legal_authorized, scan_data

env_check

환경 및 종속성 검사

(없음)

사용 예시

호스트 활성 감지

{
  "target": "192.168.1.1",
  "legal_authorized": true,
  "timeout": 15
}

포트 스캔

{
  "target": "192.168.1.1",
  "legal_authorized": true,
  "ports": "80,443,8080,8443",
  "scan_type": "syn"
}

CVE 검증

{
  "target": "192.168.1.1",
  "legal_authorized": true,
  "cve_id": "CVE-2021-44228",
  "port": 8080
}

보고서 생성

{
  "target": "192.168.1.1",
  "legal_authorized": true,
  "scan_data": "{\"vuln_list\":[...],\"suggest\":[...]}",
  "format_type": "html"
}

지원되는 CVE

CVE

이름

CVSS

검증 방법

CVE-2021-44228

Log4Shell

10.0

Java 서비스 감지

CVE-2022-22965

Spring4Shell

9.8

Spring/Tomcat 감지

CVE-2023-22515

Confluence 권한 상승

10.0

Setup 엔드포인트 확인

CVE-2022-26134

Confluence OGNL

9.8

Confluence 감지

CVE-2021-41773

Apache 경로 탐색

7.5

경로 탐색 테스트

CVE-2021-42013

Apache 경로 탐색 2

7.5

경로 탐색 테스트

CVE-2023-44487

HTTP/2 Rapid Reset

7.5

HTTP/2 지원 확인

CVE-2021-3449

OpenSSL NULL 역참조

5.9

버전 감지

표준화된 출력

{
  "code": 0,
  "msg": "success",
  "target": "192.168.1.1",
  "status": "completed",
  "scan_data": { ... },
  "vuln_list": [
    {
      "vuln_id": "CVE-2021-44228",
      "vuln_name": "Log4Shell",
      "cve_id": "CVE-2021-44228",
      "cvss_score": 10.0,
      "risk_level": "Critical",
      "confidence": "Suspected",
      "description": "Apache Log4j2 RCE",
      "evidence": "Java service detected",
      "remediation": "Upgrade Log4j to 2.17.0+"
    }
  ],
  "risk_level": "critical",
  "cvss_score": 10.0,
  "suggest": ["URGENT: Fix critical vulnerability immediately"],
  "task_id": "TASK-20260822100000-a1b2c3d4",
  "timestamp": "2026-08-22T10:00:00",
  "duration": 12.34
}

로깅

로그는 자동으로 log/ 디렉토리에 저장됩니다:

로그 파일

용도

main_YYYY-MM-DD.log

일반 작업

scan_YYYY-MM-DD.log

스캔 활동

error_YYYY-MM-DD.log

오류 및 예외

audit_YYYY-MM-DD.log

보안 감사 추적

규정 준수

이 도구는 다음을 위해 설계되었습니다:

  • 서면 승인을 받은 보안 평가

  • 내부 보안 팀의 취약점 검증

  • 보안 연구 및 교육

금지: 무단 스캔, 데이터 도용, 시스템 손상

라이선스

MIT 라이선스 - 승인된 보안 테스트에만 사용

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    C
    quality
    D
    maintenance
    An automated penetration testing framework that enables intelligent security assessments through reconnaissance, vulnerability scanning, and controlled exploitation. Features AI-driven workflow management with comprehensive reporting for authorized security testing.
    25
    27
    9
    7
    BSD 3-Clause
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides AI agents like Claude with secure, controlled access to network security tools like nmap for scanning private networks and lab environments. Features comprehensive safety controls, circuit breakers, and production-ready monitoring.
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to perform authorized security testing and penetration testing operations including SSL/TLS analysis, port scanning, vulnerability scanning, and HTTP security header audits through natural language interactions.
    1
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to perform automated security testing through Caido, providing 10 security tools for vulnerability scanning (XSS, SQLi, command injection), HTTP request manipulation, and penetration testing workflows with whitelist protection.
    1

View all related MCP servers

Related MCP Connectors

  • Pay-per-call cybersecurity for AI agents: vuln scans, threat intel, compliance, code security.

  • CVE lookups (NVD) and dependency-manifest audits (OSV) for AI agents. No API keys.

  • CVE lookups (NVD) and dependency-manifest audits (OSV) for AI agents. No API keys.

View all MCP Connectors

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/Balckers/mcp-security-server'

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