Skip to content
skillsaggregatorskillsaggregator
Privacy: This guide links directly to Semgrep's credential pages. We never ask you to enter, store, or transmit any credential through this site. Zero outbound calls to anything but the vendor's docs.

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.