Commit graph

1,610 commits

Author SHA1 Message Date
Stephen Halter
10b4681e3c Also fix authorizationUrl type 2025-08-14 10:47:15 -07:00
Cliff Hall
c5047ca30a
Merge pull request #715 from modelcontextprotocol/fweinberger/fix-sensitive-local-storage
fweinberger/fix sensitive local storage
2025-08-14 13:23:44 -04:00
Phil Freo
d7927ec8dc
Add documentation for CLI header support
- Document --header flag usage with examples
- Explain header format requirements
- Clarify transport support (HTTP, SSE, not STDIO)
- Add authentication examples with API keys and bearer tokens
2025-08-14 12:20:40 -04:00
Phil Freo
da5595fb3a
Add client/e2e/test-results/ to .gitignore 2025-08-14 12:10:22 -04:00
Phil Freo
755f31f109
Add Claude settings to prettierignore 2025-08-14 12:10:22 -04:00
Phil Freo
77d4963b8a
Add support for --header flags in MCP Inspector CLI
- Add --header option to both wrapper CLI (cli.ts) and main CLI (index.ts)
- Support multiple headers with "HeaderName: Value" format validation
- Pass headers to HTTP and SSE transports via requestInit.headers
- Add parseHeaderPair function for proper header parsing
- Fix output truncation issue by removing forced process.exit(0)
- Update types to include headers in Args and TransportOptions

Usage: --header "Authorization: Bearer token" --header "X-Custom: value"
2025-08-14 12:10:18 -04:00
Felix Weinberger
36b9acc97e
fix: filter out client_secret when storing OAuth client information 2025-08-14 17:04:38 +01:00
Stephen Halter
fc4aeb392f Restore AuthDebuggerState.resource as URL
Not doing so prevents the resource URI from getting sent to the
OAuth server's token endpoint during the "Quick OAuth flow"
2025-08-13 14:00:08 -07:00
Cliff Hall
16edf53794
Merge pull request #711 from olaservo/bump-version
Bump to 0.16.4
2025-08-13 15:28:18 -04:00
Raghunath Prabhakar
85c86de61e chore: add jsdoc comments to utils 2025-08-13 14:14:32 -05:00
olaservo
b6af0c7f67 bump @modelcontextprotocol/sdk version to ^1.17.2 in all package.json files 2025-08-13 11:06:13 -07:00
Ola Hungerford
2a5e50ee59
Merge branch 'main' into bump-version 2025-08-13 05:51:58 -07:00
Ola Hungerford
a30e0d1fda
Merge pull request #684 from 2underscores/dcr-fallback-fix
Fix: Pre-registered Client ID as fallback to DCR
2025-08-13 05:51:39 -07:00
Ola Hungerford
ddd06c207c
Merge branch 'main' into dcr-fallback-fix 2025-08-13 05:34:14 -07:00
Minh-Phuc Tran
b7b62af282
Merge branch 'main' into update-dependencies 2025-08-13 11:33:05 +07:00
olaservo
2cf222a2ef Merge branch 'bump-version' of https://github.com/olaservo/inspector into bump-version 2025-08-12 20:17:46 -07:00
olaservo
fb5ce6d414 Remove local settings configuration file 2025-08-12 20:17:43 -07:00
Ola Hungerford
8da07c83f6
Merge branch 'main' into bump-version 2025-08-12 20:17:03 -07:00
olaservo
ca913eb06f Bump to 0.16.4 2025-08-12 20:16:06 -07:00
Cliff Hall
2feac764ff
Merge pull request #687 from superboy-zjc/main
fix(auth): sanitize authorization URL
2025-08-12 16:29:07 -04:00
Cliff Hall
b4d1bc71f6
Merge branch 'main' into main 2025-08-12 16:25:42 -04:00
Ola Hungerford
e36f8808e3
Merge pull request #706 from cliffhall/add-toast-for-misconfigured-logging
Add toast for misconfigured logging
2025-08-12 13:07:11 -07:00
cliffhall
0d8e8fce4b This fixes #610
* In useConnection.ts
  - During initialization, if there is an error immediately following the client sending 'logging/setLevel', pops up a toast with the message `Server declares logging capability but doesn't implement method "logging/setLevel"`
2025-08-12 15:26:15 -04:00
cliffhall
15b58c8142 This fixes #610
* In useConnection.ts
  - During initialization, if there is an error immediately following the client sending 'logging/setLevel', pops up a toast with the message `Server declares logging capability but doesn't implement method "logging/setLevel"`
2025-08-12 15:25:09 -04:00
superboy-zjc
d21e51e6ab fix(auth): sanitize authorization URL 2025-08-12 11:26:44 -07:00
Cliff Hall
618370dd08
Merge pull request #702 from 2underscores/debugger-auth-svr-metadata
Bump auth SDK to use Improved AS Discovery
2025-08-12 11:20:41 -04:00
Ola Hungerford
e604321024
Merge branch 'main' into debugger-auth-svr-metadata 2025-08-12 06:44:32 -07:00
Cliff Hall
5e6095d1fa
Merge pull request #698 from KKonstantinov/feature/inspector-oauth-client-provider-state
OAuth state parameter for InspectorOAuthClientProvider via reusable generateOAuthState helper
2025-08-12 09:24:41 -04:00
phuctm97
f914f61463 Update dependencies in client package.json
Updated client dependencies to ensure compatibility with latest versions.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-12 14:17:41 +07:00
2underscores
9ef2a6c22d Use new auth svr discovery method from latest auth SDK 2025-08-12 14:13:31 +10:00
2underscores
e9f1da383e Tests for client discovery 2025-08-12 13:22:09 +10:00
2underscores
0b123acdac Static client attempt before DCR 2025-08-12 09:20:28 +10:00
Konstantin Konstantinov
60049a5b6c
reorder methods 2025-08-12 00:29:53 +03:00
Konstantin Konstantinov
929b930618
reusable generateOAuthState helper, introduce in InspectorOAuthClientProvider and in oauth-state-machine, add test 2025-08-11 21:24:26 +03:00
Ola Hungerford
30a7d5e484
Merge branch 'main' into parse-tool-arg 2025-08-11 08:01:53 -07:00
2underscores
37f634d651 rm console.log 2025-08-11 14:43:04 +10:00
Ola Hungerford
25f721afc4
Merge branch 'main' into dcr-fallback-fix 2025-08-10 21:08:10 -07:00
Ola Hungerford
113b612b99
Merge pull request #673 from matsjfunke/fix/fastmcp-union-types
fix: support FastMCP union types in tool parameter forms
2025-08-10 20:04:46 -07:00
Mats Julius Funke
73bf133646
Merge branch 'main' into fix/fastmcp-union-types 2025-08-10 12:01:56 +02:00
Cliff Hall
7a8da0723c
Merge pull request #692 from olaservo/bump-version 0.16.3
Bump version
2025-08-08 22:30:35 -04:00
Ola Hungerford
62926b61ff
Merge branch 'main' into bump-version 2025-08-08 18:35:10 -07:00
olaservo
b89b10beac Bump version 2025-08-08 15:46:58 -07:00
Felix Weinberger
7b3e2c19e7
Merge pull request #661 from modelcontextprotocol/fweinberger/better-config-support
feat: Auto-detect transport type from config files
2025-08-08 09:51:52 +01:00
Felix Weinberger
68319704f0
Update test to match new server selection behavior
Test 30 now expects an error when multiple servers exist, even with
"default-server" present, aligning with the simplified logic that only
auto-selects when there's exactly one server.
2025-08-07 21:02:29 +01:00
Felix Weinberger
1263ffdf58
Simplify server auto-selection logic
Only auto-select when there's exactly one server in the config file.
Removes special handling for "default-server" naming convention.

Addresses review feedback from @ochafik on PR #661
2025-08-07 20:45:23 +01:00
Felix Weinberger
14b01815ad
prettier 2025-08-07 12:01:17 +01:00
Felix Weinberger
cf7c138958
Fix --server-url flag not being parsed by CLI
Add --server-url option to CLI parser so the flag is properly recognized
and passed through to the server process via the /config endpoint.
2025-08-07 11:58:08 +01:00
Felix Weinberger
e1e702ff14
ignore: ignore mcp.json as a common dev file 2025-08-07 11:42:31 +01:00
Felix Weinberger
98b7e63bb0 Add --transport flag support to CLI
- Add --transport option to command line parser
- Support --transport stdio/sse/http flags
- Convert 'http' to 'streamable-http' internally
- Fix transport type conversion for CLI mode
2025-08-06 19:50:23 +01:00
Mats Julius Funke
197822432a
Merge branch 'main' into fix/fastmcp-union-types 2025-08-06 17:02:27 +02:00