-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathcodeql_python.yaml
More file actions
49 lines (42 loc) · 1.83 KB
/
codeql_python.yaml
File metadata and controls
49 lines (42 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# SPDX-FileCopyrightText: 2025 GitHub
# SPDX-License-Identifier: MIT
seclab-taskflow-agent:
version: 1
filetype: toolbox
server_params:
kind: streamable
url: 'http://localhost:9998/mcp'
# if you set a command/args/env we will also start the server on demand
command: python
args: ["-m", "seclab_taskflows.mcp_servers.codeql_python.mcp_server"]
env:
CODEQL_DBS_BASE_PATH: "{{ env CODEQL_DBS_BASE_PATH }}"
# prevent git repo operations on gh codeql executions
GH_NO_UPDATE_NOTIFIER: "Disable"
GH_NO_EXTENSION_UPDATE_NOTIFIER: "Disable"
CODEQL_CLI: "{{ env CODEQL_CLI }}"
DATA_DIR: "{{ env DATA_DIR }}"
LOG_DIR: "{{ env LOG_DIR }}"
server_prompt: |
## CodeQL Supported Programming Languages
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 (including Kotlin)
- javascript: The JavaScript programming language (including TypeScript)
- python: The Python programming language
- ruby: The Ruby 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
CodeQL database.
For example, when interacting with a CodeQL database for a C based project
you would reference its language as `cpp` for any CodeQL database
interactions.
If you are unable to determine the appropriate programming language acronym,
halt your task and ask the user to clarify which programming language the
CodeQL database in question was created for.