Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "semgrep-mcp-marketplace",
"name": "semgrep",
"owner": {
"name": "Semgrep"
},
"plugins": [
{
"name": "semgrep-mcp-plugin",
"source": "./semgrep-mcp-plugin",
"name": "plugin",
"source": "./plugin",
"description": "Semgrep MCP Plugin"
}
]
Expand Down
8 changes: 8 additions & 0 deletions .mcp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"mcpServers": {
"semgrep": {
"command": "semgrep",
"args": ["mcp"]
}
}
}
8 changes: 8 additions & 0 deletions plugin/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "plugin",
"description": "Semgrep MCP Plugin",
"version": "0.0.0",
"author": {
"name": "semgrep"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
description: Greet the user with a personalized message
description: setup
---

# Hello Command
Expand Down
15 changes: 15 additions & 0 deletions plugin/hooks/hooks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"hooks": {
"PostToolUse": [
{
"matcher": "Write|Edit",
"hooks": [
{
"type": "command",
"command": "semgrep mcp -k post-tool-cli-scan"
}
]
}
]
}
}
8 changes: 0 additions & 8 deletions semgrep-mcp-plugin/.claude-plugin/plugin.json

This file was deleted.