-
Notifications
You must be signed in to change notification settings - Fork 657
fix: Rider config path and add MCP registry manifest #604
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
fix: Rider config path and add MCP registry manifest #604
Conversation
- Fix RiderConfigurator to use correct GitHub Copilot config path: - Windows: %LOCALAPPDATA%\github-copilot\intellij\mcp.json - macOS: ~/Library/Application Support/github-copilot/intellij/mcp.json - Linux: ~/.config/github-copilot/intellij/mcp.json - Add mcp.json for GitHub MCP Registry support: - Enables users to install via coplaydev/unity-mcp - Uses uvx with mcpforunityserver from PyPI
Reviewer's guide (collapsed on small PRs)Reviewer's GuideAdjusts the Rider GitHub Copilot MCP client to write its configuration to the official GitHub Copilot IntelliJ paths across all platforms and introduces a top-level mcp.json manifest to support installation via the GitHub MCP Registry using the PyPI-distributed mcpforunityserver. Updated class diagram for RiderConfigurator MCP pathsclassDiagram
class McpClient {
string name
string windowsConfigPath
string macConfigPath
string linuxConfigPath
bool IsVsCodeLayout
}
class JsonFileMcpConfigurator {
+JsonFileMcpConfigurator(mcpClient)
+Configure()
}
class RiderConfigurator {
+RiderConfigurator()
}
RiderConfigurator --|> JsonFileMcpConfigurator
JsonFileMcpConfigurator o--> McpClient
class Environment {
+static string GetFolderPath(specialFolder)
}
class Path {
+static string Combine(part1, part2, part3, part4, part5)
}
RiderConfigurator ..> Environment : uses
RiderConfigurator ..> Path : uses
McpClient : windowsConfigPath = LocalApplicationData/github-copilot/intellij/mcp.json
McpClient : macConfigPath = UserProfile/Library/Application Support/github-copilot/intellij/mcp.json
McpClient : linuxConfigPath = UserProfile/.config/github-copilot/intellij/mcp.json
McpClient : IsVsCodeLayout = true
File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
📝 WalkthroughWalkthroughThe PR modifies RiderConfigurator.cs to update MCP configuration paths from JetBrains Rider directories to GitHub Copilot IntelliJ directories across Windows, macOS, and Linux platforms. Additionally, a new mcp.json configuration file is introduced defining the MCP server setup for unity-mcp using stdio communication with uvx. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
- Fix RiderConfigurator to use correct GitHub Copilot config path: - Windows: %LOCALAPPDATA%\github-copilot\intellij\mcp.json - macOS: ~/Library/Application Support/github-copilot/intellij/mcp.json - Linux: ~/.config/github-copilot/intellij/mcp.json - Add mcp.json for GitHub MCP Registry support: - Enables users to install via coplaydev/unity-mcp - Uses uvx with mcpforunityserver from PyPI
Description
Fix Rider/IntelliJ GitHub Copilot MCP configuration paths and add mcp.json manifest for GitHub MCP Registry support. Fixes #599
Type of Change
Changes Made
%LOCALAPPDATA%\github-copilot\intellij\mcp.json~/Library/Application Support/github-copilot/intellij/mcp.json~/.config/github-copilot/intellij/mcp.jsoncoplaydev/unity-mcpuvxwithmcpforunityserverfrom PyPITesting/Screenshots/Recordings
mcp.jsonis written to correct path (%LOCALAPPDATA%\github-copilot\intellij\mcp.json)Related Issues
Additional Notes
Summary by Sourcery
Fix GitHub Copilot MCP configuration for JetBrains Rider and add registry manifest support.
New Features:
Bug Fixes:
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.