Skip to content

Environment API KEY for local install #749

@ChrisGVE

Description

@ChrisGVE

Using Claude Code, I am able to connect context7 with

    "context7": {
      "type": "stdio",
      "command": "context7-mcp",
      "args": [
        "--api-key",
        "XXXXXXXXXX"
      ]
    }

But I'd like to use an environment variable such that I don't have to put a secret in my configuration, something like

  "env": {
    "CONTEXT7_API_KEY": "${CONTEXT7_API_KEY}"
  }

I could not find a way to make it work, is it possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions