Commit graph

1,261 commits

Author SHA1 Message Date
Alex Andru
844bbe08d4
Merge branch 'main' into feature/elicitations 2025-07-04 19:55:52 +02:00
Alex Andru
6cddc51d91 Merge branch 'feature/elicitations' of https://github.com/QuantGeekDev/mcp-debug into feature/elicitations 2025-07-04 19:55:21 +02:00
Alex Andru
efd5f8a17c feat: enum support in dynamic json form 2025-07-04 19:45:55 +02:00
Alex Andru
3a121bc8fc fix: support JSON Schema spec compliant oneOf with const for labeled enums
- Make JsonSchemaType.type optional to support const-only schemas
- Add JsonSchemaConst type for schema objects using const values
- Update oneOf/anyOf to accept both full schemas and const schemas
- Add comprehensive tests for oneOf with const and title patterns

This fixes TypeScript compilation errors when using the JSON Schema
specification's recommended approach for labeled enums:
{ "type": "string", "oneOf": [{ "const": "red", "title": "Stop" }] }

Replaces deprecated enumNames pattern with spec-compliant implementation.
2025-07-04 19:39:03 +02:00
Cliff Hall
e76bb0a88b
Merge pull request #583 from richardkmichael/node-engine-lock
chore: Add engines to `package-lock.json`
2025-07-04 13:32:22 -04:00
Alex Andru
e6c8b946aa feat: use decline instead of reject 2025-07-04 12:09:51 +02:00
Alex Andru
f2166c985f refactor: remove dead code 2025-07-04 10:59:29 +02:00
Alex Andru
28c1890117 feat: replace modal logic with new tab request for elicitation 2025-07-04 10:55:00 +02:00
Alex Andru
2baf8bc84b test: elicitations tab 2025-07-04 10:54:25 +02:00
Alex Andru
9539c16845 feat: add elicitations tab 2025-07-04 10:54:11 +02:00
Alex Andru
0411383d81 test: Elicitation request 2025-07-04 10:53:08 +02:00
Alex Andru
b4a2a6b7f8 feat: add elicitation request 2025-07-04 10:52:56 +02:00
Alex Andru
ea97f37ee8
Update client/package.json
Co-authored-by: Cliff Hall <cliff@futurescale.com>
2025-07-04 09:59:37 +02:00
Alex Andru
8053e692cf
Update package-lock.json
Co-authored-by: Cliff Hall <cliff@futurescale.com>
2025-07-04 09:42:46 +02:00
Richard Michael
d1e2498ad0 Add engines to package-lock.json 2025-07-03 21:28:00 -07:00
Cliff Hall
f2cae3d825
Merge pull request #554 from nabuskey/con-refused
fix connection refused error message
2025-07-03 12:00:00 -04:00
Cliff Hall
f3f06efa7e
Merge branch 'main' into con-refused 2025-07-03 11:30:12 -04:00
Manabu McCloskey
5868c6bad6 print explicit 404 message
Signed-off-by: Manabu McCloskey <manabu.mccloskey@gmail.com>
2025-07-03 14:48:46 +00:00
Alex Andru
19ff315dd1 Merge branch 'origin/main' into feature/elicitations
Resolved conflicts by adopting the improved form input handling from main:
- Standardized JsonSchemaType.required to only accept string arrays (JSON Schema standard)
- Adopted enhanced object and array rendering with proper nested support
- Improved boolean field rendering (removed extra wrapper div)
- Enhanced array handling with add/remove functionality
- Simplified required field validation logic

This maintains elicitation functionality while benefiting from the form input fixes.
2025-07-03 16:14:21 +02:00
Cliff Hall
13014a0471
Merge pull request #500 from sebastian93921/sebastian/patch-remove-addition-slash
Fix: Remove addition slash for check proxy health
2025-07-02 15:54:37 -04:00
Cliff Hall
1089162f38
Merge branch 'main' into sebastian/patch-remove-addition-slash 2025-07-02 10:56:45 -04:00
Cliff Hall
ff1e5ec8f9
Merge pull request #581 from richardkmichael/fix-chrome-width
fix: full width in Chrome
2025-07-02 10:46:12 -04:00
Cliff Hall
415fb57589
Merge branch 'main' into fix-chrome-width 2025-07-02 10:13:40 -04:00
Sebastian Ko
85575de690
Merge branch 'main' into sebastian/patch-remove-addition-slash 2025-07-02 03:17:50 -04:00
Cliff Hall
7460ea2e49
Merge pull request #473 from baruchiro/baruchiro/node-version
chore: Add node-version to package.json and workflows
2025-07-01 15:34:21 -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
Baruch Odem
0027e870cc follow the README
https://github.com/modelcontextprotocol/inspector/pull/318
2025-07-01 08:25:39 +03:00
Baruch Odem
80082e1272 chore: update Node.js version requirement and adjust workflows to use package.json for node version 2025-06-29 07:46:25 +03:00
Baruch Odem (Rothkoff)
297a6b3a88
Merge branch 'main' into baruchiro/node-version 2025-06-29 07:35:01 +03:00
Ola Hungerford
fbe6c11975
Merge pull request #548 from markacianfrani/main
fix: allow typing negative numbers in tool parameter inputs
2025-06-27 21:06:49 -07:00
Mark Anthony Cianfrani
9eb5e7b8c2
Merge branch 'main' into main 2025-06-27 20:06:31 -04: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
Cliff Hall
c24d2a952f
Merge pull request #555 from modelcontextprotocol/fweinberger/fix-proxy-port-config
Fix proxy port configuration for non-default SERVER_PORT
2025-06-27 13:28:02 -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
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
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
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