Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Split secrets from MCP configs #349

Copy link
Copy link
@NatoBoram

Description

@NatoBoram
Issue body actions

Describe the feature or problem you'd like to solve

Configs should receive secrets from a different file

Proposed solution

A file at ~/.copilot/.env could be used to store secrets separately from the configs.

Example prompts or workflows

This would allow open-sourcing one's dotfiles.

Example with Gemini CLI:

Example with VSCode:

Additional context

This is already supported by other programs. Here's some examples.

VSCode:

{
	"inputs": [
		{
			"description": "Tavily API Key",
			"id": "tavily_api_key",
			"password": true,
			"type": "promptString"
		}
	],
	"servers": {
		"tavily": {
			"args": ["tavily-mcp@latest"],
			"command": "bunx",
			"env": { "TAVILY_API_KEY": "${input:tavily_api_key}" },
			"type": "stdio"
		}
	}
}

And in Gemini CLI:

{
	"mcpServers": {
		"tavily": {
			"args": ["tavily-mcp@latest"],
			"command": "bunx",
			"env": { "TAVILY_API_KEY": "$TAVILY_API_KEY" },
			"trust": true
		}
	}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.