rust-sdk/crates/rmcp/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Andrew Harvard 7ba1ac4959
fix: use mimeType instead of mime_type for MCP specification compliance (#339)
- Fix ResourceContents enum to properly serialize with camelCase field names
- Add comprehensive tests to verify JSON serialization compliance
- Ensure all resource-related structs use mimeType as per MCP spec
- Add tests for RawResource, ResourceContents, RawImageContent, RawAudioContent
- Add test for prompt message image content serialization
- Update message schema files to reflect mimeType changes
- Fix import ordering to match project formatting standards

This change ensures the Rust SDK is fully compliant with the MCP specification
which requires mimeType (camelCase) for all resource content types.
2025-07-29 12:42:56 -04:00
..
common feat: unified error type (#308) 2025-07-09 11:23:39 +08:00
test_deserialization fix(test): fix tool deserialization error (#68) 2025-03-31 13:05:35 +08:00
test_message_schema fix: use mimeType instead of mime_type for MCP specification compliance (#339) 2025-07-29 12:42:56 -04:00
test_with_js refactor: provide http server as tower service (#228) 2025-05-28 19:21:40 +08:00
test_with_python feat(transport): add builder & expose child stderr (#305) 2025-07-05 09:14:43 +08:00
test_complex_schema.rs feat: unified error type (#308) 2025-07-09 11:23:39 +08:00
test_deserialization.rs fix(test): fix tool deserialization error (#68) 2025-03-31 13:05:35 +08:00
test_logging.rs test(context): test context request handling and refactor for reusable client-server tests (#97) 2025-04-07 10:13:05 +08:00
test_message_protocol.rs feat: extensions to context (#102) 2025-04-08 10:01:17 +08:00
test_message_schema.rs chore(deps): update schemars requirement from 0.8 to 1.0 (#258) 2025-07-11 11:15:45 +08:00
test_notification.rs feat: unified error type (#308) 2025-07-09 11:23:39 +08:00
test_progress_subscriber.rs feat: unified error type (#308) 2025-07-09 11:23:39 +08:00
test_sampling.rs example: add simpling example and test (#289) 2025-06-30 18:18:23 +08:00
test_tool_handler.rs Move whole rmcp crate to offcial rust sdk (#44) 2025-03-27 17:33:41 -04:00
test_tool_macro_annotations.rs refactor: refactor tool macros and router implementation (#261) 2025-06-24 04:01:22 +08:00
test_tool_macros.rs refactor: refactor tool macros and router implementation (#261) 2025-06-24 04:01:22 +08:00
test_tool_routers.rs feat: add progress notification handling and related structures (#282) 2025-06-25 14:30:22 +08:00
test_with_js.rs refactor: refactor tool macros and router implementation (#261) 2025-06-24 04:01:22 +08:00
test_with_python.rs feat(transport): add builder & expose child stderr (#305) 2025-07-05 09:14:43 +08:00