Semgrep MCP (beta)

Security for the agentic era

Cursor

Add Semgrep MCP server to Cursor
  1. Cmd + Shift + J to open Cursor Settings
  2. Select MCP Tools
  3. Click New MCP Server
  4. Add to your mcpServers config
{
    "mcpServers": {
        "semgrep": {
            "type": "streamable-http",
            "url": "https://mcp.semgrep.ai/mcp"
        }
    }
}
Additional Details
  • This is actively supported but should be considered beta software. It's still experimental and may break at any time. Performance improvements, and OAuth are being worked on.
  • This server exposes a HTTP Streamable MCP server on https://mcp.semgrep.ai/mcp.
  • This server exposes a Server Side Events (SSE) MCP server on https://mcp.semgrep.ai/sse. The SSE transport is considered deprecated by the MCP community and in only included for backwards compatibility.
  • Please report any issues to the GitHub repository.
  • Please see the README for more details.