Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
224 commits
Select commit Hold shift + click to select a range
2bfbdca
Add a toast on connection error
howardjohn Aug 28, 2025
0b569f2
Move under else
howardjohn Oct 13, 2025
68788fc
Merge branch 'main' into inspector/error-popup
cliffhall Oct 18, 2025
9dc3b74
mcp: add icons
jesselumarie Oct 19, 2025
a45a291
Merge branch 'main' into jesselumarie/test-SEP-974
cliffhall Oct 20, 2025
dd0985c
fix: enhance resolution and enum handling in anyOf schemas
Edison-A-N Nov 2, 2025
35286a2
Merge branch 'main' into jesselumarie/test-SEP-974
cliffhall Nov 19, 2025
92e01dc
fix: allow empty elicitation form data when all fields are optional
bolinfest Nov 20, 2025
a114db8
mcp: update resources + icon alignment
jesselumarie Nov 24, 2025
635a9a1
zod4 compatibility fixed for CI
evalstate Nov 27, 2025
85a4f63
bump sdk to 1.23.0
evalstate Nov 27, 2025
87f14dc
npm audit fix
evalstate Nov 27, 2025
927098f
prettier
evalstate Nov 27, 2025
6a86c19
bump prettier. 3.7 was raising issues in CI (using 3.7.1) that 3.6.2 …
evalstate Nov 27, 2025
d995ce3
Fix ReadableStream controller double-close crash
felixweinberger Nov 27, 2025
436e77e
Merge pull request #939 from modelcontextprotocol/fix/zod4-compat
cliffhall Nov 27, 2025
573bda8
Merge branch 'main' into fweinberger/fix-stream-double-close
felixweinberger Nov 28, 2025
fe57d7e
fix: proper stream cleanup and transport close on disconnect
felixweinberger Nov 28, 2025
6e4a52b
Merge pull request #940 from modelcontextprotocol/fweinberger/fix-str…
felixweinberger Nov 28, 2025
3058b56
Merge branch 'main' into fweinberger/sep1699-debug
felixweinberger Nov 28, 2025
bb3a2a1
Merge pull request #941 from modelcontextprotocol/fweinberger/sep1699…
felixweinberger Dec 1, 2025
4b20f15
add suggested tests from code review
bolinfest Dec 1, 2025
7b644f9
Merge branch 'main' into jesselumarie/test-SEP-974
cliffhall Dec 1, 2025
11e4e10
Merge pull request #778 from jesselumarie/jesselumarie/test-SEP-974
cliffhall Dec 1, 2025
fd99d87
DynamicJsonForm improvements and full enum schema support
cliffhall Dec 3, 2025
3f0c45e
update DynamicJsonForm tests; add enum coverage and JSON-mode assertions
cliffhall Dec 3, 2025
d0c5b88
Fix linter issues in DynamicJsonForm.tsx
cliffhall Dec 3, 2025
cb1be76
Exclude tests from build in tsconfig.app.json
cliffhall Dec 3, 2025
124e733
Bump version to 0.17.5
cliffhall Dec 4, 2025
e9e38b0
Merge pull request #954 from cliffhall/bump-to-0.17.5
olaservo Dec 4, 2025
2c94a00
Merge branch 'main' into sep-1330-enums
cliffhall Dec 4, 2025
de5b23b
Update V2 messaging to clarify V1 focus on bug fixes and spec compliance
olaservo Dec 5, 2025
06f4b25
Merge branch 'main' into update-pr-template
olaservo Dec 5, 2025
976d77f
Merge pull request #958 from olaservo/update-pr-template
cliffhall Dec 6, 2025
2561817
fix issue link in CONTRIBUTING.md
DaleSeo Dec 7, 2025
2b79e36
Merge pull request #963 from DaleSeo/patch-1
olaservo Dec 7, 2025
171d6b4
[Docs] Fix broken CONTRIBUTING.md links in GitHub templates
koic Dec 8, 2025
d1fcbd2
fix: detect 401 errors from StreamableHTTP transport for OAuth flow
olaservo Dec 8, 2025
3d15778
Merge pull request #964 from koic/fix_broken_links_to_contributing_md
olaservo Dec 9, 2025
2056622
Merge pull request #952 from cliffhall/sep-1330-enums
olaservo Dec 10, 2025
1e1b9e3
feat: add theme property to Icon and Prompt types
Vijaydaswani Dec 11, 2025
bce61b2
Merge pull request #968 from Vijaydaswani/fix/icon-theme-property
olaservo Dec 12, 2025
5778a3a
Merge pull request #926 from bolinfest/sapling-pr-archive-bolinfest
olaservo Dec 12, 2025
b3a2729
chore: bump version to 0.18.0
olaservo Dec 12, 2025
e7018c0
Merge pull request #969 from olaservo/release/v0.18.0
cliffhall Dec 13, 2025
96e2566
Bump TS SDK version to 1.24.3
cliffhall Dec 13, 2025
8ea530c
Merge pull request #971 from cliffhall/bump-ts-sdk-version
olaservo Dec 13, 2025
6de14a3
Update docker launch command
cliffhall Dec 13, 2025
1977e2a
Merge pull request #966 from olaservo/fix/streamable-http-401-handling
cliffhall Dec 13, 2025
f5d9c18
Merge pull request #972 from cliffhall/update-readme-about-docker
olaservo Dec 18, 2025
6eed736
fix: display description for anyOf fields in JSON editor
DaleSeo Dec 15, 2025
fe393e5
Merge pull request #974 from DaleSeo/anyof-description
olaservo Dec 22, 2025
e1886a8
fix: detect 401 errors from `StreamableHTTP` transport in client
thinhtpt-dev Jan 6, 2026
33b7199
Allow Claude to safely do code review automatically and from forks. D…
cliffhall Jan 6, 2026
7e6cc16
Change instructions to prompt in claude_pr_review.yml
cliffhall Jan 6, 2026
1c265b9
Remove claude_pr_review.yml as it turns out there is a GitHub restric…
cliffhall Jan 6, 2026
775726b
prettier
cliffhall Jan 6, 2026
82067f3
Merge pull request #1001 from cliffhall/allow-claude-pr-reviews-from-…
olaservo Jan 6, 2026
36a7244
Update client/src/lib/hooks/useConnection.ts
cliffhall Jan 7, 2026
fdd5bec
Merge branch 'main' into main
cliffhall Jan 7, 2026
04898cb
Update client/src/lib/hooks/useConnection.ts
cliffhall Jan 7, 2026
f7bf100
Fix is401Error
cliffhall Jan 7, 2026
fc8066e
Merge pull request #999 from thinhtpt-dev/main
cliffhall Jan 7, 2026
3c892b2
Fix high severity security vulnerabilities
olaservo Jan 8, 2026
66b84b0
Update minimum SDK version to ^1.25.2 in package.json files
olaservo Jan 8, 2026
4a4968f
Merge pull request #1004 from olaservo/update-typescript-sdk
cliffhall Jan 8, 2026
8cb8457
Merge branch 'main' into inspector/error-popup
cliffhall Jan 9, 2026
5a7f996
Merge pull request #765 from howardjohn/inspector/error-popup
cliffhall Jan 9, 2026
2bf0dd1
fix: omit scope field in OAuth DCR when undefined and improve error h…
asoorm Jan 18, 2026
94ba4c3
* In useConnection.ts (#924)
cliffhall Jan 19, 2026
232f244
Add MCP docs server to Claude Code GitHub Action
olaservo Nov 25, 2025
4835b73
Fix allowedTools config to include mcp-docs MCP server tools
olaservo Jan 19, 2026
ea82eff
Merge branch 'main' into add-mcp-docs-server-to-claude
olaservo Jan 19, 2026
44d0e58
Converted CLI tests to use vitest (#1012)
BobDickinson Jan 19, 2026
da684d0
Update LICENSE and package.json for Linux Foundation transition (#1018)
Copilot Jan 19, 2026
6247e67
Merge branch 'main' into add-mcp-docs-server-to-claude
olaservo Jan 19, 2026
6dc5d1a
Merge pull request #937 from olaservo/add-mcp-docs-server-to-claude
cliffhall Jan 20, 2026
7f6e579
Bump version to 0.19.0 across all packages
github-actions[bot] Jan 21, 2026
7ef0971
Add Tasks support (#1013)
cliffhall Jan 23, 2026
edbe2f8
Merge branch 'main' into claude/issue-1028-20260121-1235
olaservo Jan 23, 2026
3adaf39
Merge pull request #1029 from modelcontextprotocol/claude/issue-1028-…
cliffhall Jan 23, 2026
9f3b4ff
In App.samplingNavigation.test.tsx, (#1035)
cliffhall Jan 23, 2026
3549220
feat(client): display tool annotation badges in Tools tab
olaservo Jan 25, 2026
dad17c6
feat(client): show all tool annotations with explicit/implied states
olaservo Jan 25, 2026
1cadda0
feat(client): add MCP spec descriptions to annotation tooltips
olaservo Jan 25, 2026
3b2dec0
Added proxy fetch for use by auth (to avoid CORS and other issues whe…
BobDickinson Jan 31, 2026
fc7897f
fix(client): fix dev mode hanging on Windows (#1051)
olaservo Feb 3, 2026
885c8bc
fix(client): circular function calls leads to memory leak (#1049)
dzhulk Feb 3, 2026
d73fb1c
fix: display tool title field in Inspector UI
github-actions[bot] Feb 4, 2026
919590e
fix: include LICENSE file in published npm packages
github-actions[bot] Feb 4, 2026
ddef72f
Merge branch 'main' into web-client-oauth-proxy-fetch
olaservo Feb 4, 2026
442638f
Merge branch 'main' into fix/enum-anyof-ref-resolution
olaservo Feb 4, 2026
dd02737
Enable Dependabot for GitHub Actions (#1048)
koic Feb 4, 2026
613c650
Bump actions/setup-node from 4 to 6
dependabot[bot] Feb 4, 2026
bde1d59
Bump actions/upload-artifact from 4 to 6
dependabot[bot] Feb 4, 2026
742f27d
Bump actions/attest-build-provenance from 2 to 3
dependabot[bot] Feb 4, 2026
a68211b
Bump actions/cache from 4 to 5
dependabot[bot] Feb 4, 2026
0f25392
Bump actions/github-script from 7 to 8
dependabot[bot] Feb 4, 2026
c0c2d6b
Merge branch 'main' into claude/issue-1053-20260204-1234
olaservo Feb 5, 2026
f977257
Bump the npm_and_yarn group across 1 directory with 3 updates (#1065)
dependabot[bot] Feb 5, 2026
ecc7e59
Merge branch 'main' into dependabot/github_actions/actions/github-scr…
cliffhall Feb 5, 2026
ee29c34
Fixed test failures induced by MCP SDK update (added session id gener…
BobDickinson Feb 6, 2026
98f0587
Merge pull request #1067 from BobDickinson/cli-test-update
cliffhall Feb 6, 2026
2af3410
Add MCP Apps support to Inspector (#1044)
cliffhall Feb 6, 2026
a276a73
Bump version to 0.20.0
github-actions[bot] Feb 6, 2026
ce092a3
Merge pull request #1070 from modelcontextprotocol/claude/issue-1069-…
cliffhall Feb 6, 2026
96b1b58
Manage display of "Run as Task" checkbox on Tools Tab
cliffhall Feb 6, 2026
43426f3
feat(client): use consistent slate styling for annotation badges
olaservo Feb 7, 2026
c3e1c30
Merge pull request #1057 from modelcontextprotocol/dependabot/github_…
koic Feb 7, 2026
f3afc31
Merge pull request #1058 from modelcontextprotocol/dependabot/github_…
koic Feb 7, 2026
084e107
Merge pull request #1059 from modelcontextprotocol/dependabot/github_…
koic Feb 7, 2026
5a4378b
Merge pull request #1060 from modelcontextprotocol/dependabot/github_…
koic Feb 7, 2026
5adaff4
Merge pull request #1061 from modelcontextprotocol/dependabot/github_…
koic Feb 7, 2026
f28c64f
Merge branch 'main' into claude/issue-1053-20260204-1234
cliffhall Feb 7, 2026
0c0e15d
Merge pull request #1054 from modelcontextprotocol/claude/issue-1053-…
cliffhall Feb 7, 2026
a4aa220
Merge branch 'main' into fix/enum-anyof-ref-resolution
cliffhall Feb 7, 2026
d1824ca
Merge branch 'main' into feature/tool-annotations-display
olaservo Feb 7, 2026
0079144
fix: add missing tool result to AppsRenderer
infoxicator Feb 8, 2026
39c2c9f
Remove environment constraint from release workflow jobs
dsp-ant Feb 9, 2026
1f424f2
Revert "Remove environment constraint from release workflow jobs"
dsp-ant Feb 9, 2026
b5eb969
Merge branch 'main' into fix/apps-tool-result
cliffhall Feb 9, 2026
1f9d922
Bump actions/checkout from 4 to 6
dependabot[bot] Feb 9, 2026
17d08ff
Merge pull request #1079 from modelcontextprotocol/dependabot/github_…
koic Feb 11, 2026
8cf0ac1
Merge pull request #901 from Edison-A-N/fix/enum-anyof-ref-resolution
cliffhall Feb 11, 2026
7928a33
Merge branch 'main' into feature/tool-annotations-display
olaservo Feb 13, 2026
6d18cf3
Merge branch 'main' into hide-run-as-task-if-not-supported
cliffhall Feb 14, 2026
8e4ab63
Merge branch 'main' into claude/issue-1036-20260204-1236
cliffhall Feb 14, 2026
9ac19d2
Merge pull request #1055 from modelcontextprotocol/claude/issue-1036-…
cliffhall Feb 14, 2026
5e63f73
Merge pull request #1066 from olaservo/feature/tool-annotations-display
cliffhall Feb 14, 2026
41e0e83
Bump qs in the npm_and_yarn group across 1 directory
dependabot[bot] Feb 14, 2026
6573bf9
Merge pull request #1088 from modelcontextprotocol/dependabot/npm_and…
koic Feb 14, 2026
a31ae3e
feat call tool result from tools tab
infoxicator Feb 16, 2026
9adc378
Merge branch 'fix/apps-tool-result' of https://github.com/infoxicator…
infoxicator Feb 16, 2026
2a84ce3
chore: remove accidentally committed mcp-ui patch
infoxicator Feb 16, 2026
49bcbbe
Merge branch 'main' into fix/apps-tool-result
cliffhall Feb 16, 2026
87bb242
fix linting error
infoxicator Feb 16, 2026
f470fcb
Merge branch 'fix/apps-tool-result' of https://github.com/infoxicator…
infoxicator Feb 16, 2026
f1b4265
Merge pull request #1075 from infoxicator/fix/apps-tool-result
cliffhall Feb 16, 2026
f2ed4ef
Update SECURITY.md to use GitHub Security Advisories (#1097)
localden Feb 19, 2026
841c42e
Remove misleading structured content compatibility warning
olaservo Feb 19, 2026
695972a
oauth: add tenant suffix to oauth flow (#1096)
howardjohn Feb 19, 2026
6ce441a
chore(deps): bump the npm_and_yarn group across 1 directory with 2 up…
dependabot[bot] Feb 23, 2026
4bcffe4
Merge branch 'main' into hide-run-as-task-if-not-supported
cliffhall Feb 23, 2026
f64a7ea
Fix review issues from Claude's code review
cliffhall Feb 23, 2026
92b6c89
Formatting
cliffhall Feb 23, 2026
c4c6e6b
Merge pull request #1072 from cliffhall/hide-run-as-task-if-not-suppo…
BobDickinson Feb 24, 2026
238eadf
Initial plan
Copilot Feb 24, 2026
58478bc
chore: bump version to 0.21.0
Copilot Feb 24, 2026
1e23d37
Merge pull request #1112 from modelcontextprotocol/copilot/bump-versi…
cliffhall Feb 24, 2026
bb791cd
fix: include server/static in published package files (#1113)
jwoods02 Feb 25, 2026
e853652
Merge branch 'main' into main
olaservo Feb 25, 2026
8c7017a
Merge pull request #1098 from olaservo/main
cliffhall Feb 25, 2026
db0827b
chore: bump version to 0.21.1 (#1116)
Copilot Feb 27, 2026
bbf0284
chore(deps): bump hono in the npm_and_yarn group across 1 directory
dependabot[bot] Feb 27, 2026
5abcdb4
chore(deps): bump actions/upload-artifact from 6 to 7
dependabot[bot] Mar 2, 2026
6b90a83
chore(deps): bump actions/attest-build-provenance from 3 to 4
dependabot[bot] Mar 2, 2026
fdbf896
Fix decimal input handling in DynamicJsonForm number fields
MumuTW Mar 6, 2026
7c8b031
Merge pull request #1127 from MumuTW/fix-tools-tab-decimal-input-1080
cliffhall Mar 8, 2026
b083d4e
feat: add OAuth proxy support to eliminate CORS issues
asoorm Feb 23, 2026
9cce38f
chore(deps): bump docker/setup-buildx-action from 3 to 4
dependabot[bot] Mar 9, 2026
de17d7a
chore(deps): bump docker/login-action from 3 to 4
dependabot[bot] Mar 9, 2026
1380fc0
chore(deps): bump docker/metadata-action from 5 to 6
dependabot[bot] Mar 9, 2026
26c9f60
Merge branch 'main' into web-client-oauth-proxy-fetch
cliffhall Mar 18, 2026
abe1cf9
fix: ensure DCR always registers both redirect URIs
asoorm Apr 2, 2026
94d98ec
Merge pull request #1173 from asoorm/fix/930-redirect-uri-mismatch
cliffhall Apr 2, 2026
c5fda85
fix: add horizontal scrolling for long values in json view
Dinesht04 Apr 4, 2026
dd53302
Merge pull request #1177 from Dinesht04/fix/fix-value-overflow
cliffhall Apr 4, 2026
f2a34b6
Fixed broken tests. One was broken by a merge from main, one was brok…
BobDickinson Apr 6, 2026
c344ffb
Modified proxy fetch to return all response payloads (not just 200), …
BobDickinson Apr 6, 2026
6e796ac
Fix for 401 errors not being sent back through the proxy (and relying…
BobDickinson Apr 7, 2026
c04cd99
Merge branch 'main' into web-client-oauth-proxy-fetch
BobDickinson Apr 7, 2026
446a9bc
Addressed all Claude review issues.
BobDickinson Apr 7, 2026
d898b3e
Merge branch 'main' into fix/oauth-cors-proxy-support
asoorm Apr 7, 2026
2e524ff
fix: add root-level fallback for well-known URL discovery via proxy
asoorm Apr 7, 2026
48f51cd
test: update oauth-proxy tests for fallback behavior
asoorm Apr 7, 2026
efbae5f
Merge pull request #996 from asoorm/fix/oauth-cors-proxy-support
cliffhall Apr 9, 2026
2539711
Revert "Fix: OAuth CORS errors when Connection Type is 'Via Proxy'"
cliffhall Apr 9, 2026
443288f
Merge pull request #1182 from modelcontextprotocol/revert-996-fix/oau…
cliffhall Apr 9, 2026
5cdbeaa
Merge pull request #1047 from BobDickinson/web-client-oauth-proxy-fetch
cliffhall Apr 11, 2026
6e2e733
Merge pull request #1117 from modelcontextprotocol/dependabot/npm_and…
cliffhall Apr 11, 2026
5f1eb0a
Merge pull request #1125 from modelcontextprotocol/dependabot/github_…
cliffhall Apr 11, 2026
afd785b
Merge pull request #1126 from modelcontextprotocol/dependabot/github_…
cliffhall Apr 11, 2026
b99c8b8
Merge pull request #1136 from modelcontextprotocol/dependabot/github_…
cliffhall Apr 11, 2026
c180bab
Merge pull request #1137 from modelcontextprotocol/dependabot/github_…
cliffhall Apr 11, 2026
a809c2a
Merge pull request #1138 from modelcontextprotocol/dependabot/github_…
cliffhall Apr 11, 2026
0d7757e
fix: validate serverInfo.websiteUrl before rendering as link (#1186)
cliffhall Apr 12, 2026
8f60747
chore: bump version to 0.21.2
olaservo Apr 12, 2026
4df1191
fix(server): sanitize error responses to prevent stack trace exposure…
cliffhall Apr 12, 2026
509f4ab
Merge branch 'main' into chore/bump-version-0.21.2
olaservo Apr 12, 2026
996f02c
Merge pull request #1194 from olaservo/chore/bump-version-0.21.2
cliffhall Apr 13, 2026
68d45fc
ci: switch npm publish to OIDC trusted publishing
pcarleton Apr 14, 2026
948c4fa
Merge pull request #1199 from modelcontextprotocol/paulc/npm-trusted-…
cliffhall Apr 14, 2026
4f71458
Update package.json to contain repository.url in for npm trusted publ…
cliffhall Apr 14, 2026
adfcccc
Add repository field to workspace package.json files for npm trusted …
cliffhall Apr 14, 2026
c044b5d
ci: gate claude.yml on author_association to skip unauthorized invokes
cliffhall May 1, 2026
1bbf53c
ci: collapse author_association OR chains into contains(fromJSON(...))
cliffhall May 1, 2026
f18775a
Merge pull request #1270 from modelcontextprotocol/tighten-claude-wor…
BobDickinson May 1, 2026
10f4297
chore(deps): npm audit fix for transitive security advisories (#1380)
olaservo May 31, 2026
5c782ad
feat: add URL-mode elicitation support (#1423)
cliffhall Jun 4, 2026
0ba1b8d
chore: bump version to 0.22.0 (#1428)
Copilot Jun 4, 2026
a523a0f
fix: call tasks/result when task status is input_required (#1174)
galagaevdc Jun 7, 2026
638f2bf
Fix resource refresh button not triggering re-fetch (#1148)
olaservo Jun 12, 2026
fd2def6
chore: pin prettier to 3.9.5 and run format check after install (#1716)
cliffhall Jul 17, 2026
ab447dd
chore(deps): bump vitest to ^4.1.0 (CVE fix) (#1707)
cliffhall Jul 17, 2026
b2025cd
chore(deps): bump vite to ^7.3.5 (CVE fixes) (#1709)
cliffhall Jul 17, 2026
3119422
chore(deps): bump shell-quote to ^1.8.4 (CVE fix) (#1711)
cliffhall Jul 18, 2026
47dc2df
chore(deps): override hono to ^4.12.25 (CVE fixes) (#1708)
cliffhall Jul 18, 2026
3ad1b8a
chore(deps): override form-data to ^4.0.6 (CVE fix) (#1710)
cliffhall Jul 18, 2026
ebd0550
chore(deps): override @babel/core to ^7.29.6 (CVE fix) (#1712)
cliffhall Jul 18, 2026
c146313
chore(deps): finalize security overrides and regenerate lockfile (#1718)
cliffhall Jul 18, 2026
d40c1c9
fix(server): guard the /fetch proxy against SSRF to link-local/metada…
cliffhall Jul 18, 2026
ac3c1a1
Bump to version 1.0.0 (#1720)
cliffhall Jul 18, 2026
ec5d8e1
chore: replace main's tree with v2
cliffhall Jul 28, 2026
25106dc
Merge pull request #1830 from modelcontextprotocol/chore/v2-golive
cliffhall Jul 28, 2026
809b9fd
ci: set a least-privilege default GITHUB_TOKEN scope (#1831)
cliffhall Jul 28, 2026
8445675
chore(deps): upgrade @hono/node-server to 2.0.12 (#1832)
cliffhall Jul 28, 2026
1450029
ci: derive the npm dist-tag from the version instead of defaulting to…
cliffhall Jul 28, 2026
75e3116
chore: 2.0.0-rc.1 (#1835)
cliffhall Jul 28, 2026
954f9e8
fix(ci): publish via OIDC trusted publishing, not a non-existent NPM_…
cliffhall Jul 28, 2026
d5e35b5
chore: clear all runtime dependency vulnerabilities; 2.0.0-rc.2 (#1837)
cliffhall Jul 28, 2026
73fe059
fix(deps): raise vite to 8.1.5 to close three dev-server file-read ad…
cliffhall Jul 28, 2026
7aebf16
chore: 2.0.0 (#1842)
cliffhall Jul 28, 2026
fb1b0cb
docs: restore SECURITY.md, lost in the v2 tree swap (#1843)
cliffhall Jul 28, 2026
ca05d75
chore: back-merge main into v2/main (release commits + README restruc…
cliffhall Jul 31, 2026
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
41 changes: 38 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ on:
release:
types: [published]

# Default least-privilege scope for GITHUB_TOKEN. Without this, jobs inherit the
# repository's default token permissions, which are broader than any job here
# needs (CodeQL `actions/missing-workflow-permissions`). The `publish` and
# `publish-github-container-registry` jobs declare their own blocks below, which
# override this one entirely rather than adding to it — so each publish job must
# continue to list every scope it needs, including `contents: read`.
permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -145,6 +154,11 @@ jobs:
exit 1
fi

# OIDC trusted publishing requires npm >= 11.5.1; Node 22's bundled npm is
# 10.x, which fails with ENEEDAUTH before OIDC is ever attempted.
- name: Ensure npm CLI supports OIDC trusted publishing
run: npm install -g npm@^11.5.1

- name: Install dependencies (root + all clients)
run: npm install

Expand All @@ -160,9 +174,30 @@ jobs:
# prepack); the redundancy is intentional — each is a clean-tree rebuild
# and the `prepack` one is what actually populates the published tarball,
# so don't "optimize" it away.
run: npm publish --access public --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
#
# The dist-tag is derived from the version, and passing it explicitly is
# NOT optional: `npm publish` defaults to `--tag latest` regardless of
# semver prerelease status, so publishing `2.0.0-rc.1` without this would
# point every `npx @modelcontextprotocol/inspector` at a release
# candidate. A prerelease is a hyphen after the patch component
# (`2.0.0-rc.1`); build metadata uses `+` and is not a prerelease. Done
# in shell rather than with `semver` because that package is only a
# transitive dependency here and must not be relied on in CI.
#
# There is deliberately NO `NODE_AUTH_TOKEN` here. Publishing uses npm
# OIDC trusted publishing (`id-token: write` + `environment: release`),
# which needs no token — and the repo has no `NPM_TOKEN` secret. Setting
# it from a non-existent secret writes an EMPTY `_authToken` into the
# `.npmrc` that `setup-node` generates, and npm then fails `ENEEDAUTH`
# before OIDC is ever attempted. Do not "restore" it.
run: |
VERSION="$(node -p "require('./package.json').version")"
case "$VERSION" in
*-*) NPM_TAG=next ;;
*) NPM_TAG=latest ;;
esac
echo "Publishing $VERSION under dist-tag '$NPM_TAG'"
npm publish --access public --provenance --tag "$NPM_TAG"

# Build and push the multi-arch container image to GHCR on a published
# release. The image installs the packed tarball (`Dockerfile`) so it ships
Expand Down
147 changes: 127 additions & 20 deletions README.md

Large diffs are not rendered by default.

53 changes: 53 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Security Policy

Thank you for helping keep the Model Context Protocol and its ecosystem secure.

## Supported Versions

| Version | Package | Support |
| ------- | ---------------------------------------- | ------------------------------------------------------- |
| **2.x** | `@modelcontextprotocol/inspector` | ✅ Actively supported |
| 1.x | `@modelcontextprotocol/inspector` | ⚠️ **Security fixes only**, published under `v1-latest` |
| 1.x | `@modelcontextprotocol/inspector-client` | ⚠️ Security fixes only |
| 1.x | `@modelcontextprotocol/inspector-server` | ⚠️ Security fixes only |
| 1.x | `@modelcontextprotocol/inspector-cli` | ⚠️ Security fixes only |
| < 1.0.0 | any | ❌ Unsupported |

v2 ships as a **single** package — `@modelcontextprotocol/inspector`. The three
`inspector-client` / `inspector-server` / `inspector-cli` sub-packages exist only
on the v1 line and are deprecated.

v1 development happens on the `v1/main` branch and is limited to security fixes.
Those releases are published under the **`v1-latest`** dist-tag so they never
displace the current v2 release:

```bash
npm i @modelcontextprotocol/inspector@v1-latest
```

Everything else — features, bug fixes, improvements — lands in v2 only.

## Reporting Security Issues

If you discover a security vulnerability in this repository, please report it through
the [GitHub Security Advisory process](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability)
for this repository. Private vulnerability reporting is enabled, so this is the
fastest route to a maintainer.

Please **do not** report security vulnerabilities through public GitHub issues, discussions,
or pull requests.

Note that this repository does not accept pull requests from outside contributors
(see [CONTRIBUTORS.md](./CONTRIBUTORS.md)) — **this does not apply to security
reports**, which should always go through the advisory process above rather than
any public channel.

## What to Include

To help us triage and respond quickly, please include:

- A description of the vulnerability
- Steps to reproduce the issue
- The potential impact
- Whether it affects v2, v1, or both
- Any suggested fixes (optional)
72 changes: 43 additions & 29 deletions clients/cli/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading