Print attempted mcp installation command on failure #83
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.
This includes the attempted MCP installation command in the error output if the command fails. This should help users debug issues installing the MCP. In some cases, it may be enough for the user to simply run the command themselves manually. In particular, we've seen cases where
tiger mcp install claude-codefails becauseclaudeisn't in the user's$PATH, because some (older?) Claude Code installation mechanisms create a bash alias for it instead of adding it to the$PATH. In that case, the user should be able to just run the command themselves manually to install the MCP.I also modified the error to not include the command output if it's empty (as is the case when the executable can't even be found).
The error now looks like this if there's no output from the command:
And it looks like this if there is output:
Closes AGE-225