Semgrep MCP — Auth Setup
This MCP requires API key. Follow your provider's documentation to obtain them.
1. Get your credentials
Visit the Semgrep MCP documentation or developer dashboard to generate API key. Never paste credentials into our site — add them directly to your shell environment.
2. Set environment variables
macOS / Linux — add to ~/.zshrc or ~/.bashrc:
export SEMGREP_APP_TOKEN=YOUR_VALUE_HERE
Windows — run in Command Prompt (then restart your terminal):
setx SEMGREP_APP_TOKEN "YOUR_VALUE_HERE"
3. Verify
npx claude-skills doctor
You should see ✅ next to the Semgrep MCP entry.
4. Restart Claude Code
Quit and reopen Claude Code, then run /mcp list to confirm the MCP appears.

