Skip to content

Commit 4df2766

Browse files
committed
Experimental repo for testing MCP plugin configurations
1 parent 93b79e3 commit 4df2766

File tree

4 files changed

+110
-0
lines changed

4 files changed

+110
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"name": "rush-mcp",
3+
"version": "1.0.0",
4+
"private": true,
5+
"dependencies": {
6+
"rush-mcp-example-plugin": "file:../../../../rushstack/build-tests/rush-mcp-example-plugin/"
7+
}
8+
}

common/autoinstallers/rush-mcp/pnpm-lock.yaml

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
/**
2+
* Example config file for the "rush-mcp-example-plugin" demo plugin.
3+
*
4+
* This config file is located at: <your-repo>/common/config/rush-mcp/plugin-configs/rush-mcp-example-plugin.json
5+
*/
6+
{
7+
"$schema": "rush-mcp-example-plugin.schema.json",
8+
9+
"capitalsByState": {
10+
"alabama": "montgomery",
11+
"alaska": "juneau",
12+
"arizona": "phoenix",
13+
"arkansas": "little rock",
14+
"california": "sacramento",
15+
"colorado": "denver",
16+
"connecticut": "hartford",
17+
"delaware": "dover",
18+
"florida": "tallahassee",
19+
"georgia": "atlanta",
20+
"hawaii": "honolulu",
21+
"idaho": "boise",
22+
"illinois": "springfield",
23+
"indiana": "indianapolis",
24+
"iowa": "des moines",
25+
"kansas": "topeka",
26+
"kentucky": "frankfort",
27+
"louisiana": "baton rouge",
28+
"maine": "augusta",
29+
"maryland": "annapolis",
30+
"massachusetts": "boston",
31+
"michigan": "lansing",
32+
"minnesota": "saint paul",
33+
"mississippi": "jackson",
34+
"missouri": "jefferson city",
35+
"montana": "helena",
36+
"nebraska": "lincoln",
37+
"nevada": "carson city",
38+
"new hampshire": "concord",
39+
"new jersey": "trenton",
40+
"new mexico": "santa fe",
41+
"new york": "albany",
42+
"north carolina": "raleigh",
43+
"north dakota": "bismarck",
44+
"ohio": "columbus",
45+
"oklahoma": "oklahoma city",
46+
"oregon": "salem",
47+
"pennsylvania": "harrisburg",
48+
"rhode island": "providence",
49+
"south carolina": "columbia",
50+
"south dakota": "pierre",
51+
"tennessee": "nashville",
52+
"texas": "austin",
53+
"utah": "salt lake city",
54+
"vermont": "montpelier",
55+
"virginia": "richmond",
56+
"washington": "olympia",
57+
"west virginia": "charleston",
58+
"wisconsin": "madison",
59+
"wyoming": "cheyenne"
60+
}
61+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/**
2+
* This file configures the behavior of `@rushstack/mcp-server` for a given monorepo.
3+
* Its file path: <your-repo>/common/config/rush-mcp/rush-mcp.json
4+
*/
5+
{
6+
/**
7+
* The list of plugins that `@rushstack/mcp-server` should load when processing this monorepo.
8+
*/
9+
"mcpPlugins": [
10+
{
11+
/**
12+
* The name of an NPM package that appears in the package.json "dependencies" for the autoinstaller.
13+
*/
14+
"packageName": "rush-mcp-example-plugin",
15+
16+
/**
17+
* The name of a Rush autoinstaller with this package as its dependency.
18+
* The `@rushstack/mcp-server` will automatically ensure this folder is installed
19+
* before attempting to load the plugin.
20+
*/
21+
"autoinstaller": "rush-mcp"
22+
}
23+
]
24+
}

0 commit comments

Comments
 (0)