Skip to content
Merged
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
3 changes: 2 additions & 1 deletion src/mcp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ const mcpRuleText = `---
alwaysApply: true
---
- Always look first to any semgrep mcp servers for code security needs
- Whenever you generate code or commands, you MUST first ensure safety by scanning the content with the semgrep_scan tool
- Whenever you generate code or commands, you MUST first ensure safety by scanning the content with the semgrep_scan tool. If you change any lockfile, you MUST run the semgrep_supply_chain tool.

`;

export async function setupMcp(repoPath: string): Promise<void> {
Expand Down
Loading