Skip to content

fix(mcp): mask credentials in list output - #30

Merged
oritwoen merged 1 commit into
mainfrom
fix/redact-mcp-list-credentials
Sep 4, 2026
Merged

oritwoen merged 1 commit into
mainfrom
fix/redact-mcp-list-credentials

Conversation

@aeitwoen

@aeitwoen aeitwoen commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

mcp-servers list is meant to inspect setup, but it currently copies raw tokens from env and headers into terminal output and model context. This keeps those values available to the lossless config API while masking them at the CLI and agent tool boundary, including parse errors that could echo malformed lines containing secrets.

Resolves #1

@aeitwoen
aeitwoen requested a review from oritwoen as a code owner September 4, 2026 15:44
@aeitwoen aeitwoen self-assigned this Sep 4, 2026
@oritwoen
oritwoen merged commit d42eb25 into main Sep 4, 2026
3 checks passed
@oritwoen
oritwoen deleted the fix/redact-mcp-list-credentials branch September 4, 2026 15:45
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.

Redact MCP credentials from list output

2 participants