Qodo guide
Last updated
Was this helpful?
Was this helpful?
{
"Snyk": {
"command": "/absolute/path/to/snyk",
"args": ["mcp", "-t", "stdio"],
}
}Scan this directory for code security & dependency vulnerabilities and security issues---
applyTo: "**"
---
# Project security best practices
- Always run **snyk_code_scan** tool for new first party code that is generated in a Snyk-supported language.
- If any security issues are found based on newly introduced or modified code or dependencies, attempt to fix the issues using the results context from **Snyk**.
- Rescan the code after fixing the issues to ensure that the issues were fixed and that there are no newly introduced issues.
- Repeat this process until no new issues are found.# Version of the agent configuration standard
version = "1.0"
[commands.remediate]
available_tools = [
"Snyk",
"Code Navigation",
"filesystem",
"git",
"Terminal",
"Web Search"
]
description = "Remediate application security issues with Snyk Studio"
instructions = """
You are an expert at developing secure code. Snyk flagged several SAST and SCA issues in this application.
Please do the following:
1. Use Snyk to get context on the issues.
2. Fix all of the issues.
3. Use Snyk again to confirm the issues are fixed. If the issues are not fixed, go back to the previous step.
4. Build the app and run unit tests to ensure you didn’t break it. I’ll run it and do additional validation when you’re done.
Thanks!"""
mcpServers = """
{
"Snyk": {
"command": "npx",
"type": "CUSTOM",
"env": {},
"args": [
"-y",
"snyk@latest",
"mcp",
"-t",
"stdio"
]
}
}"""