Cliff Hall
8faadc0588
Merge pull request #235 from olaservo/add-tests
...
Add failing test to repro issue 154
2025-04-01 12:23:55 -04:00
Ola Hungerford
93c9c74dc9
Fix formatting
2025-04-01 06:59:50 -07:00
Ola Hungerford
c3117d0fea
Merge branch 'main' into add-tests
2025-04-01 06:57:01 -07:00
Ola Hungerford
992fdb33ed
Merge pull request #234 from katopz/fix-integer
...
fix: prop.type not accept integer
2025-04-01 06:56:37 -07:00
Ola Hungerford
2a9230d507
Merge branch 'main' into fix-integer
2025-04-01 06:51:58 -07:00
Ola Hungerford
b82c744583
Use actual rendered element spinbutton in test
2025-04-01 06:50:23 -07:00
katopz
2ee0a53e36
fix: prettier
2025-04-01 09:27:24 +09:00
Cliff Hall
fa7f9c80cd
Merge pull request #236 from modelcontextprotocol/dependabot/npm_and_yarn/npm_and_yarn-7a62469a90
...
Bump vite from 5.4.15 to 5.4.16 in the npm_and_yarn group across 1 directory
2025-03-31 17:19:26 -04:00
dependabot[bot]
7dc2c6fb58
Bump vite in the npm_and_yarn group across 1 directory
...
Bumps the npm_and_yarn group with 1 update in the / directory: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ).
Updates `vite` from 5.4.15 to 5.4.16
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.16/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.4.16/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-31 20:38:18 +00:00
Cliff Hall
f49b2d1442
Merge pull request #233 from seuros/main
...
refactor: Update default ports for MCPI client and MPCP server
2025-03-31 16:19:26 -04:00
Abdelkader Boudih
d1746f53a4
Update package.json
2025-03-31 20:11:40 +00:00
Abdelkader Boudih
b99cf276ae
fix: linting
2025-03-31 18:34:12 +00:00
Abdelkader Boudih
6c67bf6d6d
Merge branch 'main' into main
2025-03-31 18:32:18 +00:00
Abdelkader Boudih
80f5ab1136
fix: typo
2025-03-31 18:28:40 +00:00
Ola Hungerford
2f854304a7
Merge pull request #216 from Skn0tt/cleanup-old-transports
...
fix: clean up previous transport processes
2025-03-31 10:42:10 -07:00
Cliff Hall
6b63bacbcd
Merge pull request #229 from modelcontextprotocol/dependabot/npm_and_yarn/npm_and_yarn-7631eb0223
...
Bump vite from 5.4.12 to 5.4.15 in the npm_and_yarn group across 1 directory
2025-03-31 13:21:19 -04:00
Cliff Hall
fb29ca0113
Merge branch 'main' into cleanup-old-transports
2025-03-31 12:36:34 -04:00
dependabot[bot]
83ceefca79
Bump vite in the npm_and_yarn group across 1 directory
...
Bumps the npm_and_yarn group with 1 update in the / directory: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ).
Updates `vite` from 5.4.12 to 5.4.15
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.15/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.4.15/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-31 16:30:35 +00:00
Cliff Hall
c3bd1fb1c6
Merge pull request #224 from cliffhall/fix-214
...
Gracefully handle proxy server and inspector client startup errors
2025-03-31 12:29:15 -04:00
Cliff Hall
45d8202de8
Merge branch 'main' into fix-214
2025-03-31 12:27:41 -04:00
Ola Hungerford
180760c4db
Fix formatting
2025-03-31 09:16:25 -07:00
Simon Knott
538fc97289
fix prettier
2025-03-31 18:10:16 +02:00
Simon Knott
04442b52a2
Merge branch 'main' into cleanup-old-transports
2025-03-31 18:10:00 +02:00
Ola Hungerford
7753b275e5
Update test to fail more explicitly
2025-03-31 08:04:53 -07:00
Ola Hungerford
7ac1e40c9d
Update tests
2025-03-31 07:51:28 -07:00
Ola Hungerford
d2696e48a5
Add failing test for integer input
2025-03-31 07:32:55 -07:00
katopz
7b055b6b9a
fix: prop.type not accept integer
2025-03-31 18:29:09 +09:00
Abdelkader Boudih
da9dd09765
refactor: Update default ports for MCPI client and MPCP server
...
Changes the default ports used by the MCP Inspector client UI and the MCP Proxy server to avoid conflicts with common development ports and provide a memorable mnemonic based on T9 mapping.
2025-03-31 00:31:28 +00:00
Cliff Hall
539f32bf3b
Merge pull request #204 from pulkitsharma07/main
...
Add "Configuration" support in UI for configuring the request timeout (and more things in the future)
2025-03-29 16:36:19 -04:00
Pulkit Sharma
c6174116b0
update screenshot
2025-03-29 23:39:06 +05:30
Pulkit Sharma
65fc6d0490
prettier-fix, add contribution guidelines
2025-03-29 23:31:46 +05:30
Pulkit Sharma
834eb0c934
add Sidebar tests
2025-03-29 22:31:57 +05:30
cliffhall
054741be03
Run prettier.
2025-03-29 12:36:03 -04:00
Cliff Hall
eaa8055fd1
Merge branch 'main' into fix-214
2025-03-29 12:34:20 -04:00
Pulkit Sharma
9e1186f5ac
Document configuration in Readme and add TSDoc for the same.
2025-03-29 09:40:13 +05:30
Pulkit Sharma
81c0ef29ab
Merge branch 'main' into main
2025-03-29 09:11:01 +05:30
Ola Hungerford
75537c7cae
Merge pull request #218 from cliffhall/fix-rules-of-hooks-warning
...
Fix ESLint rules-of-hooks warnings
2025-03-28 20:01:23 -07:00
Cliff Hall
dbaa731097
Merge branch 'main' into fix-rules-of-hooks-warning
2025-03-28 17:49:40 -04:00
Cliff Hall
dd0434c4ed
Merge pull request #207 from samuel871211/perf_useTheme
...
perf: add `useMemo` to the return value of `useTheme`
2025-03-28 17:47:59 -04:00
Cliff Hall
ed31f9893f
Merge branch 'main' into perf_useTheme
2025-03-28 17:46:00 -04:00
Cliff Hall
38fb710f2f
Merge pull request #211 from cgoinglove/feat/json-view-component
...
feat: Add JSON View Component
2025-03-28 17:45:22 -04:00
Cliff Hall
240c67037c
Merge branch 'main' into feat/json-view-component
2025-03-28 17:32:41 -04:00
Cliff Hall
02155570df
Merge branch 'main' into cleanup-old-transports
2025-03-28 16:34:21 -04:00
cliffhall
7227909df3
Fix spurious linebreak
2025-03-28 16:03:39 -04:00
cliffhall
84335ae5f4
Remove else block wrapper for final component return to reduce indenting and hopefully make the PR diff easier to approve.
2025-03-28 15:57:11 -04:00
Pulkit Sharma
8486696240
Merge branch 'main' of github.com:pulkitsharma07/inspector
2025-03-29 01:23:29 +05:30
Pulkit Sharma
6a6b15ab45
don't disable rules-of-hooks
2025-03-29 01:22:35 +05:30
Cliff Hall
804a144ffb
Merge branch 'main' into fix-rules-of-hooks-warning
2025-03-28 15:20:11 -04:00
Cliff Hall
1d4ca435b8
Merge branch 'main' into fix-214
2025-03-28 12:32:59 -04:00
cliffhall
1b754f52ca
This fixes #214 where when the inspector is started, it can report that the inspector is up, when in fact it isn't because the address is already in use. It catches this condition, as well as the condition where the proxy server port is in use, reports it, and exits.
...
* In bin/cli.js
- in the delay function, have the setTimeout return a true value.
- try the server's spawnPromise call and within the try block, use Promise.race to get the return value of the first promise to resolve. If the server is up, it will not resolve and the 2 second delay will resolve with true, telling us the server is ok. Any error will have been reported by the server startup process, so we will not pile on with more output in the catch block.
- If the server started ok, then we will await the spawnPromise call for starting the client. If the client fails to start it will report and exit, otherwise we are done and both servers are running and have reported as much. If an error is caught and it isn't SIGINT or if process.env.DEBUG is true then the error will be thrown before exiting.
* In client/bin/cli.js
- add a "listening" handler to the server, logging that the MCP inspector is up at the given port
- Add an "error" handler to the server that reports that the client port is in use if the error message includes "EADDRINUSE", otherwise throw the error so the entire contents can be seen.
* In server/src/index.ts
- add a "listening" handler to the server, logging that the Proxy server is up at the given port
- Add an "error" handler to the server that reports that the server port is in use if the error message includes "EADDRINUSE", otherwise throw the error so the entire contents can be seen.
* In package.json
- in preview script
- add --port 5173 to start the client on the proper port. This was useful in getting an instance of the client running before trying the start script. otherwise it starts on 4173
2025-03-28 11:59:21 -04:00