Cargo Features

[dependencies]
mcp-host = { version = "0.1.13", default-features = false, features = ["stdio", "http", "macros", "full"] }
default = stdio

The stdio feature is set by default whenever mcp-host is added without default-features = false somewhere in the dependency tree.

stdio default full?

Transport layer

Enables io-std of tokio

Affects transport::stdio

http full? = async-stream, rama, rama-http-backend, tokio-stream

Affects transport::http

macros full? = mcp-host-macros

Procedural macros

Affects mcp-host::macros, registry::router

full = http, macros, stdio

Convenience bundles

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

rama http?

Enables rama

HTTP transport via rama (from ore-ecosystem)

rama-http-backend http?
tokio-stream http?
async-stream http?
mcp-host-macros macros?