-
Notifications
You must be signed in to change notification settings - Fork 12
feat: MCP to use IDE config #1014
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
ShawkyZ
commented
Oct 15, 2025
40bd72a to
a0e71a8
Compare
rrama
approved these changes
Oct 16, 2025
| }) | ||
|
|
||
| _, legacyTokenParseErr := uuid.Parse(snykToken) | ||
| isPat := strings.HasPrefix(snykToken, "snyk_uat") || strings.HasPrefix(snykToken, "snyk_sat") |
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit pick: I would prefer this logic to be moved to a central util.
a0e71a8 to
52d2cd2
Compare
52d2cd2 to
8178ea2
Compare
8178ea2 to
5059f6b
Compare
ShawkyZ
added a commit
that referenced
this pull request
Oct 23, 2025
* feat: MCP to use IDE config (#1014) * fix: support ignores and improve sast error msg (#1019) * fix: support ignores and improve sast error msg --------- Co-authored-by: Abdelrahman Shawki Hassan <[email protected]> * chore: update to latest GAF --------- Co-authored-by: Dan Arpino <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
If
IDE_CONFIG_PATHis present and the corresponding lsconfig file exists the MCP server can use the lsconfig as token storage. Otherwise it will keep using the default storage locationThis will make it possible for the MCP server to not ask for auth if the user has already authenticated in the IDE.
Checklist
make generate)make lint-fix)