Repository avatar
Other Tools
v0.3.7
active

qdrant-memory

io.github.cnkang/qdrant-memory

Persistent scoped Qdrant memory for agents, through four explicit stdio MCP tools.

Documentation

Qdrant Memory MCP

One Memory. Multiple Agents. No Lock-in.

For Codex and other non-Hermes agents, the primary path is the public stable stdio MCP distribution. Start with the quickstart (中文): qdrant-memory-mcp==0.3.7 pins Runtime 0.7.3 and exposes four explicit memory tools. Hermes users should use the native Plugin Catalog guide.

MCP 0.3.7 is published on PyPI and the MCP Registry. Its exact client argument prefix is ["--from", "qdrant-memory-mcp==0.3.7", "qdrant-memory-mcp"].

Durable, portable, and permission-aware memory for AI agents — distributed as an MCP adapter over the Qdrant Memory Runtime.

For shared production deployments, read the deployment security guide. Owner-only database write credentials are required independently of MCP grants. Configure destination protection and shared doctor before deployment. See the Owner support record for support limits.

One Memory, Multiple Agents — opt-in shared owner

The distribution adds an opt-in single-owner service and stdio bridge. Install Runtime 0.7.3 to use them. See shared integration guide. Private defaults are unchanged. Native Provider automatic shared extraction is deferred.

A WorkBuddy connector and a DeepSeek Harness bundle reuse this stdio MCP, the managed launcher and the canonical Skill.

简体中文

Published paths and verification

PathPublished artifact and pinCurrent status and acceptance boundary
Stable stdio MCPPyPI qdrant-memory-mcp==0.3.7, Runtime 0.7.3Public stable release on PyPI and the MCP Registry; release acceptance uses isolated profiles and a deterministic embedding fixture. This does not establish every live model/provider combination.
Codex pluginCandidate 0.1.4; MCP 0.3.5, Runtime 0.7.1 (cc5cac025f5d18afb5c698b2b5db444e30fc240e), Skill 0.4.6 (2cb0b4d61ba2aae9a04c9eaf571f804918e151ce)Not submitted to the public plugin directory. Official Codex CLI checks are recorded; Desktop GUI and native-memory adoption are separate.
DSH BundlePublic npm prerelease @cnkang/qdrant-memory-dsh-bundle@0.2.0-rc.6; DSH 0.2.2-rc.1, launcher 0.1.0-rc.15, Runtime 0.7.3Protected live-model/Cloud and Desktop GUI acceptance remain incomplete.
WorkBuddy connectorGitHub release workbuddy-v0.2.6; launcher 0.1.0-rc.10, Runtime 0.6.2, Skill 0.4.4Exact-tag packaging and protocol gates passed. Marketplace GUI import, clean-machine provisioning and full application restart remain unverified.

The host adapters keep independent versions. A candidate or npm-installable RC does not imply model, Cloud, Desktop or marketplace acceptance. See each linked host guide and its evidence before choosing an adapter.

Persistent, scoped memory for AI agents through four explicit stdio MCP tools. This repository distributes the existing Python Runtime. Its metadata-only wheel contains no Python business implementation. The console script points directly to qdrant_memory.standalone:main and depends on hermes-plugin-qdrant-memory[mcp]==0.7.3.

See 0.3.7 release notes for the Runtime pin and upgrade guidance.

Before using an exact-version installation command, confirm that version on the PyPI release page. The published 0.3.5 guide remains available for the previous release.

Versions: MCP distribution 0.3.7 pins Runtime 0.7.3, which supports MCP Python SDK 1.x and 2.x (mcp>=1.30,<3). The four scoped tools and stdio launch arguments are the same for both SDK majors. The commands below use these exact versions. Release artifacts are available through the distribution PyPI page and Runtime PyPI page. See release checklist for the publishing sequence.

Runtime, optional Agent Skill and MCP distribution versions are independent. The Skill is usage guidance, not a runtime dependency. Hermes retains its native MemoryProvider, automatic extraction and prefetch. Ordinary MCP performs only explicitly requested memory operations. It does not automatically extract every conversation turn.

Harness support matrix

Verification levels: configuration example only, protocol-level tested, official SDK/CLI tested, real host tested, real desktop GUI tested, not verified.

HostNative ProviderExplicit MCP toolsAutomatic captureAutomatic recallShared OwnerRemote accessVerification
HermesYesYes (via standalone)YesYesOpt-inYesReal host tested
OpenCodeNoYesNoNoVia OwnerYesReal host tested (dual-device)
PiNoYes (extension)Opt-in adapterOpt-in adapterVia OwnerYesReal host tested
DeepSeek HarnessNo (lifecycle adapter)Yes (DSH bundle)Opt-in previewOpt-in previewVia OwnerYesBundle 0.2.0-rc.6 published on npm; real model/Cloud/Desktop acceptance incomplete
WorkBuddyNoYes (connector)NoNoVia OwnerYesConnector 0.2.6 packaging/protocol passed; GUI Marketplace, clean-machine and restart unverified
CodexNoYesNoNoVia OwnerYesCandidate 0.1.4; official CLI tested, public directory not submitted
VS Code CopilotNoYes (four MCP tools)NoNoVia OwnerYesCI config/protocol PASS; Copilot CLI 1.0.112 PASS; VS Code 1.146.0 Copilot desktop add/restart recall PASS; GitHub Registry one-click install NOT VERIFIED

