Skip to content

Remove SSE transport and add improvements#21

Merged
nazq merged 1 commit intomainfrom
feat/rmcp-0.11-migration
Dec 8, 2025
Merged

Remove SSE transport and add improvements#21
nazq merged 1 commit intomainfrom
feat/rmcp-0.11-migration

Conversation

@nazq
Copy link
Owner

@nazq nazq commented Dec 8, 2025

Summary

  • BREAKING: Remove SSE transport (/sse, /message endpoints) in preparation for rmcp 0.11
  • Add standardized error handling with thiserror (src/error.rs)
  • Add clippy.toml for fine-grained lint configuration
  • Add Config::builder() fluent API for configuration
  • Enhance test helpers with start_with_auth() and test client utilities
  • Update documentation to reflect Streamable HTTP only transport

Breaking Change

SSE transport has been removed. Only Streamable HTTP (/mcp) is now supported.

This aligns with upstream changes in the MCP specification:

Users requiring SSE should use v0.3.x or earlier.

Test plan

  • All 149 tests passing
  • Clippy clean with -D warnings
  • Documentation updated

BREAKING: Remove SSE transport support in preparation for rmcp 0.11

Changes:
- Remove SSE transport (/sse, /message endpoints) - deprecated in MCP spec
- Add error module with thiserror for standardized error handling
- Add clippy.toml for fine-grained lint configuration
- Add Config builder pattern for fluent API
- Enhance test helpers with start_with_auth() and test client utilities
- Update documentation to reflect Streamable HTTP only

The SSE transport was deprecated in rmcp 0.10 (PR #561) and removed
in rmcp 0.11 (PR #562). This change prepares for the upgrade while
maintaining compatibility with rmcp 0.10.
@nazq nazq merged commit ba25421 into main Dec 8, 2025
8 checks passed
@nazq nazq deleted the feat/rmcp-0.11-migration branch December 8, 2025 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant