diff --git a/mcp_servers/codeql/mcp_server.py b/mcp_servers/codeql/mcp_server.py index 0959eaf..c471717 100644 --- a/mcp_servers/codeql/mcp_server.py +++ b/mcp_servers/codeql/mcp_server.py @@ -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 diff --git a/toolboxes/codeql.yaml b/toolboxes/codeql.yaml index 702190b..1ea8dd8 100644 --- a/toolboxes/codeql.yaml +++ b/toolboxes/codeql.yaml @@ -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