[package] name = "ledger-mcp" version = "0.1.0" edition.workspace = true license.workspace = true repository.workspace = true description = "The books server's MCP tools for wanderbooks: the AI-first bookkeeping interface over ledger-store." [lib] path = "src/lib.rs" [dependencies] ledger-core = { path = "../ledger-core" } ledger-store = { path = "../ledger-store" } ledger-import = { path = "../ledger-import" } ledger-config = { path = "../ledger-config" } ledger-vault = { path = "../ledger-vault" } # The CPA package, the 1099 worksheet, and the reports they share with # the viewer. ledger-package = { path = "../ledger-package" } base64 = "0.22" # A download's Repr-Digest (local.rs). sha2 = "0.10" rust_decimal = "1" rmcp = { version = "3", features = ["server", "schemars", "transport-streamable-http-server"] } axum = "0.8" http-body-util = "0.1" tower = "0.5" schemars = "1" serde = { version = "1", features = ["derive"] } serde_json = "1" chrono = "0.4" thiserror = "2" tokio = { version = "1", features = ["rt-multi-thread", "macros", "io-util", "sync", "net", "signal", "time"] } tokio-util = { version = "0.7", features = ["rt", "io", "io-util"] } # A call that panics is recorded before the panic goes on (access.rs). futures-util = "0.3" toml = "1" # The vault's TINs, decoded for the filing scan (tin_files.rs), are wiped # from memory when dropped, as the vault's own are. zeroize = "1" # The socket's peer credentials (SO_PEERCRED, getpeereid) for local.rs's # same-user check: std has no call for them. [target.'cfg(unix)'.dependencies] libc = "0.2" [lints] workspace = true [dev-dependencies] # The unit tests drive the tools as a client would (the integration tests, # through a real books server, are ledger-cli's: plan D-44). tokio = { version = "1", features = ["time", "macros", "rt-multi-thread"] } rmcp = { version = "3", features = ["client", "transport-streamable-http-client-reqwest"] } tempfile = "3"