TM

traceforce/mcp-xray

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

92 stars 23 forks 품질 75 트렌드 14Apache-2.0

traceforce/mcp-xray는 MCP 서버 후보자는 https://github.com/traceforce/mcp-xray.에서 수입했습니다

개요

traceforce/mcp-xray는 MCP 서버 후보자는 https://github.com/traceforce/mcp-xray.에서 수입했습니다

개요(AI 번역)

[!노트] AI 에이전트 기술을 확보하려면? Skill X-Ray를 체크 아웃, 설치 전에 악성 또는 위험 행위에 대한 기술 패키지를 분석하는 오픈 소스 정적 보안 스캐너.

개요

MCP X-Ray는 모델 Context Protocol (MCP) 서버의 통합 오픈 소스 보안 검사 및 침투 테스트 솔루션입니다. 보안 툴링 및 CI/CD 파이프라인과 원활한 통합을 위한 생산 관련 SARIF 보고서를 생성합니다. 스캔 결과는 중앙 보안 관리 및 추적을 위해 Traceforce Atlas에 선택적으로 업로드 할 수 있습니다. Atlas는 MCP 생태계에 대한 종합적인 보안 평가 데이터베이스를 제공합니다.

설치

# 필수품

  • 이동 1.25.4 이상

소스에서 빌드

사용법

윤곽 검사

보안 문제에 대한 MCP 구성 검사; 설정 기본으로 pentest 전에 실행.

기능 기능:

  • ** 연결 보안**: TLS 인증서를 검증하고, 안전한 Localhost/loopback 노출을 감지하고 OAuth 2.0 구성을 검증합니다 (PRM/ASMD)
  • ** Secrets 탐지 **: 노출된 credentials, API 열쇠 및 과민한 정보를 위한 검사

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

MCP X-Ray

[!NOTE] Looking to secure AI agent skills? Check out Skill X-Ray, an open-source static security scanner that analyzes skill packages for malicious or risky behavior before installation, without executing them.

Overview

MCP X-Ray is a unified open-source security scanning and penetration testing solution for Model Context Protocol (MCP) servers. It generates production-ready SARIF reports for seamless integration with security tooling and CI/CD pipelines. Scan results can be optionally uploaded to Traceforce Atlas for centralized security management and tracking. Atlas has over 600 MCPs in its registry, providing a comprehensive security assessment database for the MCP ecosystem.

Installation

Prerequisites

Build from Source

# Clone the repository
git clone https://github.com/traceforce/mcp-xray
cd mcp-xray

# Install required dependencies (buf, etc.)
make install-dependencies

# Build everything (generates protobuf code and builds the binary)
# The binary will be created as `mcpxray` in the current directory
make all

Usage

Configuration Scan

Scan MCP configs for security issues; run before pentest to baseline your setup.

# Scan a specific MCP config file (uses token analyzer by default)
./mcpxray config-scan /path/to/mcp/config.json

# Scan all known MCP config paths automatically for Cursor, Claude and Windsurf.
# Known config locations (relative to home directory):
#   ~/.cursor/mcp.json (Cursor)
#   ~/Library/Application Support/Claude/claude_desktop_config.json (Claude Desktop)
#   ~/.codeium/windsurf/mcp_config.json (Windsurf)
./mcpxray config-scan --scan-known-configs

# Use LLM analyzer for more extensive and deepr analysis
./mcpxray config-scan /path/to/mcp/config.json --analyzer-type llm --llm-model claude-3-5-sonnet-20241022

# Specify custom output file
./mcpxray config-scan /path/to/mcp/config.json --output custom-report.sarif.json

Detection Capabilities:

  • Connection Security: Validates TLS certificates, detects unsafe localhost/loopback exposure, and validates OAuth 2.0 configuration (PRM/ASMD)
  • Secrets Detection: Scans for exposed credentials, API keys, and sensitive information
  • Tool Analysis: Analyzes tool descriptions using Token Analyzer (default) or LLM Analyzer for risks including arbitrary execution, injection vulnerabilities, authorization bypass, and information disclosure

Pentest

Execute security test plans by making actual tool calls against MCP servers. LLMs are required to run the pentest. Run this before actual deployment in production.

# Run pentest with auto-generated test plan (requires LLM model)
./mcpxray pentest /path/to/mcp/config.json --llm-model claude-sonnet-4-5

# Use a custom test plan YAML file
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →