From b8bf5b85b7ef37be0a4929b03789159fdb391248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20St=C3=B6ckli?= Date: Wed, 29 Oct 2025 13:44:42 +0100 Subject: [PATCH 1/2] CodeQL MCP: include absolute path in error --- mcp_servers/codeql/mcp_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 07d362115962a63d76a7bdb5678b41ee10ea50e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20St=C3=B6ckli?= Date: Wed, 29 Oct 2025 13:45:06 +0100 Subject: [PATCH 2/2] CodeQL MCP: include all supported languages --- toolboxes/codeql.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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