diff --git a/.cursor-plugin/plugin.json b/.cursor-plugin/plugin.json index cbcba80..c5cbd7b 100644 --- a/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "semgrep-plugin", "description": "Plugin by Semgrep. Provides security scanning via MCP, hooks, and skills for Cursor.", - "version": "0.2.0", + "version": "0.3.0", "author": { "name": "Semgrep" }, diff --git a/.mcp.json b/.mcp.json new file mode 100644 index 0000000..e05488a --- /dev/null +++ b/.mcp.json @@ -0,0 +1,10 @@ +{ + "mcpServers": { + "semgrep": { + "command": "semgrep", + "args": [ + "mcp" + ] + } + } +} diff --git a/CHANGELOG.md b/CHANGELOG.md index a4d8959..4849fae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,6 @@ # Change log +## 0.3.0 +fix: update sync workflow to use .mcp.json for cursor repo ## 0.2.0 chore: sync with the template repo ## 0.1.0 diff --git a/README.md b/README.md index d8244dc..d5e29ae 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ To use the Semgrep plugin: 1. Install the plugin from the Cursor Plugin Marketplace - 1. Run the `/semgrep-plugin:setup_semgrep_plugin` command. + 1. Run the `/semgrep-plugin:setup-semgrep-plugin` skill. ## Contributing diff --git a/skills/setup_semgrep_plugin.md b/skills/setup-semgrep-plugin/SKILL.md similarity index 97% rename from skills/setup_semgrep_plugin.md rename to skills/setup-semgrep-plugin/SKILL.md index e704de2..e2fad92 100644 --- a/skills/setup_semgrep_plugin.md +++ b/skills/setup-semgrep-plugin/SKILL.md @@ -1,5 +1,5 @@ --- -name: setup_semgrep_plugin +name: setup-semgrep-plugin description: Set up the Semgrep plugin by installing Semgrep, authenticating, and verifying compatibility --- # Setup Semgrep Plugin