Skip to content

chore: fix usage environment variable in MCP servers#35

Merged
ezhang6811 merged 3 commits intoaws-actions:mainfrom
ezhang6811:patch-mcp-flag
Dec 10, 2025
Merged

chore: fix usage environment variable in MCP servers#35
ezhang6811 merged 3 commits intoaws-actions:mainfrom
ezhang6811:patch-mcp-flag

Conversation

@ezhang6811
Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:
When loading MCP configs, the env was being overridden by this.getAWSEnvVars(), removing the MCP_RUN_FROM variable from the config. This fix populates this variable for usage metrics, as well as future variables added to the MCP config.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@ezhang6811 ezhang6811 merged commit 8ae395a into aws-actions:main Dec 10, 2025
5 checks passed
@ezhang6811 ezhang6811 deleted the patch-mcp-flag branch December 10, 2025 18:21
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