Expand env vars in .mcp.json
Reference secrets with ${VAR} instead of pasting them, so a project .mcp.json is safe to commit.
{
"mcpServers": {
"github": {
"type": "http",
"url": "https://api.githubcopilot.com/mcp/",
"headers": { "Authorization": "Bearer ${GITHUB_TOKEN}" }
}
}
}