Skip to main content
Glama
JadesMemory MCP Server

JadesMemory MCP Server

by Enchore
README.md
# JadesMemory

[![Release](https://img.shields.io/github/v/release/Enchore/JadesMemory)](https://github.com/Enchore/JadesMemory/releases) [![CI](https://github.com/Enchore/JadesMemory/actions/workflows/ci.yml/badge.svg)](https://github.com/Enchore/JadesMemory/actions/workflows/ci.yml) [![License](https://img.shields.io/github/license/Enchore/JadesMemory)](LICENSE) [![Python](https://img.shields.io/badge/python-3.11%2B-blue)](pyproject.toml)

**Different agents. Shared memories.**
**Your data, your control.**

An open-source, local-first memory infrastructure for AI agents, powered by your own knowledge vault.

Founded and developed by **Enchore Jade** ([Enchore](https://github.com/Enchore)). MIT licensed. Public since **2026-12-05**. **v0.1.0 — Memory Foundation** is the first early development release, not a production-stability guarantee. [Release notes and source archives](https://github.com/Enchore/JadesMemory/releases/tag/v0.1.0).

## Purpose and current scope

Give different trusted AI clients a shared, traceable memory layer in a user-owned Obsidian-compatible Vault. Useful for cross-agent handoffs and retrieval of personal notes without moving a whole Vault into every conversation. No access to the developer's repositories or data is required.

Implemented: Source Envelopes, message IDs/hashes and edits, evidence validation, seven **read-only stdio** MCP tools, keyword retrieval, timeline, related notes, bounded context, status and sources. Memory Core is independent of optional Obsidian plugins.

Experimental: **single-ledger journal/CAS**, corrections/exclusions, locks and adapter queue contracts. Exclusion is not complete erasure of Markdown/history. Not yet generalized: production multi-file publishing, Git receipts/checkpoints and platform chat adapters. No embeddings, hosted service, automatic client configuration or governed MCP writes are shipped. Internal platform tools are not a public chat-history API.

## Install and try (Python 3.11+)

Use an isolated environment. From a reviewed source archive:

```sh
python -m venv .venv
# Activate .venv using your platform's standard command.
python -m pip install ".[mcp,test]"
python -B scripts/run_tests.py
jadesmemory --config examples/demo-config.json status
jadesmemory --config examples/demo-config.json dashboard
jadesmemory-mcp --config examples/demo-config.json
```

The last command is an MCP protocol process, not a chat terminal. Use a trusted stdio client. From a reviewed wheel, install that local wheel with the `mcp` extra; get examples/templates from the matching source archive. The example people, events, timestamps and source IDs are entirely fictional. No real chat account is contacted.

For a reproducible **Windows x64 / CPython 3.11** dependency set, use `constraints/windows-py311.lock` with pip's `--require-hashes` mode, then install the reviewed project artifact with `--no-deps`. This artifact-specific lock includes test/build prerequisites; it is not portable to other platforms. Other platforms resolve the declared security version floors and require their own verified lock. [Installation details](docs/configuration.md).

## Your own Vault and MCP clients

External JSON explicitly selects `vault_path`, `ledger_path`, optional `state_path`, `note_roots`, categories and timezone. Runtime data/configuration stay outside the program repository. Existing structured ledgers must match the documented schema; this version does not automatically ingest/index every Markdown note. Keep experimental writes disabled for production.

[Codex and Claude-compatible client examples](docs/clients.md) register `jadesmemory-mcp --config <external-config>` manually. Other clients need stdio support and their own verified configuration schema. No client settings are changed by this project.

Tools: `memory_search`, `memory_read`, `memory_context`, `memory_timeline`, `memory_related`, `memory_status`, `memory_sources`. [Parameters and actual schemas](docs/tools.md). Retrieval is **keyword search, not semantic search**. Responses are limited; event dates remain unknown when evidence is missing. Status does not independently certify Git.

## Privacy and security

Your data belongs to you. Local-first describes storage/execution defaults, **not a guarantee that data never leaves your device**: cloud agents may receive MCP results and process them under their policies. Only authorize trusted clients and expose the minimum useful subset. No external embedding service is enabled. Installation and dependency/advisory downloads use the network.

MCP has no arbitrary-file tool or write tools, and starts no network listener. Tool output is untrusted data, never permission to follow embedded commands. Returned memory-data JSON is capped at 64 KiB (SDK protocol framing is additional), with smaller text/page budgets. This is not an OS sandbox against malicious local processes racing filesystem changes. Source IDs can themselves be private. [Security](SECURITY.md), [privacy](docs/privacy.md), [testing/recovery](docs/testing-recovery.md).

## Optional Obsidian integration and roadmap

[Obsidian MCP Connector pilot](docs/obsidian-integration.md) is separate, optional and not installed. Profiles are not read-only authorization; require explicit allowlists and refusal tests. No plugin may bypass Core governance or locks.

Windows, macOS and Linux hosted CI have passed wheel and sdist installation tests, including native symlink escape checks. Each artifact runs 46 tests: Windows passes 46; macOS/Linux pass 45 and skip only the Windows-specific junction test. CI requires native symlink tests; local environments may lack privileges. Python 3.11 is tested; newer supported versions are not all individually verified.

Next: versioned production shadow evaluation, governed write proposals, verified source adapters, and optional semantic retrieval with explicit consent.

[Architecture](docs/architecture.md) · [Configuration](docs/configuration.md) · [Templates](templates/) · [Fictional Vault](examples/) · [Contributing](CONTRIBUTING.md) · [License](LICENSE) · [Third-party notices](THIRD_PARTY.md) · [Release plan](docs/github-release-plan.md).