[package]
edition = "2024"
rust-version = "1.88"
name = "rig-mcp"
version = "0.2.2"
authors = ["Azreal Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Model Context Protocol bridge for rig-compose tool registries. Wraps the official `rmcp` SDK with rig-compose's transport-agnostic Tool surface."
readme = "README.md"
keywords = [
"rig",
"mcp",
"rmcp",
"agent",
"ai",
]
categories = ["asynchronous"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ForeverAngry/rig-mcp"
[lib]
name = "rig_mcp"
path = "src/lib.rs"
[[bin]]
name = "rig_mcp_stdio_fixture"
path = "src/bin/rig_mcp_stdio_fixture.rs"
[[example]]
name = "harness_record"
path = "examples/harness_record.rs"
[[test]]
name = "harness"
path = "tests/harness.rs"
[[test]]
name = "result_envelope"
path = "tests/result_envelope.rs"
[[test]]
name = "stdio_failures"
path = "tests/stdio_failures.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.rig-compose]
version = "0.4.1"
[dependencies.rmcp]
version = "1.6"
features = [
"client",
"server",
"macros",
"transport-io",
"transport-child-process",
]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.tokio]
version = "1.40"
features = [
"rt-multi-thread",
"macros",
"sync",
"process",
"io-util",
"io-std",
"time",
]
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.tokio]
version = "1.40"
features = [
"rt-multi-thread",
"macros",
"sync",
"process",
"io-util",
"io-std",
"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"
panic = "deny"
panic_in_result_fn = "deny"
todo = "forbid"
unimplemented = "forbid"
unreachable = "deny"
unwrap_used = "deny"
[profile.release]
opt-level = "s"
lto = true