Skip to content

[CLI] Expand variables in MCP configuration #449

@langri-sha

Description

@langri-sha

I'd like to request if support could be added for expanding variables in the mcp.json configuration, e.g:

   "context7": {
      "type": "http",
      "url": "https://mcp.context7.com/mcp",
      "headers": {
        "CONTEXT7_API_KEY": "${CONTEXT7_API_KEY}"
      },
      "disabled": false
    },

Why is this important? It's great for users that are configuring secrets from a secret store.

Certain agents already support this.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions