Commit graph

1,464 commits

Author SHA1 Message Date
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
Richard Michael
a715d184ff
Merge branch 'main' into notification-expansion-state 2025-06-20 10:15:08 -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
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
Marc Abramowitz
db9ca3762a No playwright-report or results.json for non-CI 2025-06-19 00:00:32 -07:00
Cliff Hall
a7336cd00c
Merge pull request #513 from modelcontextprotocol/fweinberger/auto-open
Re-enable inspector auto-open & reloads post security fixes
2025-06-18 18:13:44 -04:00
Sebastian Ko
647d924e20
Merge branch 'main' into sebastian/patch-remove-addition-slash 2025-06-18 06:04:47 -04:00
Felix Weinberger
698d2458c0
docs: Update README to reflect auto-open now works with authentication
- Removed outdated statement about auto-open being disabled with authentication
- Clarified that browser automatically opens with token pre-filled in URL
- Updated MCP_AUTO_OPEN_ENABLED description to note it works with authentication

The README now accurately reflects the improved developer experience where
authentication no longer prevents the browser from auto-opening.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-18 10:23:03 +01:00
Felix Weinberger
9fec0aaf98
refactor: Extract server and client launch functions for better code organization
- Extracted 4 functions: startDevServer, startProdServer, startDevClient, startProdClient
- Eliminated deep nesting in main() function
- Each function has a single responsibility
- Main function now clearly shows the flow: parse args → start server → start client
- No functional changes, purely organizational refactoring

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-18 10:23:03 +01:00
Felix Weinberger
d06f3b5ebc
feat: Enable auto-open with authentication and unify start scripts
- Unified start.js to handle both dev and production modes with --dev flag
- Generate session token in parent process, pass via MCP_PROXY_TOKEN env var
- Enable browser auto-open even when authentication is enabled by including token in URL
- Auto-reloads now work seamlessly with persistent tokens across hot reloads
- Simplified npm scripts - dev and dev:windows now use the same unified script
- Better developer experience with consistent token handling

The token is generated once per session and remains stable through server/client
reloads, making development smoother while maintaining security.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-18 10:23:03 +01:00
Marc Abramowitz
b783b50f7f Make "npm run clean" remove Playwright files 2025-06-17 23:56:18 -07:00
Marc Abramowitz
0b31ce7454 .gitignore: Add playwright artifacts 2025-06-17 23:44:49 -07:00
Marc Abramowitz
0f1cc19926 prettier fix playwright.config.ts 2025-06-17 20:26:22 -07:00
Marc Abramowitz
4ef6bdb1b8 e2e_tests.yml: Remove start dev server
since now we are doing that in `playwright.config.ts`
2025-06-17 20:19:41 -07:00
Marc Abramowitz
8b1faf110c playwright.config.ts: Start dev server automatically 2025-06-17 20:18:32 -07:00
Ola Hungerford
21b85cdc40
Merge pull request #522 from cliffhall/main 0.14.3
Bump version to 0.14.3
2025-06-17 18:52:25 -07:00
Richard Michael
78eaa177a4 Rename History file to HistoryAndNotifications
Rename History.tsx to HistoryAndNotifications.tsx for consistency
with component name and update imports.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-17 17:16:05 -07:00
Richard Michael
7eaa948e98 Add tests for HistoryAndNotifications component
Tests cover basic rendering, numbering, expansion functionality, and
expansion state persistence when new items are added. Includes
regression test for notification expansion state tracking bug.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-17 17:16:05 -07:00