Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ${env:VARIABLE_NAME} in mcp.json #245237

Closed
FidelusAleksander opened this issue Apr 1, 2025 · 1 comment
Closed

Support ${env:VARIABLE_NAME} in mcp.json #245237

FidelusAleksander opened this issue Apr 1, 2025 · 1 comment
Assignees

Comments

@FidelusAleksander
Copy link

FidelusAleksander commented Apr 1, 2025

Similarly to #243709 it would be nice if we could reference env variables like in launch.json through the ${env:VARIABLE_NAME} syntax

"env": {
  "GITHUB_PERSONAL_ACCESS_TOKEN": "${env:GITHUB_TOKEN}",
}

I just did a test run and seems like this is not supported right now.

@connor4312
Copy link
Member

This is supported.

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

No branches or pull requests

3 participants