Skip to content

AX-1579 - Make MCP secret-persistence guidance shell-aware#8

Open
YoniMelki wants to merge 1 commit into
mainfrom
bugfix/AX-1579-envar-instructions
Open

AX-1579 - Make MCP secret-persistence guidance shell-aware#8
YoniMelki wants to merge 1 commit into
mainfrom
bugfix/AX-1579-envar-instructions

Conversation

@YoniMelki
Copy link
Copy Markdown
Collaborator

What

Replace the hardcoded ~/.zshrc persistence instruction in the MCP management template with shell-aware guidance.

Why

The agent told users to persist MCP secret env vars by adding the export to ~/.zshrc, which only works for zsh. Users on bash/fish/Linux/Windows added it to a file their shell never sources, so the variable was silently lost on next launch and the IDE "ignored" the config.

Changes

  • templates/jfrog-mcp-management.md: secret-persistence guidance now keys on the user's shell, not the OS — zsh → ~/.zshrc, bash → ~/.bashrc (and macOS ~/.bash_profile), fish → ~/.config/fish/config.fish, Windows → setx — and tells the agent to detect the shell first.
  • Bump plugin version 0.2.10.2.2.

🤖 Generated with Claude Code

Persisting MCP secrets previously told users to add the export to ~/.zshrc, which only works for zsh users. Replace that with shell-keyed guidance (zsh/bash/fish, plus Windows setx) and tell the agent to detect the shell, so the export lands in the file the user's shell actually sources. Bump plugin version 0.2.1 -> 0.2.2.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@YoniMelki YoniMelki requested a review from yanivt-jfrog June 1, 2026 17:07
@YoniMelki YoniMelki force-pushed the bugfix/AX-1579-envar-instructions branch from 21b2348 to 3ef8314 Compare June 2, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants