Semgrep MCP Server
Semgrep 서버
Semgrep을 개발 환경에 통합하기 위한 MCP(Model Context Protocol) 서버입니다. 이 서버를 사용하면 MCP 프로토콜을 통해 정적 코드 분석을 수행하고 Semgrep 규칙을 직접 관리할 수 있습니다.
설치
지엑스피1
Related MCP server: ACE-MCP
사용
서버는 다음과 같은 방법으로 시작할 수 있습니다.
# Produktionsmodus
npm start
# Entwicklungsmodus
npm run dev사용 가능한 도구
서버는 다음과 같은 MCP 도구를 제공합니다.
scan_directory: 디렉토리에서 Semgrep 검사를 실행합니다.list_rules: 사용 가능한 Semgrep 규칙을 나열합니다.analyze_results: 스캔 결과를 분석합니다.create_rule: 새로운 Semgrep 규칙을 생성합니다.filter_results: 다양한 기준에 따라 스캔 결과를 필터링합니다.export_results: 다양한 형식으로 검사 결과를 내보냅니다.compare_results: 두 개의 스캔 결과를 비교합니다.
개발
이 프로젝트는 TypeScript로 작성되었으며 서버 구현을 위해 MCP SDK를 사용합니다.
프로젝트 구조
semgrep-server/
├── src/ # Quellcode
├── build/ # Kompilierte JavaScript-Dateien
├── test.js # Testdateien
└── test-rule.yaml # Beispiel Semgrep-Regel종속성
Node.js와 npm
타입스크립트
MCP SDK
HTTP 요청을 위한 Axios
특허
이 프로젝트는 ISC 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 LICENSE 파일에서 확인할 수 있습니다.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.
MCP server for Statsig API - interact with Statsig's feature flags, experiments, and analytics
MCP server for interacting with the Supabase platform
Scans remote MCP servers for protocol, security, and TLS issues; exposes scan tools via MCP.
Related MCP Servers
AlicenseBqualityFmaintenanceAn MCP server that provides a comprehensive interface to Semgrep, enabling users to scan code for security vulnerabilities, create custom rules, and analyze scan results through the Model Context Protocol.61,203 PyPI688MIT- AlicenseNot gradedqualityCmaintenanceEnables AI clients to perform local code search, indexing, and analysis across Java, JavaScript/TypeScript, .NET/C#, and Python projects through the MCP protocol.1Apache 2.0
- AlicenseAqualityDmaintenanceA production-grade security auditing MCP server that wraps semgrep (SAST) and gitleaks (secret detection) to enable one-click code security scanning via MCP stdio protocol.1MIT
- AlicenseAqualityCmaintenanceMCP server that exposes SQLFluff's linting, fixing, and parsing capabilities, enabling MCP-aware clients to lint and fix SQL directly.8MIT