mcpmesh 0.5.2

Share MCP servers with people you trust — peer to peer, default-deny, no accounts
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.95.0"
name = "mcpmesh"
version = "0.5.2"
build = false
exclude = ["src/bin/echo_mcp_stub.rs"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Share MCP servers with people you trust — peer to peer, default-deny, no accounts"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/counterpunchtech/mcpmesh"

[package.metadata.deb]
maintainer = "mcpmesh <knotanotsea@protonmail.com>"
copyright = "2026, mcpmesh contributors"
extended-description = "Peer-to-peer MCP transport: serve local MCP servers to allowlisted peers and mount remote peers' services through a local stdio proxy, over an end-to-end-encrypted iroh mesh. See `mcpmesh doctor` for a local health check and docs/operator.md for the operator runbook."
section = "net"
priority = "optional"
depends = "$auto"
assets = [[
    "target/release/mcpmesh",
    "usr/bin/",
    "755",
]]

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

[[bin]]
name = "mcpmesh"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.blake3]
version = "1"

[dependencies.bytes]
version = "1"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.data-encoding]
version = "2"

[dependencies.ed25519-dalek]
version = "2"
features = ["rand_core"]

[dependencies.figment]
version = "0.10"
features = [
    "toml",
    "env",
]

[dependencies.iroh]
version = "=1.0.1"

[dependencies.iroh-blobs]
version = "=0.103.0"

[dependencies.iroh-gossip]
version = "=0.101.0"

[dependencies.mcpmesh-local-api]
version = "0.5.2"
features = ["service"]
default-features = false

[dependencies.mcpmesh-net]
version = "0.5.2"

[dependencies.mcpmesh-trust]
version = "0.5.2"

[dependencies.n0-future]
version = "0.3"

[dependencies.rand]
version = "0.8"

[dependencies.redb]
version = "2"

[dependencies.reqwest]
version = "0.13"
features = ["rustls-no-provider"]
default-features = false

[dependencies.rustix]
version = "1"
features = [
    "process",
    "fs",
]

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

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "io-util",
    "net",
    "time",
    "sync",
    "process",
]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

[dev-dependencies.assert_cmd]
version = "2"

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

[dev-dependencies.tempfile]
version = "3"

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

[dev-dependencies.tracing-subscriber]
version = "0.3"

[lints.rust]
unsafe_code = "forbid"