Commit graph

1,264 commits

Author SHA1 Message Date
Ryan Clark
14a9b8fb36
feat: formatting 2025-06-25 00:46:11 -05: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
Ryan Clark
0bef6f71ad
feat: add tests for http transport 2025-06-24 09:23:51 -05: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
Felix Weinberger
9c5c7575c0
fix: Bind client to localhost by default to prevent DNS rebinding attacks
Complete the security hardening started in e8e9909 by also binding the client to localhost only.
Previously only the server was protected while the client remained exposed to the network,
allowing attackers to access the server through the client as a proxy.

Changes:
- Add HOST environment variable support to client (prod mode)
- Configure Vite dev server to bind to localhost by default
- Update browser auto-open URLs to use actual host instead of hardcoded 127.0.0.1
- Fix missing cancelled parameter in startProdClient function

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-24 10:43:13 +01:00
Sebastian Ko
66abc3bfac
Merge branch 'main' into sebastian/patch-remove-addition-slash 2025-06-24 05:25:18 -04:00
Richard Michael
e0fe311528 Update @radix-ui/react-select 2025-06-23 18:25:23 -07:00
Richard Michael
5d00e870b6 Update @radix-ui/react-popover 2025-06-23 18:20:36 -07:00
Richard Michael
8153f0d5e4 Update @radix-ui/react-dialog 2025-06-23 18:08:59 -07:00
Richard Michael
0987127255 Update @radix-ui/react-toast 2025-06-23 17:38:28 -07:00
Richard Michael
54209f4809 Update @radix-ui/react-tooltip 2025-06-23 17:20:05 -07:00
Richard Michael
21d3b7d0f3 Update @radix-ui/react-tabs 2025-06-23 17:10:22 -07:00
Richard Michael
6d8e2ddd2f Update @radix-ui/react-label 2025-06-23 17:06:32 -07:00
Richard Michael
336804d97c Update @radix-ui/react-checkbox 2025-06-23 17:00:05 -07:00
Manabu McCloskey
c0e9899cd4 fix connection refused error message
Signed-off-by: Manabu McCloskey <manabu.mccloskey@gmail.com>
2025-06-23 22:58:54 +00:00
Cliff Hall
873b838bd8
Merge pull request #460 from msabramo/playwright-test
Add a Playwright e2e test
2025-06-23 12:22:18 -04:00
Cliff Hall
86eaabe598
Merge branch 'main' into playwright-test 2025-06-23 11:39:59 -04:00
Paul Carleton
5db64265ce
[auth] Add resource compatibility to debugger (RFC 8707) (#526)
* pass resource in auth debugger, reusing server url

* throw error on resource url mismatch to match regular auth flow

* lint & tests

* add test

* make authserver url make more sense

* use latest typescript sdk

* more lenient resource checking

* pick resource, and store in state

* fixing tests and types

* [auth] use sdk function for selecting resource (#537)

* use sdk function

* bump typescript sdk

* fix some tests
2025-06-23 16:39:07 +01:00
Mark Anthony Cianfrani
f5dba84051 fix: allow typing negative numbers in tool parameter inputs
Number inputs were immediately converting values to Number() on every
keystroke, which prevented users from typing negative numbers since
the intermediate "-" character cannot be converted to a valid number.

Now the input stores the raw string value and only converts to Number
when the value is non-empty, allowing proper negative number entry.
2025-06-21 12:18:04 -04:00
Ola Hungerford
2ef41ab58a
Merge pull request #545 from richardkmichael/help-claude
docs: Update project organization in CLAUDE.md
2025-06-21 08:38:29 -07:00
Marc Abramowitz
ebc249b3d5 Always gen test summary but only comment on same repo PRs 2025-06-20 19:43:19 -07:00
Marc Abramowitz
2cd7b7490c Revert 2025-06-20 19:29:47 -07:00
Marc Abramowitz
94a35d07f3 Only try to comment on PR if the PR is from the canonical repo and not from a fork 2025-06-20 19:24:32 -07:00
Marc Abramowitz
c747fe85d8 Only try to comment on PR if the PR is from the canonical repo and not from a fork 2025-06-20 19:17:12 -07:00
Richard Michael
4375433a85 docs: Update project organization in CLAUDE.md
- Add cli/ directory description
- Remove non-existent bin/ directory reference

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-20 15:27:39 -07:00
Marc Abramowitz
465ee9aaf4 Revert "Update .github/workflows/e2e_tests.yml"
This reverts commit d5b4a6e6a7.
2025-06-20 13:55:12 -07:00
Ola Hungerford
ac99874816
Merge pull request #542 from cliffhall/fix-package.json
Update package-lock.json after SDK version bump
2025-06-20 13:53:20 -07:00
cliffhall
bda9b13971 Wasn't fully updated with dependency versions in #532
Update package-lock.json
2025-06-20 16:46:25 -04:00
Cliff Hall
88f26d1f2a
Merge pull request #532 from QuantGeekDev/chore/bump-mcp-sdk
chore: bump @modelcontextprotocol/sdk to version 1.13.0
2025-06-20 16:42:27 -04:00
Marc Abramowitz
3e28357e9c Revert "Replace pull_request with pull_request_target"
This reverts commit 1ff39f13f5.
2025-06-20 13:36:00 -07:00
Marc Abramowitz
9ffe63ee08 Revert "Both pull_request and pull_request_target"
This reverts commit 4b14b96f41.
2025-06-20 13:35:45 -07:00
Marc Abramowitz
4b14b96f41 Both pull_request and pull_request_target 2025-06-20 12:13:29 -07:00
Marc Abramowitz
1ff39f13f5 Replace pull_request with pull_request_target 2025-06-20 11:44:45 -07:00
Marc Abramowitz
eb89e0191f Change retention-days from 30 to 2 2025-06-20 11:39:40 -07:00
Marc Abramowitz
d5b4a6e6a7
Update .github/workflows/e2e_tests.yml
Co-authored-by: Cliff Hall <cliff@futurescale.com>
2025-06-20 11:12:03 -07:00
Alex Andru
0e6915a061 chore: bump workspace deps 2025-06-20 18:54:13 +02:00
Marc Abramowitz
b481ed0077
Set MCP_AUTO_OPEN_ENABLED=false for test:e2e script
Since merging the latest changes from `main` that put auto-open back in when running the start or dev scripts, the `test:e2e` run results in the Inspector being opened in the browser. This change suppresses that (tested locally). Thanks, @cliffhall!

Co-authored-by: Cliff Hall <cliff@futurescale.com>
2025-06-19 09:39:52 -07:00
Alex Andru
dfbf10c575 test: elicitation handling 2025-06-19 17:39:24 +02:00
Alex Andru
124c781253 feat: add elicitation handling to App 2025-06-19 17:39:24 +02:00
Alex Andru
6c809bdab6 test: new elicitation format for jsonUtils 2025-06-19 17:39:24 +02:00
Alex Andru
fc939ebeb0 feat: add elicitation support to jsonUtils 2025-06-19 17:39:24 +02:00
Alex Andru
a058229fb6 feat: add ElicitationModal 2025-06-19 17:39:24 +02:00
Alex Andru
e6166a734e feat: add new schema requirements to DynamicJsonForm 2025-06-19 17:39:19 +02:00
Marc Abramowitz
1807542582 Cleanup client/e2e/test-results/ after test:e2e 2025-06-19 07:23:29 -07:00
Marc Abramowitz
8b3613e11a prettier fix 2025-06-19 07:02:06 -07:00
Alex Andru
e163aea0e0 feat: add elicitations to useConnection 2025-06-19 15:03:39 +02:00
Alex Andru
424b44966b chore: bump @modelcontextprotocol/sdk to version 1.13.0 2025-06-19 14:23:37 +02:00