diff --git a/README.md b/README.md index 68742752f..26237ce6e 100644 --- a/README.md +++ b/README.md @@ -161,13 +161,9 @@ Add the following JSON block to your IDE MCP settings. "run", "-i", "--rm", - "-e", - "GITHUB_PERSONAL_ACCESS_TOKEN", + "-e", "GITHUB_PERSONAL_ACCESS_TOKEN=${input:github_token}", "ghcr.io/github/github-mcp-server" - ], - "env": { - "GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}" - } + ] } } } @@ -194,13 +190,9 @@ Optionally, you can add a similar example (i.e. without the mcp key) to a file c "run", "-i", "--rm", - "-e", - "GITHUB_PERSONAL_ACCESS_TOKEN", + "-e", "GITHUB_PERSONAL_ACCESS_TOKEN=${input:github_token}", "ghcr.io/github/github-mcp-server" - ], - "env": { - "GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}" - } + ] } } } @@ -220,13 +212,9 @@ More about using MCP server tools in VS Code's [agent mode documentation](https: "run", "-i", "--rm", - "-e", - "GITHUB_PERSONAL_ACCESS_TOKEN", + "-e", "GITHUB_PERSONAL_ACCESS_TOKEN=${input:github_token}", "ghcr.io/github/github-mcp-server" - ], - "env": { - "GITHUB_PERSONAL_ACCESS_TOKEN": "" - } + ] } } } @@ -377,16 +365,10 @@ the hostname for GitHub Enterprise Server or GitHub Enterprise Cloud with data r "run", "-i", "--rm", - "-e", - "GITHUB_PERSONAL_ACCESS_TOKEN", - "-e", - "GITHUB_HOST", + "-e", "GITHUB_PERSONAL_ACCESS_TOKEN=${input:github_token}", + "-e", "GITHUB_HOST=https://", "ghcr.io/github/github-mcp-server" - ], - "env": { - "GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}", - "GITHUB_HOST": "https://" - } + ] } ``` pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy