[package]
edition = "2021"
rust-version = "1.82"
name = "rtb-mcp"
version = "0.7.1"
authors = ["Matt Cockayne <matt@phpboyscout.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Model Context Protocol server that exposes tool commands as MCP tools. Part of the phpboyscout Rust toolkit."
homepage = "https://cli.rust.phpboyscout.uk"
documentation = "https://docs.rs/rtb-mcp"
readme = "README.md"
keywords = [
"mcp",
"ai",
"server",
"protocol",
"cli",
]
categories = [
"command-line-interface",
"development-tools",
]
license = "MIT"
repository = "https://gitlab.com/phpboyscout/rust/cli"
[lib]
name = "rtb_mcp"
path = "src/lib.rs"
[[test]]
name = "t1_trait_defaults"
path = "tests/t1_trait_defaults.rs"
[[test]]
name = "t3_t6_server_dispatch"
path = "tests/t3_t6_server_dispatch.rs"
[[test]]
name = "t7_t10_misc"
path = "tests/t7_t10_misc.rs"
[[test]]
name = "t9_s1_roundtrip"
path = "tests/t9_s1_roundtrip.rs"
[dependencies.async-trait]
version = "0.1.91"
[dependencies.clap]
version = "4.6.2"
features = [
"derive",
"env",
"wrap_help",
"string",
]
[dependencies.linkme]
version = "0.3.37"
[dependencies.miette]
version = "7.6.0"
features = ["fancy"]
[dependencies.rmcp]
version = "2.2.0"
features = [
"server",
"macros",
"transport-io",
"transport-streamable-http-server",
"schemars",
]
default-features = false
[dependencies.rtb-app]
version = "0.7.0"
[dependencies.serde_json]
version = "1.0.150"
[dependencies.thiserror]
version = "2.0.19"
[dependencies.tokio]
version = "1.53.0"
features = ["full"]
[dependencies.tracing]
version = "0.1.44"
[dev-dependencies.rmcp]
version = "2.2.0"
features = [
"server",
"macros",
"transport-io",
"transport-streamable-http-server",
"schemars",
"client",
]
default-features = false
[dev-dependencies.semver]
version = "1.0.28"
features = ["serde"]
[dev-dependencies.tokio]
version = "1.53.0"
features = ["full"]
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"