ihrpr
|
54c30109fb
|
Merge branch 'main' into ihrpr/elicitation
|
2025-06-16 19:11:57 +01:00 |
|
Olivier Chafik
|
33257f14d4
|
switch to optional Transport.setProtocolVersion
|
2025-06-13 13:36:04 +01:00 |
|
Olivier Chafik
|
84971c83ea
|
Set Mcp-Protocol-Version in client requests after init, and warn when it doesn't match negotiated version (it SHOULD match)
|
2025-06-11 17:29:09 +01:00 |
|
Basil Hosmer
|
eea1519994
|
lint
|
2025-05-21 23:42:00 -04:00 |
|
Basil Hosmer
|
a89f950222
|
post-rebase fixes
|
2025-05-21 17:12:42 -04:00 |
|
ihrpr
|
04cbbfbb0d
|
elicitation example
|
2025-05-21 16:59:37 -04:00 |
|
Justin Spahr-Summers
|
21f492f531
|
Revert "Merge pull request #334 from m-paternostro/mp/notifier"
This reverts commit 3ef902328a, reversing
changes made to 5b6d35eb12.
|
2025-04-22 11:35:49 +01:00 |
|
Marcelo Paternostro
|
b5e6d7bc32
|
add server.getVersion()
|
2025-04-18 10:05:09 -04:00 |
|
Justin Spahr-Summers
|
2e35b15353
|
Merge branch 'main' into justin/simplified-api
|
2025-01-13 20:34:08 +00:00 |
|
Kalvin Chau
|
1bb51d0fca
|
style: remove private getter for getInstructions
|
2025-01-13 09:50:02 -08:00 |
|
Kalvin Chau
|
54472d2ae1
|
feat: add optional instructions field to server _oninitialize
|
2025-01-13 09:09:05 -08:00 |
|
Justin Spahr-Summers
|
2289dbc0d0
|
Factor out convenience APIs into another class
|
2025-01-08 21:59:38 +00:00 |
|
Justin Spahr-Summers
|
189cc84113
|
Autocomplete on resource template variables
|
2025-01-08 15:46:43 +00:00 |
|
Justin Spahr-Summers
|
8635c6384f
|
Autocomplete on prompt arguments
|
2025-01-08 15:19:16 +00:00 |
|
Justin Spahr-Summers
|
9b95fa8203
|
Server.prompt() convenience API
|
2025-01-08 14:20:44 +00:00 |
|
Justin Spahr-Summers
|
5ddfa0a0d9
|
Add extra to resource request handlers
|
2025-01-08 14:20:43 +00:00 |
|
Justin Spahr-Summers
|
f090c93127
|
Move Server helper definitions to bottom of file
|
2025-01-08 13:47:38 +00:00 |
|
Justin Spahr-Summers
|
8356cb900c
|
Create ResourceTemplate class and move listCallback into it
|
2025-01-08 13:44:12 +00:00 |
|
Justin Spahr-Summers
|
45f99e6590
|
Make Variables non-optional with resource template URIs
|
2025-01-07 22:36:20 +00:00 |
|
Justin Spahr-Summers
|
1970509131
|
Method documentation
|
2025-01-07 22:05:55 +00:00 |
|
Justin Spahr-Summers
|
098266ae22
|
Add simplified API for registering resources and resource templates
|
2025-01-07 22:01:41 +00:00 |
|
Justin Spahr-Summers
|
aac1959855
|
Errors invoking tools should be erroneous tool results, not McpErrors
|
2025-01-07 14:53:56 +00:00 |
|
Justin Spahr-Summers
|
b538731af0
|
Fix string type check
|
2025-01-07 14:40:53 +00:00 |
|
Justin Spahr-Summers
|
7ac5a5fcf5
|
Automatically register tools capability
|
2025-01-07 14:34:00 +00:00 |
|
Justin Spahr-Summers
|
1506bd1b51
|
Allow capabilities to be dynamically registered after initialization
|
2025-01-07 14:34:00 +00:00 |
|
Justin Spahr-Summers
|
4bf5c5358a
|
Assert tool request handlers do not already exist
|
2025-01-07 14:34:00 +00:00 |
|
Justin Spahr-Summers
|
f8f5686966
|
Server.tool() convenience API
|
2025-01-07 14:33:56 +00:00 |
|
Justin Spahr-Summers
|
1451d0ea24
|
Explicitly allow cancelled notifications without any capability
|
2024-11-14 14:07:28 +00:00 |
|
Justin Spahr-Summers
|
54d146bbdc
|
Support passing an AbortSignal to request()
|
2024-11-14 13:42:18 +00:00 |
|
Justin Spahr-Summers
|
8b307a5d62
|
Check capabilities when request handlers are set
|
2024-11-12 12:16:43 +00:00 |
|
Justin Spahr-Summers
|
64c2862883
|
Check and add tests for notification capabilities too
|
2024-11-12 12:02:10 +00:00 |
|
Justin Spahr-Summers
|
dc45f5d148
|
Handle capabilities checks at the request() level, make non-strict by default
|
2024-11-12 10:57:59 +00:00 |
|
Justin Spahr-Summers
|
8e369b7171
|
Lint
|
2024-11-11 22:49:53 +00:00 |
|
Justin Spahr-Summers
|
7ab5880569
|
Use explicit capabilities lists for now
|
2024-11-11 22:38:43 +00:00 |
|
Justin Spahr-Summers
|
90e91cdd62
|
Tests and assertions for client/server capabilities
Resolves #45.
|
2024-11-11 22:30:50 +00:00 |
|
Justin Spahr-Summers
|
b618157c93
|
Continue allowing 2024-10-07 in version negotiation
|
2024-11-07 13:00:52 +00:00 |
|
Justin Spahr-Summers
|
099c2e2be3
|
Update client and server convenience methods
|
2024-11-06 11:46:55 +00:00 |
|
Justin Spahr-Summers
|
12c92341b4
|
Support onprogress callbacks
|
2024-11-04 22:38:10 +00:00 |
|
Justin Spahr-Summers
|
a9b6ae6679
|
Convenience methods for Server
|
2024-11-04 22:38:10 +00:00 |
|
Justin Spahr-Summers
|
b5880ec18a
|
Support custom server request, notification, and result types
|
2024-11-04 21:07:53 +00:00 |
|
Justin Spahr-Summers
|
4cf8dd316e
|
Lint
|
2024-10-21 12:40:29 +01:00 |
|
Justin Spahr-Summers
|
9dc6c9c9e0
|
Had to inline getCapability(), wouldn't pass typechecking otherwise
|
2024-10-21 12:36:50 +01:00 |
|
Ashwin Bhat
|
bcb4b219ee
|
add server capabilities derivation
|
2024-10-15 17:08:08 -07:00 |
|
Justin Spahr-Summers
|
42fbfe2ff4
|
Update Protocol type inference
|
2024-10-02 22:01:49 +01:00 |
|
Justin Spahr-Summers
|
3786c88960
|
Combine types into one file
|
2024-10-02 14:17:31 +01:00 |
|
David Soria Parra
|
02e421c1f1
|
Initial import
|
2024-09-24 21:53:34 +01:00 |
|