This distribution does not auto-extract conversations for any MCP host. Automatic capture and recall require a native provider or a lifecycle adapter. DSH automatic features are opt-in; the published npm prerelease is installable, while full live-model/Cloud and Desktop GUI acceptance remain pending. See the Codex validation record for the tested CLI, source revisions and model providers; desktop GUI and native-memory adoption are separate verification boundaries.

Stable stdio installation

Follow the fixed-version quickstart (中文) for environment checks, the dedicated profile, init, doctor, model reuse, client configuration and tool-level write/search/reconnect verification. Complete package preparation and profile checks in a terminal before connecting the host; the client connection must not be used to install, download models, initialize an existing collection or migrate data. Hermes profiles should use the native provider documented in the Runtime installation guide.

The current published MCP distribution is qdrant-memory-mcp==0.3.7, pinned to public Runtime 0.7.3. Verify the exact version on PyPI and the MCP Registry before installing it.

Qdrant embedded, self-hosted server and Cloud, plus Ollama and OpenAI-compatible embeddings, are configured in the Runtime's configuration reference. Keep credentials in operator environment variables (QDRANT_API_KEY, EMBEDDING_API_KEY, or configured names). Never commit their values. Initialization against an existing collection requires explicit operator choice. Do not use a production destination for a first test.

Connect a client

Codex config.toml example:

[mcp_servers.qdrant_memory]
command = "uvx"
args = ["--from", "qdrant-memory-mcp==0.3.7", "qdrant-memory-mcp", "--home", "/path/to/profile", "mcp"]

OpenCode opencode.json example:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "qdrant_memory": {
      "type": "local",
      "command": ["uvx", "--from", "qdrant-memory-mcp==0.3.7", "qdrant-memory-mcp", "--home", "/path/to/profile", "mcp"],
      "enabled": true
    }
  }
}

Pi needs a separately installed MCP client/extension. In that extension, use command: uvx and the same argument list. No built-in Pi MCP support or universal extension config format is claimed. These are configuration examples. This protocol acceptance tests use the official Python MCP SDK. Host-specific evidence is recorded separately in the architecture and support boundaries and the Runtime's client evidence and limits.

Tools and boundaries

ToolInputResult
qdrant_memory_searchquery, optional categoryScoped memories with IDs, scores and provenance
qdrant_memory_addtextDurable memory ID
qdrant_memory_updateexact id, replacement textScoped replacement
qdrant_memory_deleteexact idScoped deletion

Scope is fixed by the operator's profile (user_id, agent_id). Model inputs and MCP client identity cannot override it. Knowing an ID does not grant access. Migration, export, reset and bulk deletion remain trusted operator CLI commands. See standalone maintenance. No resources or prompts are advertised. This is a local subprocess, with no public HTTP/SSE listener or remote authentication service. Stdout is reserved for protocol messages, with sanitized diagnostics on stderr.

Data flows from client → Runtime → embedding provider → Qdrant and the local SQLite ledger. With local Ollama and embedded Qdrant, memory processing stays local. Cloud embedding receives memory/query text, and cloud Qdrant receives vectors and stored payloads. The client/model may also receive recalled text. The operator must authorize retention and access and protect the profile files.

One writer lease coordinates a profile/destination. Do not overlap MCP, CLI or Hermes processes writing to it. Separate profiles or machines do not provide a distributed lock. This package does not support uncoordinated multiprocess writes, auto-extraction, an HTTP transport, or implicit credential discovery from Hermes. It preserves the Runtime's ledger, IDs and recovery semantics.

Concepts and evidence

Validation reports apply to their recorded versions, workloads and host environments. Short protocol or cloud runs do not establish 24-hour acceptance for a new release.

Verification and development

CI builds wheel/sdist, checks metadata and ownership marker. It runs installed protocol tests with temporary profiles, embedded Qdrant and a deterministic loopback embedding fixture on Linux/macOS/Windows, Python 3.11 and 3.14. No test connects to personal Qdrant, Hermes profiles or memory data. These tests cover initialize, discovery, four tools, persistence, recovery, scope isolation, error redaction and protocol stdout. Provider/cloud compatibility evidence belongs to the Runtime.

CI prefers the immutable Runtime PyPI release. Before a Runtime release reaches PyPI, CI builds a wheel from the immutable revision recorded in runtime-source.json. This is only a preparation fixture: published dependency metadata always uses the exact PyPI version. Release workflow acceptance requires installation from PyPI and never uses that fallback.

See CI and dependency maintenance, publishing, architecture, and the optional Skill.

Dependency boundary

The runtime dependency is only hermes-plugin-qdrant-memory[mcp]. The sdist includes the Python acceptance tests, apart from harnesses that need an external Runtime checkout, DSH client assets, or Node fixtures the sdist does not carry; selected harness lockfiles and Node-only .mjs tests are excluded. The wheel remains metadata-only. Development dependencies are declared under [project.optional-dependencies].dev and are not installed for end users.

WorkBuddy and DeepSeek Harness

Use the WorkBuddy connector or the DSH installation guide for explicit durable memory. Both reuse the Python Runtime, the four MCP tools and the canonical Skill. The published managed launcher prepares private Python and CPU-model dependencies with Node.js. Thus, the managed routes do not require a system Python, uvx or Ollama installation. The DSH Bundle is distributed as @cnkang/qdrant-memory-dsh-bundle. Existing Hermes profiles and defaults are unchanged. See architecture and version matrix and validation limits.

PYPI
qdrant-memory-mcp
Install Command
pip install qdrant-memory-mcp
Runtime: uvx