Commit graph

2,024 commits

Author SHA1 Message Date
Cliff Hall
2539711bc0
Revert "Fix: OAuth CORS errors when Connection Type is 'Via Proxy'" 2026-04-09 10:54:52 -04:00
Cliff Hall
efbae5f927
Merge pull request #996 from asoorm/fix/oauth-cors-proxy-support
Fix: OAuth CORS errors when Connection Type is 'Via Proxy'
2026-04-09 10:53:33 -04:00
Ahmet Soormally
48f51cd758 test: update oauth-proxy tests for fallback behavior
Fix error message expectations to match unwrapped proxyFetch errors.
Add tests for root-level well-known URL fallback with non-root paths.
2026-04-07 22:41:39 +01:00
Ahmet Soormally
2e524ff361 fix: add root-level fallback for well-known URL discovery via proxy
When the MCP server is at a non-root path (e.g. /mcp), path-aware
discovery (/.well-known/oauth-protected-resource/mcp) may 404 if the
server only serves metadata at the root. The SDK's direct-mode
discovery already falls back to root-level URLs in this case. This
adds the same fallback to the proxy discovery functions.
2026-04-07 22:31:25 +01:00
Ahmet Soormally
d898b3e82f
Merge branch 'main' into fix/oauth-cors-proxy-support 2026-04-07 23:13:05 +02:00
Cliff Hall
dd53302e12
Merge pull request #1177 from Dinesht04/fix/fix-value-overflow 2026-04-04 10:17:28 -04:00
Dinesht04
c5fda85c20 fix: add horizontal scrolling for long values in json view 2026-04-04 15:41:24 +05:30
Cliff Hall
94d98ec56e
Merge pull request #1173 from asoorm/fix/930-redirect-uri-mismatch
fix: ensure DCR always registers both redirect URIs
2026-04-02 12:35:16 -04:00
Ahmet Soormally
abe1cf9b4f fix: ensure DCR always registers both redirect URIs
The `redirect_uris` getter used `this.redirectUrl`, which is overridden
by `DebugInspectorOAuthClientProvider` to return `/oauth/callback/debug`.
This caused the `Set` deduplication to collapse both URIs into one,
so DCR only registered `/oauth/callback/debug`. The normal connection
flow then sent `/oauth/callback` in the authorize request, which was
never registered — causing spec-compliant OAuth servers to reject it.

Use the base callback URLs directly instead of the polymorphic getter
so both URIs are always registered regardless of which subclass
initiates DCR.

Fixes #930
2026-04-02 15:42:20 +01:00
Ahmet Soormally
b083d4e1a0 feat: add OAuth proxy support to eliminate CORS issues
Add server-side proxy endpoints for OAuth discovery, client registration,
and token exchange to avoid CORS issues when using proxy connection mode.

Server proxy endpoints:
- GET /oauth/resource-metadata - proxies OAuth protected resource metadata
- GET /oauth/metadata - proxies OAuth authorization server metadata
- POST /oauth/register - proxies dynamic client registration
- POST /oauth/token - proxies token exchange

