Commit Graph

83 Commits

Author SHA1 Message Date
cliffhall
8901beb73e Upgrade server's express version to "^5.1.0" 2025-04-16 11:45:39 -04:00
cliffhall
6a99feaf33 Refactor project components
* Remove bin folder, leaving cli, server, and client
* This fixes #315
* In .gitignore,
  - add .idea
  - remove bin/build
* Remove bin and bin/cli.js
* Remove bin/scripts/copy-cli.js
* Refactor/move bin/scripts to cli/scripts
* Refactor/move bin/src/index.ts to cli/src/cli.ts
* Refactor/renamed client/bin/cli.js to client/bin/client.js
* In .github/workflows/main.yml,
  - add run of cli tests
* In cli/pacakge.json
  - change main and bin/mcp-inspector-cli properties to build/cli.js
* In client/package.json,
  - change bin/mcp-inspector-client properties to build/start.js
* In pacakge.json
  - change bin/mcp-inspector property to ./cli/build/cli.js
  - removed bin and cli/bin from files list
  - removed @modelcontextprotocol/inspector-bin dependency
  - rearranged and corrected scripts
2025-04-15 17:59:26 -04:00
Nicolas Barraud
3784816374 Merge branch 'main' into cli-and-config-file-support 2025-04-14 13:36:03 -04:00
Nicolas Barraud
de233c9b30 Conflict resolution 2025-04-14 13:34:49 -04:00
Nicolas Barraud
204a90b1d1 Resolved new conflicts 2025-04-14 13:30:12 -04:00
olaservo
e20c4fb4ff Bump version to 0.9.0 2025-04-14 08:23:08 -07:00
Nicolas Barraud
8423776873 Fixed conflicts 2025-04-12 10:33:22 -04:00
Cliff Hall
ad7865a6ab Merge branch 'main' into dependabot/npm_and_yarn/npm_and_yarn-13db4ee2ba 2025-04-07 13:59:03 -04:00
Cliff Hall
d69934afcb Merge pull request #263 from samuel871211/moveTypesPackageToDevDependencies
chore: move `@types/prismjs` to `devDependencies`
2025-04-07 13:58:42 -04:00
dependabot[bot]
c5dc4ded5c 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.16 to 5.4.17
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.17/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.17/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 5.4.17
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 17:30:21 +00:00
cliffhall
a506e4c419 Bump version to 0.8.2
* In package.json
  - Use inspector-[client|server] version 0.8.2
* In [client|server]/package.json
  - New version to 0.8.2
  - Use typescript SDK version 1.9.0
* In package-lock.json
  - above changes
  - sdk dependency's version increased: node_modules/@modelcontextprotocol/sdk/node_modules/pkce-challenge
2025-04-07 12:19:34 -04:00
yusheng chen
b8ab30fdf3 chore: move @types/prismjs to devDependencies 2025-04-04 19:26:11 +08:00
cliffhall
3f73ec83a2 Bump version to 0.8.1
* package-lock.json
2025-04-03 16:32:59 -04:00
Pulkit Sharma
2a544294ba merge main 2025-04-03 00:47:21 +05:30
Pulkit Sharma
debb00344a Merge branch 'main' into add_proxy_config 2025-04-02 13:43:42 +05:30
NicolasMontone
8586d63e6d Add shadcn alert to match project design 2025-04-01 17:38:25 -03:00
Ola Hungerford
65f38a4827 Bump version to 0.8.0 2025-04-01 07:07:57 -07:00
Pulkit Sharma
51c7eda6a6 Add MCP proxy address config support, better error messages 2025-04-01 19:21:19 +05:30
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
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
Nicolas Barraud
6eb6b3f82e Update package-lock.json 2025-03-31 11:30:27 -04:00
Nicolas Barraud
cf86040df9 Update package-lock.json 2025-03-31 08:22:11 -04:00
Nicolas Barraud
1dfe10bf42 Merge branch 'main' into cli-and-config-file-support 2025-03-30 17:10:01 -04:00
Nicolas Barraud
65c589c193 Fixes to the formatting 2025-03-30 17:05:07 -04:00
Cliff Hall
b97233f43a Merge branch 'main' into update-prism 2025-03-26 15:29:36 -04:00
Ola Hungerford
88ffb5087e Merge pull request #210 from olaservo/add-ui-tests
Add preliminary UI tests
2025-03-25 07:03:30 -07:00
Ola Hungerford
16b38071e7 Bump version to 0.7.0 2025-03-24 12:36:17 -07:00
Ola Hungerford
210975e385 Add test dependencies 2025-03-23 12:44:30 -07:00
Abdelkader Boudih
af44efb236 chore: extract utils escapeUnicode 2025-03-22 16:25:33 +00:00
Ola Hungerford
dcbd1dad41 Bump prismjs from 1.29.0 to 1.30.0 to address 2025-03-21 06:54:46 -07:00
Ola Hungerford
28978ea24f Update package lock after re-running npm install 2025-03-16 15:42:16 -07:00
Ola Hungerford
1f214deeab Merge branch 'main' into handle-empty-json-fields 2025-03-13 06:17:18 -07:00
Nicolas Barraud
9f42629b34 Forgot package files 2025-03-10 20:34:07 -04:00
cliffhall
a669272fda Track subscribed resources and show the appropriate subscribe or unsubscribe button on selected resource panel.
If the server does not support resource subscriptions, do not show any subscription buttons.

* In App.tsx
  - useState for resourceSubscriptions, setResourceSubscriptions a Set of type string.
  - in subscribeToResource()
    - only make the request to subscribe if the uri is not in the resourceSubscriptions set
  - in unsubscribeFromResource()
    - only make the request to unsubscribe if the uri is in the resourceSubscriptions set
  - in ResourceTab element,
    - pass a boolean resourceSubscriptionsSupported as serverCapabilities.resources.subscribe
    - pass resourceSubscriptions as a prop
* In ResourcesTab.tsx
  - deconstruct resourceSubscriptions and resourceSubscriptionsSupported from props and add prop type
  - in selected resource panel
    - don't show subscribe or unsubscribe buttons unless resourceSubscriptionsSupported is true
    - only show subscribe button if selected resource uri is not in resourceSubscriptions set
    - only show unsubscribe button if selected resource uri is in resourceSubscriptions set
    - wrap buttons in a flex div that is
      - justified right
      - has a minimal gap between
      - 2/5 wide (just big enough to contain two buttons and leave the h3 text 3/5 of the row to render and not overflow.
2025-03-08 13:40:37 -05:00
Ola Hungerford
4efe7d7899 Merge branch 'main' into handle-empty-json-fields 2025-03-05 07:52:40 -07:00
Jerome
b116264f90 Bumped versions of sub packages 2025-03-05 12:55:55 +00:00
Jerome
7a56a7200c Updated mcp sdk to 1.6.1 2025-03-05 11:52:16 +00:00
Ola Hungerford
44982e6c97 Default to nulls and update tests 2025-02-27 21:33:37 -07:00
Ola Hungerford
6ec82e21b1 Remove some fluff 2025-02-27 07:48:19 -07:00
Ola Hungerford
ede1ea0faa Merge branch 'main' into handle-empty-json-fields 2025-02-27 06:42:17 -07:00
Ola Hungerford
0747479694 Handle edge case and add tests for functions 2025-02-27 06:40:01 -07:00
Ola Hungerford
50638806cb Merge branch 'main' into feature/completions 2025-02-21 06:19:41 -07:00
Ola Hungerford
89ee2b1b93 Merge branch 'main' into handle-boolean 2025-02-19 07:48:27 -07:00
Ola Hungerford
450405733a Merge: Integrate boolean checkbox support with SchemaProperty type system 2025-02-19 07:38:23 -07:00
Justin Spahr-Summers
d4df126112 Merge pull request #115 from jacksteamdev/bugfix/issue-114
fix(server) Avoid modifying path resolution for executables on MacOS
2025-02-19 14:16:51 +00:00
Jack Steam
ad004bc2f7 Merge branch 'main' into bugfix/issue-114 2025-02-18 11:54:09 -06:00
Jack Steam
db6494353c chore: update spawn-rx to v5.1.2 2025-02-18 11:53:56 -06:00
Ola Hungerford
5b2d54ae3b Revert package and check in package-lock 2025-02-15 04:47:20 -07:00
Ola Hungerford
f6860a88f9 Update package lock 2025-02-14 07:23:19 -07:00
Ola Hungerford
b3194ac56e Merge branch 'main' into tool-input-improvements 2025-02-14 07:20:45 -07:00