Skip to content

Conversation

@p-
Copy link
Contributor

@p- p- commented Dec 18, 2025

this way the MCP servers will log into the "globally" defined LOG_DIR

Copilot AI review requested due to automatic review settings December 18, 2025 09:46
@m-y-mo
Copy link
Contributor

m-y-mo commented Dec 18, 2025

Probably need to do it with seclab-taskflow-agent also?

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds the LOG_DIR environment variable to all MCP (Model Context Protocol) server configuration files, enabling MCP servers to use a centralized logging directory defined at the system level.

  • All 9 MCP server toolbox YAML configurations are updated to include the LOG_DIR environment variable
  • The variable is consistently added as the last entry in each server's env section
  • Uses the standard template syntax {{ env LOG_DIR }} to pass the globally defined LOG_DIR value

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
report_alert_state.yaml Adds LOG_DIR env var for alert state reporting MCP server
repo_context.yaml Adds LOG_DIR env var for repository context MCP server
local_gh_resources.yaml Adds LOG_DIR env var for local GitHub resources MCP server
local_file_viewer.yaml Adds LOG_DIR env var for local file viewer MCP server
ghsa.yaml Adds LOG_DIR env var for GHSA (GitHub Security Advisory) MCP server
gh_file_viewer.yaml Adds LOG_DIR env var for GitHub file viewer MCP server
gh_code_scanning.yaml Adds LOG_DIR env var for GitHub code scanning MCP server
gh_actions.yaml Adds LOG_DIR env var for GitHub Actions MCP server
codeql_python.yaml Adds LOG_DIR env var for CodeQL Python MCP server

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@p- p- merged commit fb9c498 into main Dec 18, 2025
15 checks passed
@p- p- deleted the p--add-log-env-mcp branch December 18, 2025 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants