Commit graph inspector/client
Author SHA1 Message Date
Konstantin Konstantinov
1c8bf36ea2
generate random state parameter in oauth state machine 2025-07-13 08:42:46 +03:00
Ola Hungerford
430d6d4712
Merge branch 'main' into completion-support-default 2025-07-11 20:23:17 -07:00
Cliff Hall
5c15e50caa
Merge branch 'main' into patch-1 2025-07-11 14:58:06 -04:00
bhosmer-ant
3acc6d891c
Merge pull request #602 from kentcdodds/cursor/fix-pull-request-interpretation-and-tests-7a8f
fix: interpretation of unstructured content and tests
2025-07-11 11:31:23 -04:00
Cliff Hall
a7539d05e3
Merge pull request #564 from nandsha/feat/add-resource-link-support
feat: Add resource_link content type support to ToolResults component
2025-07-10 17:54:23 -04:00
cliffhall
acd166263e Bump version to 0.16.1 2025-07-10 16:08:47 -04:00
Cursor Agent
1756b010d8 Improve content compatibility messages for structured content matching
Co-authored-by: me <me@kentcdodds.com>
2025-07-10 14:22:31 +00:00
Cursor Agent
78fd8949df Refactor content compatibility check and simplify test cases
Co-authored-by: me <me@kentcdodds.com>
2025-07-10 13:22:38 +00:00
Cursor Agent
cbb3ebcd1a Enhance content compatibility checks for tool results with multiple blocks
Co-authored-by: me <me@kentcdodds.com>
2025-07-10 12:45:47 +00:00
Nandha Reddy
914f6bb7c3
test: add resource link test coverage 2025-07-09 18:26:27 +10:00
Nandha Reddy
983c3a7c6a
Merge branch 'main' into feat/add-resource-link-support 2025-07-09 15:40:40 +10:00
Nandha Reddy
0dc7a50218
feat: Enhance ResourceLinkView with expandable resource content view
Add click-to-expand functionality for inline resource content display
2025-07-09 05:15:46 +10:00
olaservo
f8aac1758c chore: bump version to 0.16.0 2025-07-08 07:45:31 -07:00
Nandha Reddy
7c9cfa2113
Merge branch 'feat/add-resource-link-support' of https://github.com/nandsha/mcp-inspector into feat/add-resource-link-support 2025-07-08 22:34:23 +10:00
Nandha Reddy
c9ab61b09a
Merge branch 'main' into feat/add-resource-link-support 2025-07-08 22:32:58 +10:00
Kent C. Dodds
80fcf1afa9 format 2025-07-07 16:08:02 -06:00
Kent C. Dodds
416fc15349
Merge branch 'main' into patch-1 2025-07-07 15:21:44 -06:00
Kent C. Dodds
7d5f7968d1
Rename MCP_PROXY_TOKEN to MCP_PROXY_AUTH_TOKEN (#1)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2025-07-07 15:21:27 -06:00
Ola Hungerford
e106194b40
Merge branch 'main' into completion-support-default 2025-07-07 05:00:52 -07:00
Ola Hungerford
7ff70e15b0
Merge branch 'main' into fveiras/copy_json 2025-07-07 04:59:31 -07:00
Ola Hungerford
30cefc8ede
Merge branch 'main' into feat/add-resource-link-support 2025-07-06 20:21:40 -07:00
Ola Hungerford
4ab7794494
Merge pull request #512 from richardkmichael/notification-expansion-state
Fix Server Notifications expansion state
2025-07-06 20:17:59 -07:00
Ola Hungerford
aa73daaa60
Merge branch 'main' into notification-expansion-state 2025-07-06 19:59:18 -07:00
Francisco Veiras
9842a6278a fix: Copy JSON button form submission 2025-07-06 12:08:20 -03:00
Francisco Veiras
b08aa68236 test: DynamicJsonForm tests with Copy JSON functionality 2025-07-03 20:04:53 -03:00
Cliff Hall
1cf3474c93
Merge branch 'main' into feat/prompt-layout 2025-07-03 17:13:48 -04:00
Nandha Reddy
21740bbd16 feat: Add resource_link content type support to ToolResults component
Add ResourceLinkView component for displaying resource links
2025-07-03 09:03:09 +10:00
Cliff Hall
1089162f38
Merge branch 'main' into sebastian/patch-remove-addition-slash 2025-07-02 10:56:45 -04:00
Sebastian Ko
85575de690
Merge branch 'main' into sebastian/patch-remove-addition-slash 2025-07-02 03:17:50 -04:00
Richard Michael
0f2548e71d Remove unnecessary margin property 2025-07-01 09:31:19 -07:00
Richard Michael
daf5f0af38 Full-width #root 2025-07-01 09:30:36 -07:00
Ola Hungerford
0130cf8c47
Merge branch 'main' into notification-expansion-state 2025-06-28 19:35:33 -07:00
Mark Anthony Cianfrani
9eb5e7b8c2
Merge branch 'main' into main 2025-06-27 20:06:31 -04:00
Francisco Veiras
d6864b8c71 feat: add copy JSON value 2025-06-27 17:30:30 -03:00
Cliff Hall
6a8c831308
Merge pull request #480 from olaservo/fix-required
Fix fundamental schema issue with required fields defined incorrectly on JsonSchemaType
2025-06-27 14:09:10 -04:00
Felix Weinberger
1aea3374ff
refactor: use ES6 shorthand property syntax in start.js
Replace explicit property assignments with shorthand syntax when
property names match variable names (e.g., SERVER_PORT: SERVER_PORT
becomes just SERVER_PORT).
2025-06-27 17:40:22 +01:00
Felix Weinberger
042e7a2aa7
refactor: move browser auto-open logic to client process
Simplifies the startup flow by consolidating browser opening
in the client script rather than the start script for prod.

We were duplicating a lot of logging, making it easy for
logs to go out of sync - this is a proposal to consolidate:

- server only logs info about itself
- client only logs info about itself

To reduce the number of places we print connection information
to the user.
2025-06-27 15:01:34 +01:00
Felix Weinberger
ae1aeb3c3f
fix: improve logging consistency between dev and prod client startup
Refactored startProdClient to match startDevClient's logging pattern,
ensuring consistent user feedback whether auto-open is enabled or disabled.

Also ensures that we log full information on how to open the browser
regardless of whether MCP_AUTO_OPEN_ENABLED=false.
2025-06-27 15:00:21 +01:00
Nandha Reddy
c4587bafb8
feat: Add resource_link content type support to ToolResults component
Add ResourceLinkView component for displaying resource links
2025-06-26 21:49:40 +10:00
Felix Weinberger
9e9419bf21
fix: ensure MCP_PROXY_PORT is included when auth is disabled
Address PR feedback by restructuring getClientUrl to always include
MCP_PROXY_PORT parameter when using non-default port, regardless of
auth status. Also improved code clarity by using params.size check.
2025-06-26 10:52:49 +01:00
Felix Weinberger
9fcfd89326
fix: pass proxy port via URL params when non-default
- Update client to read MCP_PROXY_PORT from URL parameters
- Update server to include port in displayed URL when non-default
- Update start scripts to pass SERVER_PORT to client
- Use DEFAULT_MCP_PROXY_LISTEN_PORT constant instead of magic numbers

This fixes the issue where the client couldn't connect to the proxy
when SERVER_PORT was set to a non-default value.
2025-06-26 10:52:49 +01:00
Cliff Hall
b28a10eae5
Merge branch 'main' into fweinberger/client-localhost 2025-06-25 17:57:55 -04:00
olaservo
d49a5f65c1 Bump sdk 2025-06-25 07:22:34 -07:00
olaservo
2ca82b5be6 Bump version to 0.15.0 2025-06-25 07:19:44 -07:00
Ola Hungerford
4e68b93ca9
Merge branch 'main' into notification-expansion-state 2025-06-25 05:05:29 -07:00
Sebastian Ko
7dc7b09cd4
Change var to let 2025-06-25 00:45:03 -04:00
Ola Hungerford
95975c58e7
Merge branch 'main' into fix-required 2025-06-24 21:35:27 -07:00
Richard Michael
73bb000597 Update lucide-react
Checked for icon name changes by teaching Claude to search the lucide-react repo with:

`git log -i -E --grep '(rename|change)' 0.448.0^...0.523.0

  ..then searching for any of the found icons in the Inspector imports.
2025-06-24 12:43:03 -07:00
Felix Weinberger
d0673ba9e1
refactor: Use specific SERVER_PORT and CLIENT_PORT env vars
Per PR feedback from cliffhall:
- Changed PORT to SERVER_PORT in server/src/index.ts
- Changed PORT to CLIENT_PORT in client/bin/client.js
- Added parseInt() for CLIENT_PORT consistency
- Updated start.js to pass correct env var names

This improves clarity by using specific environment variables for
server and client ports instead of the generic PORT variable.
2025-06-24 10:43:13 +01:00
Felix Weinberger
fe2c5c767d
refactor: deduplicate URL generation and standardize on localhost
- Extract duplicated URL generation code into getClientUrl() helper function in start.js
- Replace all 127.0.0.1 references with localhost for consistency across codebase
- Update server to respect HOST environment variable for URL generation
- Remove 127.0.0.1 from default allowed origins in CORS configuration
- Update documentation to use localhost instead of 127.0.0.1

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-24 10:43:13 +01:00