-
Notifications
You must be signed in to change notification settings - Fork 631
[mcp-server] Update the rush mcp server README document #5231
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
Merged
octogonz
merged 6 commits into
microsoft:main
from
L-Qun:feat/update-rush-mcp-server-readme
May 29, 2025
Merged
Changes from 5 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
9b81752
feat: update rush mcp server readme
L-Qun 3a20843
rush change
L-Qun ced9e99
update keywords
L-Qun 4a3b8ba
modify rush rules
L-Qun ca1dc5b
fix some bugs for rush mcp server
L-Qun 69704e4
Update feat-update-rush-mcp-server-readme_2025-05-14-12-35.json
L-Qun 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,37 @@ | ||
# @rushstack/mcp-server | ||
|
||
With the rapid advancement of LLMs, AI applications like Trae, Cursor, Cline, Windsurf, and others have been thriving. However, due to the large scale of monorepos and the context limitations of LLMs, it’s difficult for these models to fully understand your monorepo. This is where @rushstack/mcp-server comes in — by providing a suite of MCP tools, it enables LLMs to better comprehend your monorepo and assist you more effectively with daily development tasks in a Rush-based monorepo environment. | ||
|
||
## Usage | ||
|
||
1. To get the best results, copy the [.cursor](https://github.com/microsoft/rushstack/tree/main/.cursor) directory into the root of your project. | ||
|
||
2. Configure `@rushstack/mcp-server` in your AI application | ||
|
||
``` | ||
{ | ||
"mcpServers": { | ||
"rush": { | ||
"command": "npx", | ||
"args": ["-y", "@rushstack/mcp-server", "your-project-path"] | ||
} | ||
} | ||
} | ||
``` | ||
|
||
3. Congratulations 🎉 You’ve completed the setup — Rush MCP is now ready to use! | ||
|
||
## Available Tools | ||
|
||
- `rush_docs`: Retrieves relevant documentation sections based on your queries | ||
- `rush_workspace_details`: Retrieve detailed workspace information | ||
- `rush_project_details`: Get detailed information about a specific project | ||
- `rush_command_validator`: Validate whether commands are compliant and follow best practices | ||
- `rush_migrate_project`: Migrate a project from one directory to another or into a different subspace | ||
- `rush_pnpm_lock_file_conflict_resolver`: Resolve pnpm-lock.yaml conflicts | ||
|
||
## Links | ||
|
||
- [CHANGELOG.md]( | ||
https://github.com/microsoft/rushstack/blob/main/apps/rush-mcp-server/CHANGELOG.md) - Find | ||
out what's new in the latest version |
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
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. | ||
// See LICENSE in the project root for license information. | ||
|
||
import { Terminal, ConsoleTerminalProvider } from '@rushstack/terminal'; | ||
import { Terminal, ConsoleTerminalProvider, type TerminalWriteParameters } from '@rushstack/terminal'; | ||
|
||
export const terminal: Terminal = new Terminal(new ConsoleTerminalProvider({ verboseEnabled: true })); | ||
|
||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
export function log(message?: any, ...optionalParams: any[]): void { | ||
terminal.writeErrorLine(message, ...optionalParams); | ||
export function log(...messageParts: TerminalWriteParameters): void { | ||
terminal.writeErrorLine(...messageParts); | ||
} |
10 changes: 10 additions & 0 deletions
10
...on/changes/@rushstack/mcp-server/feat-update-rush-mcp-server-readme_2025-05-14-12-35.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@rushstack/mcp-server", | ||
"comment": "Update the rush mcp server README.md document", | ||
"type": "none" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should be a "patch" type |
||
} | ||
], | ||
"packageName": "@rushstack/mcp-server" | ||
} |
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.
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.
Why is this getting removed?
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.
Since there’s only one rules file in the Rush repository, the AI doesn’t need to make a decision, it can directly use that file as context.