Skip to content

feat: add user-friendly error messages for MCP commands - #730

Merged
haiphucnguyen merged 1 commit into
askimo-ai:mainfrom
minhnguyen-ai:feature/add-user-friendly-message-for-mcp-commands
Sep 23, 2026
Merged

haiphucnguyen merged 1 commit into
askimo-ai:mainfrom
minhnguyen-ai:feature/add-user-friendly-message-for-mcp-commands

Conversation

@minhnguyen-ai

Copy link
Copy Markdown
Contributor

Summary

We add more user friendly error message when user machine lack the installed command

Related Issue(s)

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • 📝 Documentation
  • ♻️ Refactor (no functional change)
  • 🧪 Tests
  • 🔧 Chore / tooling / CI

What Changed & Why

  • Improved error display in ErrorDisplay.kt to allow text selection.
  • Updated McpServerCatalogDialog.kt for better chip styling and selection.
  • Enhanced ExportSessionDialog.kt with a selected indicator for better UX.
  • Added detailed error messages in StdioMcpConnector.kt for missing executables.

How to Test

./gradlew test

Screenshots / Recordings (if applicable)

Checklist

  • I have read the CONTRIBUTING guide
  • My branch is up to date with main
  • I ran ./gradlew spotlessApply and ./gradlew detekt locally
  • I ran ./gradlew test and all tests pass
  • I added/updated tests for my changes (if applicable)
  • I added/updated documentation (if applicable)
  • My commits are signed off (DCO) — git commit -s
  • This PR is focused on a single feature/fix

Additional Notes

- Improved error display in `ErrorDisplay.kt` to allow text selection.
- Updated `McpServerCatalogDialog.kt` for better chip styling and selection.
- Enhanced `ExportSessionDialog.kt` with a selected indicator for better UX.
- Added detailed error messages in `StdioMcpConnector.kt` for missing executables.
- Created unit tests in `StdioMcpConnectorValidationTest.kt` for connector validation.

@haiphucnguyen haiphucnguyen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @minhnguyen-ai !

@haiphucnguyen
haiphucnguyen merged commit 94f1654 into askimo-ai:main Sep 23, 2026
9 of 10 checks passed
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