Back to MCP Servers
Semgrep
Scan code for security vulnerabilities, bugs, and anti-patterns using Semgrep static analysis rules
securitysemgrepstatic-analysissastcommunity
By Semgrep
Installation
npx @semgrep/mcpConfiguration
{
"mcpServers": {
"semgrep": {
"command": "npx",
"args": ["-y", "@semgrep/mcp"],
"env": {
"SEMGREP_APP_TOKEN": "your-semgrep-token"
}
}
}
}How to use
- Run the installation command above (if needed)
- Open your Claude Code settings file (~/.claude/settings.json)
- Add the configuration to the mcpServers section
- Restart Claude Code to apply changes