Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .cursor/mcp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"$schema": "https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/refs/heads/main/schema/2025-03-26/schema.json",

"mcpServers": {
"rush-mcp-server": {
"command": "node",
"args": [
"./common/scripts/install-run.js",
"@rushstack/[email protected]",
"mcp-server",
"."
]
}
}
}
8 changes: 8 additions & 0 deletions common/autoinstallers/rush-mcp/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "rush-mcp",
"version": "1.0.0",
"private": true,
"dependencies": {
"rush-mcp-example-plugin": "file:../../../../rushstack/build-tests/rush-mcp-example-plugin/"
}
}
61 changes: 61 additions & 0 deletions common/config/rush-mcp/rush-mcp-example-plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
/**
* Example config file for the "rush-mcp-example-plugin" demo plugin.
*
* This config file is located at: <your-repo>/common/config/rush-mcp/plugin-configs/rush-mcp-example-plugin.json
*/
{
"$schema": "rush-mcp-example-plugin.schema.json",

"capitalsByState": {
"alabama": "montgomery",
"alaska": "juneau",
"arizona": "phoenix",
"arkansas": "little rock",
"california": "sacramento",
"colorado": "denver",
"connecticut": "hartford",
"delaware": "dover",
"florida": "tallahassee",
"georgia": "atlanta",
"hawaii": "honolulu",
"idaho": "boise",
"illinois": "springfield",
"indiana": "indianapolis",
"iowa": "des moines",
"kansas": "topeka",
"kentucky": "frankfort",
"louisiana": "baton rouge",
"maine": "augusta",
"maryland": "annapolis",
"massachusetts": "boston",
"michigan": "lansing",
"minnesota": "saint paul",
"mississippi": "jackson",
"missouri": "jefferson city",
"montana": "helena",
"nebraska": "lincoln",
"nevada": "carson city",
"new hampshire": "concord",
"new jersey": "trenton",
"new mexico": "santa fe",
"new york": "albany",
"north carolina": "raleigh",
"north dakota": "bismarck",
"ohio": "columbus",
"oklahoma": "oklahoma city",
"oregon": "salem",
"pennsylvania": "harrisburg",
"rhode island": "providence",
"south carolina": "columbia",
"south dakota": "pierre",
"tennessee": "nashville",
"texas": "austin",
"utah": "salt lake city",
"vermont": "montpelier",
"virginia": "richmond",
"washington": "olympia",
"west virginia": "charleston",
"wisconsin": "madison",
"wyoming": "cheyenne"
}
}
24 changes: 24 additions & 0 deletions common/config/rush-mcp/rush-mcp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* This file configures the behavior of `@rushstack/mcp-server` for a given monorepo.
* Its file path: <your-repo>/common/config/rush-mcp/rush-mcp.json
*/
{
/**
* The list of plugins that `@rushstack/mcp-server` should load when processing this monorepo.
*/
"mcpPlugins": [
{
/**
* The name of an NPM package that appears in the package.json "dependencies" for the autoinstaller.
*/
"packageName": "rush-mcp-example-plugin",

/**
* The name of a Rush autoinstaller with this package as its dependency.
* The `@rushstack/mcp-server` will automatically ensure this folder is installed
* before attempting to load the plugin.
*/
"autoinstaller": "rush-mcp"
}
]
}