feat(cli): add tool config list <ref|path> and fix OAuth re-auth#93
Merged
feat(cli): add tool config list <ref|path> and fix OAuth re-auth#93
Conversation
Extend `tool config list` to accept an optional tool reference or path, displaying the tool's user_config schema with all field properties (type, title, description, default, sensitive, min/max, enum). Supports --json and --concise/-c output modes. - Add optional [TOOL] arg and --json flag to ConfigCommand::List - Add config_list_tool() to resolve a tool and render its schema - Add JSON output types: ConfigSchemaOutput, ConfigPropertyOutput, ConfigListOutput, ConfigListEntry, ConfigOAuthOutput - Show OAuth credential status (authenticated/expired) for HTTP tools in all output modes - Human-readable output follows tool-list style: name + description on first line, properties as bullet lines below - Skip redundant stored-credentials attempt in AuthRequired branch of connect_with_oauth (reference-mode already tried; spawned servers are fresh instances that reject old tokens) - Simplify StoredCredentialsResult::NotAvailable to unit variant - Update README with config list, config unset, logout, whoami, and self command documentation
appcypher
added a commit
that referenced
this pull request
Feb 6, 2026
Changes since v0.1.13: Features: - Add progress bars to tool pack with improved UX (#97) - Add --json and --concise support to tool config get (#95) - Add OpenCode as supported MCP host (#94) - Add tool config list <ref|path> command (#93) - Implement all template functions and auto-install local tools (#91) Fixes: - Pass Authorization header from manifest to HTTP transport (#96) - Fix OAuth re-authentication flow (#93) - Correct config path derivation for path-resolved tools (#92)
appcypher
added a commit
that referenced
this pull request
Feb 6, 2026
Changes since v0.1.13: Features: - Add progress bars to tool pack with improved UX (#97) - Add --json and --concise support to tool config get (#95) - Add OpenCode as supported MCP host (#94) - Add tool config list <ref|path> command (#93) - Implement all template functions and auto-install local tools (#91) Fixes: - Pass Authorization header from manifest to HTTP transport (#96) - Fix OAuth re-authentication flow (#93) - Correct config path derivation for path-resolved tools (#92)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tool config listto accept an optional<ref|path>argument, displaying the config schema (user_config fields + OAuth status) for a specific tool with human-readable, concise (-c), and JSON (--json) output modes--json) for the existingtool config list(no tool specified) commandTest plan
tool config listand verify it lists all configured toolstool config list --jsonand verify JSON output withtoolsmaptool config list <ref>(e.g.tool config list appcypher/bash) and verify human-readable schema output with name + description on first line, properties on subsequent·linestool config list <ref> -cfor concise TSV outputtool config list <ref> --jsonfor JSON output withuser_configand optionaloauthfieldstool config list <path>with a local path to verify path-based resolution workstool info authon an HTTP tool and verify it no longer re-authenticates every time