If I define my mcp server like:
{
"mcpServers": {
"github": {
"disabled": true,
"headers": {
"Authorization": "Bearer ${cmd: pass show <some_pass>}"
},
"url": "https://api.githubcopilot.com/mcp/"
}
}
}
Then upon firing nvim the pass show cmd is called. Is it possible to only call cmd:pass upon running :MCPHub or some codecompanion command that triggers a chat buffer? I tried lazy loading but without success.
If I define my mcp server like:
{ "mcpServers": { "github": { "disabled": true, "headers": { "Authorization": "Bearer ${cmd: pass show <some_pass>}" }, "url": "https://api.githubcopilot.com/mcp/" } } }Then upon firing nvim the pass show cmd is called. Is it possible to only call
cmd:passupon running:MCPHubor some codecompanion command that triggers a chat buffer? I tried lazy loading but without success.