copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

Support interactive input variables (${input:...}) for plugins in GitHub Copilot CLI

Open Sozhan308 opened this issue 4 months ago • 2 comments

Describe the feature or problem you'd like to solve

GitHub Copilot CLI currently has no support for interactive input variables (for example, ${input:...} in .mcp.json). This makes it difficult for plugins to securely prompt users for values such as API keys, URLs, or other configuration at runtime, reducing compatibility with existing MCP configurations.

Proposed solution

Introduce an interactive input mechanism for Copilot CLI similar to VS Code's ${input:...} support.

  • Support resolving ${input:...} variables when a Copilot CLI session starts, prompting the user for required values.

  • Provide a dedicated CLI configuration section (similar to Claude Code's userConfig https://code.claude.com/docs/en/plugins-reference#user-configuration) where plugins can declare user-configurable parameters that are prompted interactively and made available during execution.

For example:

{
  "inputs": [
    {
      "id": "github_token",
      "type": "password",
      "description": "GitHub Personal Access Token"
    }
  ]
}

Example prompts or workflows

No response

Additional context

No response

Sozhan308 avatar Jul 07 '26 05:07 Sozhan308

Triage summary

Plugin MCP loading and ${secret:...} exist, but there is no declared input registry, resolver, persistence policy, or headless callback for ${input:...}.

Define the product and security contract before implementation.

Route: developer-needed.

This triage summary was prepared with GitHub Copilot and reviewed before posting.

gokhanarkan avatar Jul 15 '26 10:07 gokhanarkan

Confirmed: the CLI supports ${secret:...} placeholders, but there's still no ${input:...} resolution or a way for plugins to declare user-configurable inputs. We've moved this to the backlog; the prompting, storage and headless behavior still need to be designed first.

hstaudacher avatar Nov 18 '26 16:11 hstaudacher