[package]
edition = "2024"
rust-version = "1.95.0"
name = "rig-rmcp"
version = "0.44.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MCP (Model Context Protocol) tool support for Rig via the rmcp SDK: MCP tools as rig-core dynamic tools, plus a client handler that keeps any ManagedToolSink (rig-agent's tool server, for example) in sync with the server's tool list."
readme = "README.md"
license = "MIT"
repository = "https://github.com/0xPlaygrounds/rig"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "rig_rmcp"
path = "src/lib.rs"
[[test]]
name = "portable"
path = "tests/portable.rs"
[dependencies.futures]
version = "0.3"
[dependencies.rig-core]
version = "0.44.0"
default-features = false
[dependencies.serde_json]
version = "1.0.54"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.rig-agent]
version = "0.44.0"
features = ["test-utils"]
default-features = false
[dev-dependencies.rig-core]
version = "0.44.0"
features = ["test-utils"]
default-features = false
[dev-dependencies.rmcp]
version = "2"
features = [
"client",
"server",
]
[dev-dependencies.serde_json]
version = "1.0.54"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.tokio-test]
version = "0.4"
[target.'cfg(not(target_family = "wasm"))'.dependencies.rmcp]
version = "2"
features = ["client"]
[target.'cfg(not(target_family = "wasm"))'.dependencies.tokio]
version = "1"
features = [
"rt",
"sync",
"time",
]
[lints.clippy]
await_holding_lock = "deny"
await_holding_refcell_ref = "deny"
dbg_macro = "forbid"
expect_fun_call = "deny"
expect_used = "deny"
indexing_slicing = "deny"
large_enum_variant = "allow"
panic = "deny"
panic_in_result_fn = "deny"
result_large_err = "allow"
should_implement_trait = "allow"
todo = "forbid"
too_many_arguments = "allow"
type_complexity = "allow"
unimplemented = "forbid"
unreachable = "deny"
unwrap_used = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(rig_loom)"]