Client changes:
- Construct correct RFC 9728/8414 path-aware well-known URLs client-side
- Route all OAuth discovery through proxy when in proxy connection mode
- Eliminate direct browser fetches that fail with CORS in proxy mode
2026-03-09 13:43:30 +00:00
Cliff Hall
7c8b031ffa
Merge pull request #1127 from MumuTW/fix-tools-tab-decimal-input-1080
Fix decimal typing behavior for number inputs in tools form
2026-03-07 19:12:35 -05:00
MumuTW
fdbf896a04 Fix decimal input handling in DynamicJsonForm number fields 2026-03-06 05:45:13 +00:00
Copilot
db0827b246
chore: bump version to 0.21.1 (#1116)
Some checks failed
CLI Tests / test (push) Has been cancelled
0.21.1
* Initial plan

* chore: bump version to 0.21.1

Co-authored-by: olaservo <16480113+olaservo@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: olaservo <16480113+olaservo@users.noreply.github.com>
Co-authored-by: Ola Hungerford <olahungerford@gmail.com>
2026-02-27 11:00:05 -05:00
Cliff Hall
8c7017a75d
Merge pull request #1098 from olaservo/main
Remove misleading structured content compatibility warning
2026-02-25 13:11:52 -05:00
Ola Hungerford
e853652cea
Merge branch 'main' into main 2026-02-25 05:33:27 -07:00
James Woods
bb791cdede
fix: include server/static in published package files (#1113)
The sandbox_proxy.html file was not shipped in the npm package because
the files arrays in both package.json and server/package.json only
included the build directory. The server code resolves the file via
join(__dirname, '..', 'static', 'sandbox_proxy.html') which expects
static/ as a sibling of build/, but it was missing from the package.
2026-02-25 05:31:41 -07:00
Cliff Hall
1e23d37769
Merge pull request #1112 from modelcontextprotocol/copilot/bump-version-to-0-21-0 0.21.0
chore: bump version to 0.21.0
2026-02-24 11:57:14 -05:00
copilot-swe-agent[bot]
58478bc88b chore: bump version to 0.21.0
Co-authored-by: olaservo <16480113+olaservo@users.noreply.github.com>
2026-02-24 15:48:58 +00:00
copilot-swe-agent[bot]
238eadfb19 Initial plan 2026-02-24 15:46:41 +00:00
Bob Dickinson
c4c6e6b6b1
Merge pull request #1072 from cliffhall/hide-run-as-task-if-not-supported
Manage display of "Run as Task" checkbox on Tools Tab
2026-02-23 19:06:43 -08:00
cliffhall
92b6c89354 Formatting 2026-02-23 11:49:44 -05:00
cliffhall
f64a7ea6e3 Fix review issues from Claude's code review
- Default taskSupport fallback to "forbidden" per MCP spec (was "optional")
- Fix import path to use @/ alias consistently
- Fix misleading "type guard" comment on getTaskSupport
- Extract getTaskSupport to a variable to avoid duplicate calls in render
- Export ExtendedTool and import in tests instead of duplicating

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 11:15:53 -05:00
Cliff Hall
4bcffe456b
Merge branch 'main' into hide-run-as-task-if-not-supported 2026-02-23 10:32:22 -05:00
dependabot[bot]
6ce441ae70
chore(deps): bump the npm_and_yarn group across 1 directory with 2 updates (#1106)
Bumps the npm_and_yarn group with 2 updates in the / directory: [ajv](https://github.com/ajv-validator/ajv) and [hono](https://github.com/honojs/hono).


Updates `ajv` from 6.12.6 to 6.14.0
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.12.6...v6.14.0)

Updates `hono` from 4.11.7 to 4.12.1
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.11.7...v4.12.1)

---
updated-dependencies:
- dependency-name: ajv
  dependency-version: 6.14.0
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: hono
  dependency-version: 4.12.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-22 18:04:00 -07:00
John Howard
695972a404
oauth: add tenant suffix to oauth flow (#1096) 2026-02-19 06:00:33 -07:00
olaservo
841c42e468 Remove misleading structured content compatibility warning
The MCP spec allows `content` to be a human-readable summary rather
than a JSON-stringified copy of `structuredContent`. Remove the yellow
warning that was shown when no text block JSON-matched structuredContent,
keeping only the positive blue indicator when a match does exist.

Fixes #1089

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 21:06:44 -07:00
Den Delimarsky
f2ed4ef3b9
Update SECURITY.md to use GitHub Security Advisories (#1097) 2026-02-18 19:57:45 -07:00
Cliff Hall
f1b42654dd
Merge pull request #1075 from infoxicator/fix/apps-tool-result
fix: add missing tool result to AppsRenderer
2026-02-16 17:44:43 -05:00
Ruben Casas
f470fcb3a5 Merge branch 'fix/apps-tool-result' of https://github.com/infoxicator/inspector into fix/apps-tool-result 2026-02-16 22:20:32 +00:00
Ruben Casas
87bb2425a3 fix linting error 2026-02-16 22:20:06 +00:00
Cliff Hall
49bcbbe276
Merge branch 'main' into fix/apps-tool-result 2026-02-16 15:36:01 -05:00
Ruben Casas
2a84ce3254 chore: remove accidentally committed mcp-ui patch 2026-02-16 16:53:28 +00:00
Ruben Casas
9adc37893c Merge branch 'fix/apps-tool-result' of https://github.com/infoxicator/inspector into fix/apps-tool-result 2026-02-16 16:45:23 +00:00
Ruben Casas
a31ae3e767 feat call tool result from tools tab 2026-02-16 16:44:33 +00:00
Koichi ITO
6573bf9892
Merge pull request #1088 from modelcontextprotocol/dependabot/npm_and_yarn/npm_and_yarn-14dc0ebc5a
Bump qs from 6.14.1 to 6.14.2 in the npm_and_yarn group across 1 directory
2026-02-15 02:38:10 +09:00
dependabot[bot]
41e0e83fac Bump qs in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [qs](https://github.com/ljharb/qs).


Updates `qs` from 6.14.1 to 6.14.2
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.14.1...v6.14.2)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 6.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-15 02:35:13 +09:00
Cliff Hall
5e63f732e2
Merge pull request #1066 from olaservo/feature/tool-annotations-display
feat(client): display tool annotations in Tools tab
2026-02-14 11:37:49 -05:00
Cliff Hall
9ac19d25cc
Merge pull request #1055 from modelcontextprotocol/claude/issue-1036-20260204-1236
fix: include LICENSE file in published npm packages
2026-02-14 11:21:56 -05:00
Cliff Hall
8e4ab635fa
Merge branch 'main' into claude/issue-1036-20260204-1236 2026-02-14 11:20:06 -05:00
Cliff Hall
6d18cf3711
Merge branch 'main' into hide-run-as-task-if-not-supported 2026-02-14 10:53:28 -05:00
Ola Hungerford
7928a33994
Merge branch 'main' into feature/tool-annotations-display 2026-02-12 19:10:22 -07:00
Cliff Hall
8cf0ac1c68
Merge pull request #901 from Edison-A-N/fix/enum-anyof-ref-resolution
fix: enhance  resolution and enum handling in anyOf schemas
2026-02-11 18:01:12 -05:00
Koichi ITO
17d08ffe66
Merge pull request #1079 from modelcontextprotocol/dependabot/github_actions/actions/checkout-6
Bump actions/checkout from 4 to 6
2026-02-12 01:57:40 +09:00
dependabot[bot]
1f9d922475
Bump actions/checkout from 4 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-09 23:27:21 +00:00
Cliff Hall
b5eb9697b8
Merge branch 'main' into fix/apps-tool-result 2026-02-09 14:24:12 -05:00
David Soria Parra
1f424f2525
Revert "Remove environment constraint from release workflow jobs"
This reverts commit 39c2c9f8ce.
2026-02-09 18:30:00 +00:00
David Soria Parra
39c2c9f8ce
Remove environment constraint from release workflow jobs
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 18:27:16 +00:00
Ruben Casas
00791446a8 fix: add missing tool result to AppsRenderer 2026-02-08 00:16:35 +00:00
Ola Hungerford
d1824ca3f9
Merge branch 'main' into feature/tool-annotations-display 2026-02-07 16:44:55 -07:00
Cliff Hall
a4aa22093f
Merge branch 'main' into fix/enum-anyof-ref-resolution 2026-02-07 17:10:58 -05:00