[package]
edition = "2024"
rust-version = "1.91"
name = "memstead-mcp"
version = "0.8.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MCP server for Memstead — exposes the typed entity-graph engine over JSON-RPC stdio. Default build produces the full `memstead-mcp` binary (multi-mem, git-backed); `--no-default-features` builds the lean folder + archive surface."
homepage = "https://memstead.io"
readme = "README.md"
keywords = [
"agent-memory",
"mcp",
"knowledge-graph",
"agents",
"llm",
]
categories = ["command-line-utilities"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/memstead/memstead"
resolver = "2"
[features]
default = ["mem-repo"]
mem-repo = [
"dep:memstead-engine",
"dep:memstead-git-branch",
"dep:semver",
]
[lib]
name = "memstead_mcp"
path = "src/lib.rs"
[[bin]]
name = "memstead-mcp"
path = "src/main.rs"
[[test]]
name = "boot"
path = "tests/boot.rs"
[[test]]
name = "boot_lean"
path = "tests/boot_lean.rs"
[[test]]
name = "read_mem_install"
path = "tests/read_mem_install.rs"
[[test]]
name = "reload_notice"
path = "tests/reload_notice.rs"
[[test]]
name = "tool_surface"
path = "tests/tool_surface.rs"
[[test]]
name = "wire_shape"
path = "tests/wire_shape.rs"
[[test]]
name = "wire_shape_lean"
path = "tests/wire_shape_lean.rs"
[dependencies.anyhow]
version = "1"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.dirs]
version = "5"
[dependencies.indexmap]
version = "2"
features = ["serde"]
[dependencies.memstead-base]
version = "0.8.0"
[dependencies.memstead-engine]
version = "0.8.0"
optional = true
[dependencies.memstead-git-branch]
version = "0.8.0"
optional = true
[dependencies.memstead-schema]
version = "0.8.0"
[dependencies.rmcp]
version = "2.2"
features = [
"server",
"transport-io",
"macros",
"schemars",
]
[dependencies.semver]
version = "1"
features = ["serde"]
optional = true
[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-std",
]
[dependencies.toml]
version = "1.1"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dev-dependencies.gix]
version = "0.85"
features = [
"revision",
"tree-editor",
"blob-diff",
"max-performance-safe",
"sha1",
]
default-features = false
[dev-dependencies.memstead-git-branch]
version = "0.8.0"
features = ["test-support"]
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
result_large_err = "allow"