Commit graph

1,182 commits

Author SHA1 Message Date
Francisco Veiras
b08aa68236 test: DynamicJsonForm tests with Copy JSON functionality 2025-07-03 20:04:53 -03:00
Francisco Veiras
d6864b8c71 feat: add copy JSON value 2025-06-27 17:30:30 -03:00
Felix Weinberger
eb5be0d853
Merge pull request #529 from modelcontextprotocol/fweinberger/client-localhost
fix: bind client to localhost to match server
2025-06-26 10:05:52 +01:00
Cliff Hall
b28a10eae5
Merge branch 'main' into fweinberger/client-localhost 2025-06-25 17:57:55 -04:00
Cliff Hall
5e92e889b8
Merge pull request #560 from olaservo/bump-version-15-0-0 0.15.0
Bump version to 0.15.0 and bump sdk
2025-06-25 13:36:52 -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
d29d7074f9
Merge pull request #557 from richardkmichael/update-radix-and-icons
chore: Update radix-ui components and icons
2025-06-25 06:12:45 -07:00
Ola Hungerford
f2aaa8d668
Merge pull request #479 from ryanjclark/feat/cli-http
Feat/cli http
2025-06-25 05:02:32 -07:00
Richard Michael
36e053ae66 Adjust e2e test configuration
- Playwright installation can take more than 5m, increase to 15m

- Only attempt to upload the report if Playwright executed, otherwise
  there are no report files, and the upload step will error
2025-06-25 02:05:46 -07:00
Ryan Clark
14a9b8fb36
feat: formatting 2025-06-25 00:46:11 -05: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
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
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
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
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
424b44966b chore: bump @modelcontextprotocol/sdk to version 1.13.0 2025-06-19 14:23:37 +02:00
Marc Abramowitz
08e4f6b4a8 outputDir: "./e2e/test-results" 2025-06-19 00:06:36 -07:00
Marc Abramowitz
2ca63cb161 Merge branch 'main' into playwright-test 2025-06-19 00:02:11 -07:00