[package]
edition = "2024"
rust-version = "1.95.0"
name = "mcpmesh"
version = "0.24.0"
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",
]]
[features]
unstable-relay-only = ["mcpmesh-node/unstable-relay-only"]
[lib]
name = "mcpmesh"
path = "src/lib.rs"
[[bin]]
name = "mcpmesh"
path = "src/main.rs"
[[test]]
name = "allow_revoke_sever"
path = "tests/allow_revoke_sever.rs"
[[test]]
name = "audit_e2e"
path = "tests/audit_e2e.rs"
[[test]]
name = "audit_verbs"
path = "tests/audit_verbs.rs"
[[test]]
name = "blob_ac"
path = "tests/blob_ac.rs"
[[test]]
name = "blob_gate"
path = "tests/blob_gate.rs"
[[test]]
name = "cold_dial"
path = "tests/cold_dial.rs"
[[test]]
name = "completions"
path = "tests/completions.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 = "dial_hint_refresh"
path = "tests/dial_hint_refresh.rs"
[[test]]
name = "doctor"
path = "tests/doctor.rs"
[[test]]
name = "embed_parity"
path = "tests/embed_parity.rs"
[[test]]
name = "embedded_loopback"
path = "tests/embedded_loopback.rs"
[[test]]
name = "enroll_e2e"
path = "tests/enroll_e2e.rs"
[[test]]
name = "ephemeral_allow"
path = "tests/ephemeral_allow.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 = "live_path_events"
path = "tests/live_path_events.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 = "peer_path"
path = "tests/peer_path.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 = "self_network"
path = "tests/self_network.rs"
[[test]]
name = "set_relays"
path = "tests/set_relays.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.clap]
version = "4"
features = [
"derive",
"string",
]
[dependencies.clap_complete]
version = "4"
[dependencies.clap_mangen]
version = "0.2"
[dependencies.mcpmesh-local-api]
version = "0.24.0"
features = ["service"]
default-features = false
[dependencies.mcpmesh-net]
version = "0.24.0"
[dependencies.mcpmesh-node]
version = "0.24.0"
[dependencies.mcpmesh-trust]
version = "0.24.0"
[dependencies.rustix]
version = "1"
features = [
"process",
"fs",
]
[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.tracing]
version = "0.1"
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.blake3]
version = "1"
[dev-dependencies.ed25519-dalek]
version = "2"
features = ["rand_core"]
[dev-dependencies.iroh]
version = "=1.0.3"
features = ["test-utils"]
[dev-dependencies.iroh-blobs]
version = "=0.103.0"
[dev-dependencies.iroh-relay]
version = "1"
features = ["test-utils"]
[dev-dependencies.rustls]
version = "0.23"
features = [
"ring",
"std",
]
default-features = false
[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"