Add Goose MCP client detection and configuration support#3189
Closed
Kvadratni wants to merge 1 commit intoJetBrains:masterfrom
Closed
Add Goose MCP client detection and configuration support#3189Kvadratni wants to merge 1 commit intoJetBrains:masterfrom
Kvadratni wants to merge 1 commit intoJetBrains:masterfrom
Conversation
- Added GooseClient class to handle Goose's YAML-based configuration - Implemented detection of Goose config at ~/.config/goose/config.yaml (macOS/Linux) and %APPDATA%/goose/config.yaml (Windows) - Added YAML parsing logic to check for jetbrains2 extension presence and enabled status - Implemented configure() method to add/update jetbrains2 extension in YAML config - Added Goose to MCPClientNames enum and detection flow - Goose uses YAML format instead of JSON, so readMcpServers() returns empty map - Configuration modifies the extensions section of config.yaml to add jetbrains2 with proper STDIO settings
38dedec to
e633d04
Compare
Collaborator
|
Hi, thanks a lot for your contribution and for taking the time to add Goose support! |
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
This PR adds support for detecting and configuring the Goose AI assistant as an MCP client in IntelliJ IDEA.
Changes
GooseClientclass to handle Goose's YAML-based configuration format~/.config/goose/config.yaml%APPDATA%/goose/config.yamljetbrains2extension presence and enabled statusconfigure()method to add/updatejetbrains2extension in YAML configMCPClientNamesenum and detection flowTechnical Details
Unlike other MCP clients that use JSON configuration, Goose uses YAML format with an
extensionssection. The implementation:jetbrains2extension in the extensions sectionreadMcpServers()since Goose doesn't use JSON mcpServers structureTesting
jetbrains2extension correctlyRelated