mcp-client 0.1.0

Client SDK for the Model Context Protocol
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 = "2021"
name = "mcp-client"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Client SDK for the Model Context Protocol"
readme = "README.md"
license = "MIT"
repository = "https://github.com/modelcontextprotocol/rust-sdk/"

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.async-trait]
version = "0.1.83"

[dependencies.eventsource-client]
version = "0.12.0"

[dependencies.futures]
version = "0.3"

[dependencies.mcp-spec]
version = "0.1.0"

[dependencies.rand]
version = "0.8"

[dependencies.reqwest]
version = "0.11"
features = [
    "json",
    "stream",
    "rustls-tls",
]
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tower]
version = "0.4"
features = [
    "timeout",
    "util",
]

[dependencies.tower-service]
version = "0.3"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.url]
version = "2.5.4"

[dev-dependencies]