-
Notifications
You must be signed in to change notification settings - Fork 1.5k
fix: Rider + Github Copilot use MCP cannot works #599 #601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
204e95a
fix: resolve UV path override not being detected in System Requirements
whatevertogo 25e5d05
fix: improve uv/uvx detection robustness on macOS and Linux
whatevertogo cc22320
Merge branch 'CoplayDev:main' into main
whatevertogo 8d5fa2f
refactor: unify process execution with ExecPath.TryRun and add Window…
whatevertogo 84cee8c
fix: improve version parsing to handle both spaces and parentheses
whatevertogo 510e631
refactor: improve platform detectors with absolute path resolution
whatevertogo bf41479
fix: improve error handling in PathResolverService by logging exceptions
whatevertogo f39857c
Remove .meta files added after fork and update .gitignore
whatevertogo c4be11c
Merge branch 'CoplayDev:main' into main
whatevertogo 1832715
Update .gitignore
whatevertogo 554ddd0
save .meta
whatevertogo fb5909d
refactor: unify uv/uvx naming and path detection across platforms
whatevertogo 254125a
fix: improve validation light(uvxPathStatus) logic for UVX path overr…
whatevertogo f9ae5d5
refactor: streamline UV version validation and unify path detection m…
whatevertogo 84cb9c6
fix: add type handling for Claude Code client in config JSON builder
whatevertogo ee33077
fix: correct command from 'uvx' to 'uv' for Python version listing in…
whatevertogo 2c3ebcd
Merge branch 'CoplayDev:main' into main
whatevertogo 66fe194
Merge branch 'CoplayDev:main' into main
whatevertogo 79bce47
Merge branch 'CoplayDev:main' into main
whatevertogo 1877cc2
feat: add uvx path fallback with warning UI
whatevertogo f9b0563
refactor: remove GetDetails method from PlatformDetectorBase
whatevertogo c86eb78
Update ExecPath.cs
Scriptwonder a05d1c7
Merge branch 'CoplayDev:main' into main
whatevertogo 396f248
Merge branch 'CoplayDev:main' into main
whatevertogo a0c07ec
Merge branch 'CoplayDev:main' into main
whatevertogo 4916b12
Merge branch 'CoplayDev:main' into main
whatevertogo a3c2f30
Merge branch 'CoplayDev:main' into main
whatevertogo 2d3dd3e
refactor: update configuration paths for Rider GitHub Copilot and str…
whatevertogo 293db3b
fix: enhance error handling for package source and uvx command arguments
whatevertogo e0bfd96
Update MCPForUnity/Editor/Clients/Configurators/RiderConfigurator.cs
whatevertogo 9e83f83
Update MCPForUnity/Editor/Clients/McpClientConfiguratorBase.cs
whatevertogo 88deaf0
chore: remove unnecessary exception documentation from GetMcpServerPa…
whatevertogo cde5795
Merge branch 'main' of github.com:whatevertogo/unity-mcp
whatevertogo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
GitHub Copilot IntelliJ Rider MCP configuration file path location mcp.json💡 Result:
Put the mcp.json in Rider’s IDE configuration directory. Default locations:
Rider also exposes the same mcp.json via the Copilot/MCP UI (Open Chat → Agent mode → Configure/Add MCP Tools) which opens the client JSON in the editor. [3]
Sources: JetBrains directories & Rider MCP docs, GitHub Copilot MCP docs. [1] [2] [3]
🏁 Script executed:
Repository: CoplayDev/unity-mcp
Length of output: 1451
🏁 Script executed:
Repository: CoplayDev/unity-mcp
Length of output: 782
🏁 Script executed:
Repository: CoplayDev/unity-mcp
Length of output: 5704
🏁 Script executed:
Repository: CoplayDev/unity-mcp
Length of output: 45
Correct the Rider MCP configuration paths to match JetBrains standards.
The configuration paths must use the JetBrains IDE config directories, not the
github-copilot/intellijsubdirectory. Update to:%APPDATA%\JetBrains\Rider<version>\mcp.json(useApplicationData, notLocalApplicationData)~/Library/Application Support/JetBrains/Rider<version>/mcp.json~/.config/JetBrains/Rider<version>/mcp.json(useUserProfile/.config, notLocalApplicationData)🤖 Prompt for AI Agents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The configuration requires the github copilot's mcp server settings, not the rider's mcp server
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
💡 Result:
Place depends on scope:
You can also open/edit the mcp.json from the Copilot/Agent UI in JetBrains (Configure MCP/Add MCP Tools) which launches the same file editor. [2]
Sources: [1] JetBrains Junie MCP docs; [2] GitHub Copilot MCP docs.
🌐 Web query:
💡 Result:
On Windows:
Global/custom instructions and Copilot state: %LOCALAPPDATA%\github-copilot\intellij\ (e.g. C:\Users<you>\AppData\Local\github-copilot\intellij). [1][2]
Per‑IDE plugin settings (language allowlist, etc.) are stored in the IDE config/options folder as github-copilot.xml — e.g. in your IntelliJ config directory under ...\JetBrains<IDE>\options\github-copilot.xml. (JetBrains stores IDE config under your user AppData folders on Windows.) [3][1]
Sources:
[1] GitHub Docs — Configuring GitHub Copilot in your environment / Viewing logs.
[2] GitHub Docs mirror / “Manually creating a global custom instructions file” (Windows path).
[3] GitHub blog / github-copilot.xml location (maps to IDE options folder).
@whatevertogoThank you for the clarification! You're absolutely right. I apologize for the incorrect review comment.GitHub Copilot, as a plugin within JetBrains IDEs like Rider, maintains its own configuration separate from the IDE's native settings. The
LocalApplicationData/github-copilot/intellij/mcp.jsonpath you're using is indeed the correct location for GitHub Copilot's MCP server configuration across JetBrains IDEs.The paths in your PR correctly target GitHub Copilot's plugin configuration, not Rider's native MCP server settings. This distinction is important, and your implementation is correct.
✏️ Learnings added
🧠 Learnings used