Skip to content

Commit d162ee0

Browse files
committed
provide LOG_DIR env var to MCP servers
1 parent ed67faf commit d162ee0

File tree

9 files changed

+9
-0
lines changed

9 files changed

+9
-0
lines changed

src/seclab_taskflows/toolboxes/codeql_python.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ server_params:
1818
GH_NO_EXTENSION_UPDATE_NOTIFIER: "Disable"
1919
CODEQL_CLI: "{{ env CODEQL_CLI }}"
2020
DATA_DIR: "{{ env DATA_DIR }}"
21+
LOG_DIR: "{{ env LOG_DIR }}"
2122
server_prompt: |
2223
## CodeQL Supported Programming Languages
2324

src/seclab_taskflows/toolboxes/gh_actions.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ server_params:
1212
env:
1313
GH_TOKEN: "{{ env GH_TOKEN }}"
1414
ACTIONS_DB_DIR: "{{ env DATA_DIR }}"
15+
LOG_DIR: "{{ env LOG_DIR }}"

src/seclab_taskflows/toolboxes/gh_code_scanning.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ server_params:
1313
GH_TOKEN: "{{ env GH_TOKEN }}"
1414
CODEQL_DBS_BASE_PATH: "{{ env CODEQL_DBS_BASE_PATH }}"
1515
ALERT_RESULTS_DIR: "{{ env DATA_DIR }}"
16+
LOG_DIR: "{{ env LOG_DIR }}"

src/seclab_taskflows/toolboxes/gh_file_viewer.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ server_params:
1212
env:
1313
GH_TOKEN: "{{ env GH_TOKEN }}"
1414
SEARCH_RESULTS_DIR: "{{ env DATA_DIR }}"
15+
LOG_DIR: "{{ env LOG_DIR }}"

src/seclab_taskflows/toolboxes/ghsa.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ server_params:
1111
args: ["-m", "seclab_taskflows.mcp_servers.ghsa"]
1212
env:
1313
GH_TOKEN: "{{ env GH_TOKEN }}"
14+
LOG_DIR: "{{ env LOG_DIR }}"

src/seclab_taskflows/toolboxes/local_file_viewer.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ server_params:
1313
LOCAL_GH_DIR: "{{ env DATA_DIR }}"
1414
LINE_LIMIT_FOR_FETCHING_FILE_CONTENT: "{{ env LINE_LIMIT_FOR_FETCHING_FILE_CONTENT }}"
1515
FILE_LIMIT_FOR_LIST_FILES: "{{ env FILE_LIMIT_FOR_LIST_FILES }}"
16+
LOG_DIR: "{{ env LOG_DIR }}"

src/seclab_taskflows/toolboxes/local_gh_resources.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ server_params:
1212
env:
1313
GH_TOKEN: "{{ env GH_TOKEN }}"
1414
LOCAL_GH_DIR: "{{ env DATA_DIR }}"
15+
LOG_DIR: "{{ env LOG_DIR }}"

src/seclab_taskflows/toolboxes/repo_context.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ server_params:
1111
args: ["-m", "seclab_taskflows.mcp_servers.repo_context"]
1212
env:
1313
REPO_CONTEXT_DIR: "{{ env DATA_DIR }}"
14+
LOG_DIR: "{{ env LOG_DIR }}"

src/seclab_taskflows/toolboxes/report_alert_state.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ server_params:
1111
args: ["-m", "seclab_taskflows.mcp_servers.report_alert_state"]
1212
env:
1313
ALERT_RESULTS_DIR: "{{ env DATA_DIR }}"
14+
LOG_DIR: "{{ env LOG_DIR }}"
1415
# the list of tools that you want the framework to confirm with the user before executing
1516
# use this to guard rail any potentially dangerous functions from MCP servers
1617
confirm:

0 commit comments

Comments
 (0)