Semgrep MCP Server
Securitystdiossev0.4.0
Official Semgrep MCP server for static application security testing. Lets AI agents scan code for security vulnerabilities and bugs, run custom rules, and return findings with severity and remediation guidance, embedding SAST into AI-powered development workflows.
连接
将此配置添加到 .claude/mcp.json
传输方式:
{
"mcpServers": {
"semgrep": {
"command": "uvx",
"args": [
"semgrep-mcp"
],
"env": {
"SEMGREP_APP_TOKEN": "<YOUR_SEMGREP_APP_TOKEN>"
}
}
}
}工具 (2)
semgrep_scan
Scan code or a directory with Semgrep and return security findings.
{
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"description": "File or directory path to scan"
},
"config": {
"type": "string",
"description": "Ruleset to use (for example \"auto\" or a registry ruleset)"
}
}
}security_check
Run a fast security-focused scan and summarize high-severity findings.
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "Code snippet to analyze"
}
}
}资源
此服务器未提供任何资源。
提示词
此服务器未提供任何提示词。
服务器信息
- 许可证
- MIT
- 版本
- 0.4.0
- 星标
- 512
- 最后更新
- 2026年7月9日