graphrt-mcp 0.2.0

Model Context Protocol (MCP) tool provider for graphrt: exposes MCP server tools to tool and agent nodes.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "graphrt-mcp"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Model Context Protocol (MCP) tool provider for graphrt: exposes MCP server tools to tool and agent nodes."
homepage = "https://github.com/BimaPangestu28/graphrt"
documentation = "https://docs.rs/graphrt-mcp"
readme = "README.md"
keywords = [
    "mcp",
    "mcp-client",
    "tools",
    "agent",
    "llm",
]
categories = [
    "api-bindings",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/BimaPangestu28/graphrt"

[features]
default = [
    "stdio",
    "http",
]
http = [
    "rmcp/transport-streamable-http-client-reqwest",
    "rmcp/reqwest-tls-no-provider",
    "dep:http",
    "dep:rustls",
]
stdio = [
    "rmcp/transport-child-process",
    "tokio/process",
]

[lib]
name = "graphrt_mcp"
path = "src/lib.rs"

[[example]]
name = "list_tools"
path = "examples/list_tools.rs"

[[test]]
name = "client"
path = "tests/client.rs"

[dependencies.futures]
version = "0.3"
features = [
    "std",
    "async-await",
]
default-features = false

[dependencies.graphrt-core]
version = "0.2.0"
default-features = false

[dependencies.http]
version = "1"
optional = true

[dependencies.indexmap]
version = "2"
features = ["serde"]

[dependencies.rmcp]
version = "3.10"
features = ["client"]
default-features = false

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
]
optional = true
default-features = false

[dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1"
features = [
    "preserve_order",
    "raw_value",
]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "time",
]
default-features = false

[dev-dependencies.rmcp]
version = "3.10"
features = [
    "client",
    "server",
    "transport-io",
]
default-features = false

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
    "time",
    "io-util",
]
default-features = false

[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
indexing_slicing = "warn"
panic = "deny"
print_stdout = "warn"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"

[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1