mcpkit 0.2.2

Rust SDK for the Model Context Protocol (MCP)
Documentation
[dependencies.mcpkit-client]
version = "0.2.2"

[dependencies.mcpkit-core]
version = "0.2.2"

[dependencies.mcpkit-macros]
version = "0.2.2"

[dependencies.mcpkit-server]
version = "0.2.2"

[dependencies.mcpkit-transport]
version = "0.2.2"

[dev-dependencies.axum]
version = "0.8"

[dev-dependencies.futures]
version = "0.3"

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

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.tokio]
features = ["rt-multi-thread", "macros", "net", "time"]
version = "1"

[dev-dependencies.tokio-tungstenite]
features = ["rustls-tls-webpki-roots"]
version = "0.24"

[features]
client = []
default = ["server", "client", "tokio-runtime"]
full = ["websocket", "http"]
http = ["mcpkit-transport/http"]
server = []
tokio-runtime = ["mcpkit-transport/tokio-runtime", "mcpkit-server/tokio-runtime", "mcpkit-client/tokio-runtime"]
websocket = ["mcpkit-transport/websocket"]

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

[lints.clippy]
approx_constant = "allow"
assertions_on_constants = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
double_must_use = "allow"
duplicated_attributes = "allow"
float_cmp = "allow"
format_collect = "allow"
format_push_string = "allow"
future_not_send = "allow"
implicit_hasher = "allow"
manual_let_else = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
mixed_attributes_style = "allow"
module_inception = "allow"
needless_continue = "allow"
needless_pass_by_value = "allow"
needless_range_loop = "allow"
needless_return = "allow"
new_ret_no_self = "allow"
option_if_let_else = "allow"
result_large_err = "allow"
return_self_not_must_use = "allow"
significant_drop_in_scrutinee = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
single_match = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
type_repetition_in_bounds = "allow"
unreadable_literal = "allow"
unused_async = "allow"
unused_self = "allow"
use_self = "allow"
while_let_loop = "allow"

[lints.clippy.all]
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"
unused_assignments = "allow"

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["asynchronous", "network-programming"]
description = "Rust SDK for the Model Context Protocol (MCP)"
edition = "2024"
keywords = ["mcp", "mcp-protocol", "ai", "llm"]
license = "MIT OR Apache-2.0"
name = "mcpkit"
readme = "README.md"
repository = "https://github.com/praxiomlabs/mcpkit"
resolver = "2"
rust-version = "1.85"
version = "0.2.2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

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

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

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

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

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

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

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

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

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

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

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

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

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