Commit graph

34 commits

Author SHA1 Message Date
ashwin-ant
36ba802551
Merge pull request #17 from modelcontextprotocol/ashwin/capabilities
add server capabilities derivation
2024-10-16 08:22:47 -07:00
Ashwin Bhat
bcb4b219ee
add server capabilities derivation 2024-10-15 17:08:08 -07:00
Justin Spahr-Summers
dcc30bea49
Merge pull request #16 from modelcontextprotocol/ashwin/protocol
fix protocol version in client
2024-10-15 10:01:48 +01:00
ashwin-ant
05a3e54751
fix protocol version in client 2024-10-14 20:20:52 -07:00
Justin Spahr-Summers
73c66f4a7c
Merge pull request #13 from modelcontextprotocol/justin/uris
Treat URIs as `URL` type
2024-10-11 16:13:35 +01:00
Justin Spahr-Summers
5cad4b5dd9
Merge pull request #12 from modelcontextprotocol/justin/spec-updates
Update to latest protocol version
2024-10-11 16:13:26 +01:00
Justin Spahr-Summers
ec96ffc958
Treat URIs as 'URL' type 2024-10-11 16:02:24 +01:00
Justin Spahr-Summers
f3a8fb8685
yarn build 2024-10-11 15:45:38 +01:00
Justin Spahr-Summers
69daade659
Update to latest protocol version 2024-10-11 14:01:35 +01:00
Justin Spahr-Summers
2cc7dd1043
Merge pull request #5 from modelcontextprotocol/justin/validation
Use Zod for validation and parsing
2024-10-03 15:52:05 +01:00
Justin Spahr-Summers
8b476ddc85
Start JSON-RPC messages with 'jsonrpc' and 'id' fields, instead of the other way around 2024-10-02 22:22:00 +01:00
Justin Spahr-Summers
ecbcb8d591
yarn build 2024-10-02 22:05:23 +01:00
Justin Spahr-Summers
42fbfe2ff4
Update Protocol type inference 2024-10-02 22:01:49 +01:00
Justin Spahr-Summers
3ea255f088
Use Zod for message validation at transport layer 2024-10-02 15:06:30 +01:00
Justin Spahr-Summers
cc1f19a051
Allow messages to contain other protocol versions 2024-10-02 14:51:56 +01:00
Justin Spahr-Summers
d5c3d8178e
Add TypeScript types from Zod schemas 2024-10-02 14:51:56 +01:00
Justin Spahr-Summers
cd6820e810
Use an enum for error codes 2024-10-02 14:51:55 +01:00
Justin Spahr-Summers
4be31d0f08
Remove explicit constants of method names, factor out ProgressSchema 2024-10-02 14:51:55 +01:00
Justin Spahr-Summers
0e2b156a7d
More fixups, including object property passthroughs 2024-10-02 14:42:15 +01:00
Justin Spahr-Summers
e929a4bf67
Reorder definitions to eliminate use of lazy() 2024-10-02 14:32:04 +01:00
Justin Spahr-Summers
b400ce5782
Mark numbers as integers where possible 2024-10-02 14:22:42 +01:00
Justin Spahr-Summers
c7713e9d61
Fix up URIs 2024-10-02 14:21:25 +01:00
Justin Spahr-Summers
8488d56810
Claude rewriting types as Zod schemas 2024-10-02 14:20:31 +01:00
Justin Spahr-Summers
3786c88960
Combine types into one file 2024-10-02 14:17:31 +01:00
Justin Spahr-Summers
698d6c5b52
Install zod 2024-10-02 14:15:11 +01:00
Justin Spahr-Summers
d2c8ced0b8
Update schema to latest 2024-10-02 14:10:43 +01:00
Justin Spahr-Summers
9a1ee2962e
Remove mcp-spec subtree
Will update the schema manually going forward.
2024-10-02 14:10:02 +01:00
Justin Spahr-Summers
2c51a0f6f2
Merge pull request #4 from modelcontextprotocol/justin/sse-parsed-messages
Add `SSEServerTransport.handleMessage` bypass
2024-09-27 15:15:21 +01:00
Justin Spahr-Summers
1cb6869681
Fix error handling 2024-09-27 11:25:12 +01:00
Justin Spahr-Summers
f4128aac71
yarn build 2024-09-27 11:16:08 +01:00
Justin Spahr-Summers
81b40e5608
Add SSEServerTransport.handleMessage bypass 2024-09-27 11:14:59 +01:00
David Soria Parra
929275eddf
Add 'packages/mcp-spec/' from commit 'd06853c5e8'
git-subtree-dir: packages/mcp-spec
git-subtree-mainline: 02e421c1f1
git-subtree-split: d06853c5e8
2024-09-24 21:59:42 +01:00
David Soria Parra
02e421c1f1
Initial import 2024-09-24 21:53:34 +01:00
David Soria Parra
d06853c5e8
Initial import 2024-09-24 21:41:22 +01:00