Memory MCP Server
MCP server for providing context preservation to LLMs
Features
- Uses PostgreSQL as storage backend
- Supports vector search (requires pgvector)
- Uses all-minilm-l6-v2 for embedding vector generation
Power your agent
पब्लिशर का इंस्टॉल। PlugMCP एंडपॉइंट नहीं।
Host a copy with our keys and logs.
रजिस्ट्री में अभी कोई पैकेज्ड रिलीज़ नहीं है। रिपॉज़िटरी का README देखें.
रिमोट URL या आपकी मशीन पर कमांड? दोनों इंस्टॉल में क्या अंतर है
PlugMCP पर चलाएँ
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
लॉन्चपब्लिशर से
MCP server for providing context preservation to LLMs
Memory MCP server for persistent context storage and retrieval with PostgreSQL and pgvector.
You need to place the model.onnx file of all-minilm-l6-v2 into the ./assets directory, and use the script provided by burn-onnx to upgrade the model to opset version 16.
If output verification is needed, you need to place the pytorch_model.bin of all-minilm-l6-v2 into the ./assets directory, and use the test.py script to create embedding outputs.
cargo build --release
cargo build --release --features gpu
The runtime --gpu flag only takes effect when the binary is built with --features gpu.
The server supports both CLI arguments and environment variables. The .env file is loaded automatically at startup.
cargo run --release -- \
--host 0.0.0.0 \
--port 9180 \
--max-search-results 20
Enable GPU at runtime (only valid when built with --features gpu):
cargo run --release --features gpu -- --gpu
Run database migrations only (do not start MCP server):
cargo run --release -- --migrate-only --db-url postgres://postgres:password@localhost/memory_mcp_db
Example .env:
DATABASE_URL=postgres://postgres:password@localhost/memory_mcp_db
MAX_SEARCH_RESULTS=20
ALLOWED_HOSTS=localhost,127.0.0.1
ALLOWED_ORIGINS=
RUST_LOG=info
Note: when both CLI arguments and environment variables are provided, CLI arguments take precedence.
This project uses model assets from sentence-transformers/all-MiniLM-L6-v2 on Hugging Face.
assets/all-MiniLM-L6-v2-LICENSE.txtTHIRD_PARTY_NOTICES.mdThe Docker build process uses the repository model asset (assets/model.onnx, managed by Git LFS) during compile time.
The model data is embedded into the compiled binary, so runtime distribution does not require shipping model/tokenizer files under assets/.
This project publishes Linux x86_64 static binaries via GitHub Actions CI.
GitHub Releases currently contain a single Linux artifact built for x86_64-unknown-linux-musl.
When distributing the Linux release binary (for example via GitHub Releases), distributors should also provide:
LICENSE for this project;THIRD_PARTY_NOTICES.md;assets/all-MiniLM-L6-v2-LICENSE.txt.For this project, Linux release archives do not need to include model files from assets/ because the model is embedded in the binary.
Designed based on a unified core table structure to replace dynamic table creation which easily leads to Catalog bloat. The system currently contains two core tables:
documents: Stores metadata of document collections (categories).memory_items: Stores specific memory vector chunks.documents table structure:
CREATE TABLE documents (
id bigserial PRIMARY KEY,
name TEXT NOT NULL UNIQUE,
description TEXT,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
memory_items table structure:
CREATE TABLE memory_items (
id bigserial PRIMARY KEY,
document_id BIGINT NOT NULL REFERENCES documents(id) ON DELETE CASCADE,
summary TEXT NOT NULL,
summary_embedding vector(384),
content TEXT NOT NULL,
content_embedding vector(384),
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
Memory MCP server for persistent context storage and retrieval with PostgreSQL and pgvector.
टूल
अभी टूल सूची नहीं है। रिमोट सर्वर को पहले हेल्थ चेक के बाद सूची मिलती है।
FAQ
इस पेज पर Cursor, Claude Desktop, Claude Code या VS Code के लिए stdio कॉन्फ़िग कॉपी करें। यह पब्लिशर का इंस्टॉल इस्तेमाल करता है, PlugMCP प्रॉक्सी नहीं।
इस रिकॉर्ड में कोई ज़रूरी एनवायरनमेंट वेरिएबल दर्ज नहीं है।
Memory stdio पर लोकल चलता है।
पिछली जाँच 2026-10-26 को हुई। Memory MCP server for persistent context storage and retrieval with PostgreSQL and pgvector.