You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update npx usage examples to use gh-attach@latest and -y by default so the docs always resolve the latest published package.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
If you run via `npx`, there is nothing to upgrade locally — each invocation resolves the published package. Pin a version explicitly if you do not want the latest release:
83
+
If you run via `npx`, there is nothing to upgrade locally — each invocation resolves `gh-attach@latest`. Pin a specific version instead if you do not want the latest release:
84
84
85
85
```bash
86
-
npx gh-attach@<version> mcp --transport stdio
86
+
npx -y gh-attach@<version> mcp --transport stdio
87
87
```
88
88
89
89
If you installed a standalone release binary, download the newest matching asset from the latest GitHub release and replace your existing `gh-attach` executable.
@@ -150,7 +150,7 @@ Choose the MCP command that matches how you installed `gh-attach`:
When the MCP client supports elicitation, `upload_image` can prompt for a GitHub token during the same tool call and continue the upload without requiring a separate `login` step first.
156
156
@@ -243,7 +243,7 @@ Add to `.vscode/settings.json`:
243
243
244
244
This wrapper requires `bash` and an authenticated GitHub CLI session (`gh auth login`). It resolves the token at startup instead of storing it in the config file, but the token is still present in the MCP server process environment while it is running. If `bash` is unavailable, use the standalone CLI setup instead.
245
245
246
-
If you prefer `npx`, use `command: "npx"` and prepend `gh-attach` to the `args` array.
246
+
If you prefer `npx`, use `command: "npx"` and prepend `-y`, `gh-attach@latest` to the `args` array.
0 commit comments