For example, Github config requires a personal token:
{
"mcpServers": {
"github": {
"url": "https://api.githubcopilot.com/mcp/",
"headers": {
"Authorization": "Bearer YOUR_GITHUB_PAT"
}
}
}
}
How to pass it as an env var? Previously I can wrap it in a script and export the env var manually, but with this new config, this approach doesn’t work anymore.