Skip to content

Releases: modelcontextprotocol/rust-sdk

rmcp-v0.2.1

03 Jul 01:57
ee80903
Compare
Choose a tag to compare

Other

  • (docs) Minor README updates (#301)

rmcp-macros-v0.2.1

03 Jul 01:57
ee80903
Compare
Choose a tag to compare

Other

  • (docs) Minor README updates (#301)

rmcp-v0.2.0

02 Jul 21:09
c0f3720
Compare
Choose a tag to compare

Added

  • mark boxed http body as sync (#291)
  • add progress notification handling and related structures (#282)
  • allow failable service creation in streamable HTTP tower service (#244)
  • provide more context information (#236)
  • stateless mode of streamable http client (#233)
  • add cancellation_token method to RunningService (#218)
  • better http server support (#199)
  • throw initialize error detail (#192)
  • sse client optionally skip the endpoint event (#187)
  • (server) add annotation to tool macro (#184)
  • (model) add json schema generation support for all model types (#176)
  • (openapi) add OpenAPI v3 compatibility and test for nullable field schema workaround (#135) (#137)
  • (extension) extract http request part into rmcp extension (#163)
  • (transport) support streamable http server (#152)
  • (oauth) fixes + cache client credentials (#157)
  • allow use of reqwest without ring provider (#155)
  • extensions to context (#102)
  • revision-2025-03-26 without streamable http (#84)
  • (tool) allow tool call return a serializable value in json format (#75) (#78)
  • Sse server auto ping (#74)
  • (transport) Sse client transport trait (#67)

Fixed

  • let users decide what to wrap in child process command (#279)
  • cancellable initialization process (#280)
  • inject part into extension when handing init req (#275)
  • streamable http server close request channel on response(#266) (#270)
  • streamable http client close on response (#268)
  • expose TokioChildWrapper::id() in TokioChildProcess and TokioChildProcessOut (#254)
  • add compatibility handling for non-standard notifications in async_rw (#247)
  • allow SSE server router to be nested (#240)
  • error for status in post method of streamable http client (#238)
  • disable wasmbind in chrono for wasm32-unknown-unknown (#234)
  • (examples) add clients in examples's readme (#225)
  • generic ServerHandler (#223)
  • comment error (#215)
  • resolve the server 406 error in API calls (#203)
  • sse endpoint build follow js's new URL(url, base) (#197)
  • more friendly interface to get service error (#190)
  • cleanup zombie processes for child process client (#156)
  • (schemar) use self-defined settings (#180)
  • (transport-sse-server) cleanup on connection drop (#165)
  • (test) skip serialize tool's annotation if empty (#160)
  • fix resource leak (#136)
  • (handler) do call handler methods when initialize server (#118)
  • (server) schemars compilation errors (#104)
  • (test) fix test introduced by #97 (#101)
  • (macro) add generics marco types support (#98)
  • (typo) nit language corrections (#90)
  • (typo) s/marcos/macros/ (#85)
  • (client) add error enum while deal client info (#76)
  • (notification) fix wrongly error report in notification (#70)
  • (test) fix tool deserialization error (#68)
  • (server) add error enum while deal server info (#51)

Other

  • add simpling example and test (#289)
  • add update for test_message_schema (#286)
  • add notion clear in model.rs (#284)
  • cov settings, and fix serveral building warnings (#281)
  • refactor tool macros and router implementation (#261)
  • fix regression in URL joining (#265)
  • remove erroneous definitions_path (#264)
  • allow using a TokioCommandWrap for TokioChildProcess::new closes #243 (#245)
  • Fix typo (#249)
  • provide http server as tower service (#228)
  • (deps) update sse-stream requirement from 0.1.4 to 0.2.0 (#230)
  • Server info is only retrieved once during initialization (#214)
  • (deps) update base64 requirement from 0.21 to 0.22 (#209)
  • revert badge (#202)
  • use hierarchical readme for publishing (#198)
  • Ci/coverage badge (#191)
  • fix error introduced by merge, and reorganize feature (#185)
  • Transport trait and worker transport, and streamable http client with those new features. (#167)
  • add oauth2 support (#130)
  • remove un-used tower.rs (#125)
  • update calculator example description (#115)
  • fix the url (#120)
  • add a simple chat client for example (#119)
  • add an overview to rmcp/src/lib.rs (#116)
  • (context) test context request handling and refactor for reusable client-server tests (#97)
  • (logging) Add tests for logging (#96)
  • Adopt Devcontainer for Development Environment (#81)
  • fix typos (#79)
  • format and fix typo (#72)
  • add documentation generation job (#59)
  • add test with js server (#65)
  • fmt the project (#54)
  • (sse_server) separate router and server startup (#52)
  • fix broken link (#53)
  • fix the branch name for git dependency (#46)
  • Move whole rmcp crate to offcial rust sdk ([#44](https://git...
Read more

rmcp-macros-v0.2.0

02 Jul 21:09
c0f3720
Compare
Choose a tag to compare

Added

  • add progress notification handling and related structures (#282)
  • (server) add annotation to tool macro (#184)
  • (model) add json schema generation support for all model types (#176)
  • (transport) support streamable http server (#152)
  • (rmcp-macro) generate description from docs (#141)
  • revision-2025-03-26 without streamable http (#84)

Fixed

  • (examples) add clients in examples's readme (#225)
  • generic ServerHandler (#223)
  • cleanup zombie processes for child process client (#156)
  • (rmcp-macros) fix extract_doc_line code (#142)
  • (macros) add error deal (#109)
  • (macro) add generics marco types support (#98)
  • (typo) s/marcos/macros/ (#85)
  • (test) fix tool deserialization error (#68)

Other

  • refactor tool macros and router implementation (#261)
  • revert badge (#202)
  • use hierarchical readme for publishing (#198)
  • Ci/coverage badge (#191)
  • Transport trait and worker transport, and streamable http client with those new features. (#167)
  • add oauth2 support (#130)
  • update calculator example description (#115)
  • fix the url (#120)
  • add a simple chat client for example (#119)
  • add spell check (#82)
  • Adopt Devcontainer for Development Environment (#81)
  • fix typos (#79)
  • format and fix typo (#72)
  • add documentation generation job (#59)
  • fmt the project (#54)
  • fix broken link (#53)
  • fix the branch name for git dependency (#46)
  • Move whole rmcp crate to offcial rust sdk (#44)
  • Initial commit