Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Suggestion: Support WASM (freestanding AND browser) by removing tokio dependency #571

Open
@gkgoat1

Description

Is your feature request related to a problem? Please describe.
I want to use this crate in a sandboxed WASM environment, but its dependency on tokio complicates effectiev usage.

Describe the solution you'd like
Tokio support would be moved into a seperate crate or feature for rmcp; the core functionality would become no_std as it does not perform IO itself.

Describe alternatives you've considered

  • Other MCP libraries, although this one is official and fully matches how an MCP server is expected to act
  • Using my binary rewriting libraries in Rust would also work, though they would need significant effort (which, even with AI, will still be too much effort) to be able to recompile rmcp's native binaries to WASM
  • WASI might work for the stdio transport, but I would be unable to use networking, limiting the kinds of MCP servers I could create

Additional context
I do NOT want a hard dependency on wasm_bindgen on WASM, as it supports only the web, while I want all WASM environments supported

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /