Commit graph

204 commits

Author SHA1 Message Date
Justin Spahr-Summers
e911ece970
Remove CompatibilityCallToolResult
Resolves #82.
2024-12-03 16:03:26 +00:00
Justin Spahr-Summers
becd787a18
Merge pull request #76 from efritz/patch-1
Fix method name in client cancellation send
2024-12-02 07:04:06 -06:00
Eric Fritz
3d15050960
Fix cancellation notification mismatch
The server registers a notification handler on `CancelledNotificationSchema`, but is never called on client cancellation because of a mismatch in the method name. This fixes that mismatch.
2024-11-27 23:48:44 -06:00
Justin Spahr-Summers
5bfa6163d1
Merge pull request #75 from modelcontextprotocol/jspahrsummers-patch-1
Declare capabilities, fix imports in README examples
2024-11-27 10:37:47 -06:00
Justin Spahr-Summers
c6cb7d343d
Fix imports 2024-11-27 10:37:04 -06:00
Justin Spahr-Summers
5490e56a3f
Declare capabilities in README examples 2024-11-27 10:36:31 -06:00
Justin Spahr-Summers
105b310b18
Bump package version 1.0.1 2024-11-26 08:45:21 -06:00
Ani Betts
d5c0e86664
Merge pull request #68 from modelcontextprotocol/ani/fix-npx
Fix npx and other processes that launch subprocesses
2024-11-26 15:43:45 +01:00
Anaïs Betts
9fd52c861e
Use windowsHide because detached seems to break stdio redirection on npx 2024-11-26 15:41:23 +01:00
David Soria Parra
8f89fb2fa4
bump 2024-11-25 14:58:40 +00:00
David Soria Parra
cab95e53a0
1.0.0 1.0.0 2024-11-25 14:51:29 +00:00
Justin Spahr-Summers
1bfcfcd268
Merge pull request #66 from modelcontextprotocol/justin/readme-links
Add links to docs in README
2024-11-24 14:30:23 -06:00
Justin Spahr-Summers
961e494230
Add links to docs in README
Matches the python-sdk repo.
2024-11-24 14:29:56 -06:00
Justin Spahr-Summers
25d3123ac3
Merge pull request #65 from modelcontextprotocol/justin/stderr-improvements 0.7.0
Add way to get child process stderr pipe
2024-11-20 21:29:20 +00:00
Justin Spahr-Summers
4103ef53ed
Bump package version 2024-11-20 21:19:15 +00:00
Justin Spahr-Summers
1025b3fc55
Add way to get child process stderr pipe 2024-11-20 21:19:06 +00:00
Justin Spahr-Summers
96627096d9
Bump version 0.6.1 2024-11-20 18:18:18 +00:00
Justin Spahr-Summers
c080fe8c56
Merge pull request #63 from modelcontextprotocol/justin/fix-homepage
Fix package homepage
2024-11-20 16:01:49 +00:00
Justin Spahr-Summers
711350db4c
Merge pull request #64 from modelcontextprotocol/justin/contributing
Add CONTRIBUTING.md
2024-11-20 15:43:21 +00:00
Justin Spahr-Summers
28cc5af325
Fix README links 2024-11-20 15:20:36 +00:00
Justin Spahr-Summers
e4a5b437e9
Add CONTRIBUTING.md 2024-11-20 15:20:30 +00:00
Ani Betts
97cac5b65c
Merge pull request #62 from modelcontextprotocol/ani/fix-dosbox-more
Use detached: true on Windows
2024-11-20 15:58:09 +01:00
Anaïs Betts
e0c821cad9
Special-case this fix to Electron apps 2024-11-20 15:55:11 +01:00
Justin Spahr-Summers
96b9e56f57
Fix package homepage 2024-11-20 13:54:27 +00:00
Anaïs Betts
17a32b14d4
Use detached: true on Windows
Unfortunately, the fix in #55 was not sufficient - the behavior of spawn
depends on the "console'ness" of the originally launched process, which has the
effect of development behavior for Claude Desktop on Windows being
different than in production, since the launching process is Claude.exe
(a Win32 Subsystem app) vs `yarn start` which is effectively a Console
Subsystem app.
2024-11-20 14:41:53 +01:00
David Soria Parra
470d39f7f1
Update SECURITY.md 2024-11-19 16:48:27 +00:00
David Soria Parra
8fee185d97
Create SECURITY.md 2024-11-19 12:11:51 +00:00
David Soria Parra
ec74e7aacf
Update LICENSE 2024-11-18 22:23:48 +00:00
David Soria Parra
0b84131c2d
Merge pull request #61 from modelcontextprotocol/davidsp/coc
Add code of conduct
2024-11-18 16:02:35 +00:00
David Soria Parra
d126f4a60a
Add code of conduct 2024-11-18 15:37:46 +00:00
Justin Spahr-Summers
a703913c7a
Merge pull request #59 from modelcontextprotocol/dependabot/npm_and_yarn/npm_and_yarn-c3cc913ac2
Bump cross-spawn from 7.0.3 to 7.0.5 in the npm_and_yarn group across 1 directory
2024-11-16 16:42:29 +00:00
Justin Spahr-Summers
1cb92b6246
Merge pull request #60 from modelcontextprotocol/justin/remove-abort-after-timeout 0.6.0
Replace `abortAfterTimeout` with `RequestOptions.timeout`
2024-11-16 16:40:45 +00:00
Justin Spahr-Summers
9328e9b5ef
Add npm badge to README 2024-11-16 16:38:26 +00:00
Justin Spahr-Summers
5c7434475e
Bump package version 2024-11-16 16:37:32 +00:00
Justin Spahr-Summers
437a870029
Tests for request timeout 2024-11-16 16:37:24 +00:00
Justin Spahr-Summers
35396f4a8d
Report errors sending cancellation 2024-11-16 16:31:45 +00:00
Justin Spahr-Summers
2cc3bc8a40
Add RequestOptions.timeout 2024-11-16 16:30:20 +00:00
dependabot[bot]
4d3ec0c612
Bump cross-spawn in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [cross-spawn](https://github.com/moxystudio/node-cross-spawn).


Updates `cross-spawn` from 7.0.3 to 7.0.5
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.5)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-16 16:18:39 +00:00
Justin Spahr-Summers
53f55b8edf
Remove abortAfterTimeout
It's fundamentally flawed because it doesn't support easy cancellation of the timeout.
2024-11-16 16:18:35 +00:00
Justin Spahr-Summers
cfd3464238
Merge pull request #57 from modelcontextprotocol/dependabot/npm_and_yarn/npm_and_yarn-7503158af6
Bump @eslint/plugin-kit from 0.2.1 to 0.2.3 in the npm_and_yarn group across 1 directory
2024-11-16 16:17:35 +00:00
Justin Spahr-Summers
c32e057c72
Merge pull request #58 from modelcontextprotocol/justin/improve-abort
Add message to `abortAfterTimeout`, add missing request `options`
2024-11-16 16:03:59 +00:00
Justin Spahr-Summers
7d50d8ca16
Add missing options to request methods 2024-11-16 15:59:03 +00:00
Justin Spahr-Summers
65e3555620
Add message when aborting due to timeout 2024-11-16 15:57:15 +00:00
dependabot[bot]
e966ffde94
Bump @eslint/plugin-kit in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [@eslint/plugin-kit](https://github.com/eslint/rewrite).


Updates `@eslint/plugin-kit` from 0.2.1 to 0.2.3
- [Release notes](https://github.com/eslint/rewrite/releases)
- [Changelog](https://github.com/eslint/rewrite/blob/main/release-please-config.json)
- [Commits](https://github.com/eslint/rewrite/compare/plugin-kit-v0.2.1...plugin-kit-v0.2.3)

---
updated-dependencies:
- dependency-name: "@eslint/plugin-kit"
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-15 21:41:58 +00:00
Justin Spahr-Summers
106d1c26b0
Bump version 0.5.0 2024-11-15 13:44:39 +00:00
Justin Spahr-Summers
c3495d2f7a
Merge pull request #56 from modelcontextprotocol/justin/configurable-stderr
Make stderr behavior configurable
2024-11-15 13:39:30 +00:00
Justin Spahr-Summers
9db00579b0
Merge pull request #54 from modelcontextprotocol/justin/cancellation
Implement cancellation notifications and handling
2024-11-15 13:39:17 +00:00
Justin Spahr-Summers
b59c381abf
Make stderr behavior configurable 2024-11-14 20:13:13 +00:00
Ani Betts
e9efdba88c
Merge pull request #55 from modelcontextprotocol/ani/no-dosbox-please
Don't open a terminal window on Windows
2024-11-14 16:15:43 +01:00
Anaïs Betts
8e2e917992
Don't open a terminal window on Windows 2024-11-14 16:11:10 +01:00