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
2 changes: 1 addition & 1 deletion mcp_servers/codeql/mcp_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def _resolve_db_path(relative_db_path: str | Path):
absolute_path = CODEQL_DBS_BASE_PATH / relative_db_path
if not absolute_path.is_dir():
_debug_log(f"Database path not found: {absolute_path}")
raise RuntimeError('Error: Database not found!')
raise RuntimeError(f"Error: Database not found at {absolute_path}!")
return absolute_path


Expand Down
6 changes: 4 additions & 2 deletions toolboxes/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,16 @@ server_prompt: |
CodeQL supports the following languages, which you'll refer to by their
CodeQL acronyms and which are detailed below:

- actions: GitHub Actions workflows
- cpp: The C and C++ programming language
- csharp: The C# programming language
- go: The Go programming language
- java: The Java programming language
- java: The Java programming language (including Kotlin)
- javascript: The JavaScript programming language (including TypeScript)
- python: The Python programming language
- ruby: The Ruby programming language
- swift: The Swift programming language
- rust: The Rust programming language
- swift: The Swift programming language

When interacting with CodeQL databases, you will need to provide the
appropriate language acronym for the type of project contained within the
Expand Down
Loading