diff --git a/.cursor-plugin/plugin.json b/.cursor-plugin/plugin.json index 8aba14a..20198a4 100644 --- a/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "semgrep-plugin", "description": "Scans agent-generated code for security vulnerabilities using Semgrep.", - "version": "0.4.3", + "version": "0.5.0", "author": { "name": "Semgrep" }, diff --git a/.mcp.json b/.mcp.json index e05488a..cdabd35 100644 --- a/.mcp.json +++ b/.mcp.json @@ -1,10 +1,7 @@ { "mcpServers": { "semgrep": { - "command": "semgrep", - "args": [ - "mcp" - ] + "url": "https://semgrep.dev/api/mcp" } } } diff --git a/CHANGELOG.md b/CHANGELOG.md index fe715dd..caae73e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ # Change log +## 0.5.0 +feat: use Semgrep's remote MCP server +- The plugin no longer includes a local MCP scanning tool. Scanning now runs only through the hooks. +- The remote MCP server (`https://semgrep.dev/api/mcp`) needs a separate authentication. ## 0.4.3 chore: update plugin description ## 0.4.2 diff --git a/README.md b/README.md index 1812410..451aed3 100644 --- a/README.md +++ b/README.md @@ -7,3 +7,6 @@ 1. Install the plugin from the Cursor Plugin Marketplace 1. Run the `/setup-semgrep-plugin` skill. + + 1. Connect the [Semgrep MCP server](https://docs.semgrep.dev/mcp/overview) (`https://semgrep.dev/api/mcp`): in + Cursor's MCP settings, sign in to the `semgrep` server through your browser with OAuth.