Repository navigation
Commit 2919323
Bundle mcpi into the published @modelcontextprotocol/inspector package
Add mcpi's build output to the root package's `bin`/`files` so that
`npm install -g @modelcontextprotocol/inspector` also installs the
`mcpi` binary alongside `mcp-inspector`. mcpi's tsup build already
bundles all monorepo-internal code, and root already declares every
third-party dependency mcpi needs, so no new dependencies or CI risk
are introduced.
- package.json: add "mcpi" bin entry and "clients/mcpi/build" to files
- README.md / AGENTS.md: update project-layout notes to reflect that
mcpi is now bundled into the published package
- clients/mcpi/README.md: add an "Install" section documenting
`npm install -g @modelcontextprotocol/inspector` as the real-world
install path, and rename the old install section to "Build / run
from this repo (development)" to distinguish it from end-user install
Verified with npm pack + an isolated global install from the packed
tarball: both mcp-inspector and mcpi bins resolve and run correctly
with no missing dependencies.
Co-authored-by: Copilot <[email protected]>1 parent 98a4151 commit 2919323
4 files changed
Lines changed: 17 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
| 45 | + | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
8 | 17 | | |
9 | 18 | | |
10 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
0 commit comments