Initial implementation of DetectedMCPClients[]#179
Merged
Conversation
This will be needed by both the Welcome Screen (which we knew already) and the Preferences dialog (which we didn't). So I think it makes sense for this utility to live in this paclet. It returns all $SupportedMCPClients for which the "InstallLocation" file actually exists. We may want to put more effort into this, but it will be useful even in this simple form.
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new public API DetectedMCPClients[] to the AgentTools paclet to identify which supported MCP clients appear to be installed/configured based on known config-file locations.
Changes:
- Export
DetectedMCPClientsas a public symbol (PacletInfo + protected names list). - Implement
DetectedMCPClients[]inKernel/PreferencesContent.wlby filtering$SupportedMCPClientsbased on whether the inferred install-location file exists.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| PacletInfo.wl | Adds Wolfram\AgentTools`DetectedMCPClients` to exported symbols. |
| Kernel/PreferencesContent.wl | Implements DetectedMCPClients[] by selecting supported clients with existing install-location files. |
| Kernel/Main.wl | Exports and protects the new DetectedMCPClients symbol. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
rhennigan
commented
May 7, 2026
Replace inline path resolution with the canonical installLocation helper (wrapped in catchAlways so OS-specific lookup failures don't propagate) and return Keys to match the function's plural name. Adds initial tests.
rhennigan
commented
May 7, 2026
DetectedMCPClients[] now returns the metadata association of detected clients instead of just their names, since consumers need the data. Updates the ordering test to assert preservation of $SupportedMCPClients order rather than Sort order. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
No description provided.