@Manasdb/ Server
БесплатноНе проверенProvides a plug-and-play persistent memory layer for MCP-compatible AI assistants, enabling them to store, retrieve, and delete memories across multiple databas
Описание
Provides a plug-and-play persistent memory layer for MCP-compatible AI assistants, enabling them to store, retrieve, and delete memories across multiple databases simultaneously using semantic vector search.
README
npm version npm downloads Node.js TypeScript MCP Compatible License Powered by ManasDB
ManasDB = Memory Layer for AI Agents.
AI agents today lack persistent memory. @manasdb/mcp-server provides a plug-and-play memory layer for MCP-compatible assistants like Claude and Cursor — powered by ManasDB's unique polyglot storage architecture.
With a single MCP server, AI agents can:
- 🧠 Store memories across multiple databases simultaneously
- 🔍 Retrieve context with semantic vector search
- 🗑️ Delete outdated knowledge on demand
No custom integration. No boilerplate. Just one command.
Quick Start
npx @manasdb/mcp-server setup
This drops you into an interactive setup wizard that generates a ready-to-paste claude_desktop_config.json snippet in under 60 seconds.
Architecture
AI Assistant (Claude / Cursor / Any MCP Client)
│
│ MCP Protocol (stdio)
▼
@manasdb/mcp-server
│
│ Tools: memorize · recall · forget
▼
@manasdb/core ◄── Embeddings (Transformers / Ollama / Gemini / OpenAI)
│
┌───┴──────────────────┬────────────────────┐
▼ ▼ ▼
MongoDB PostgreSQL Redis / ES
(coming soon)
ManasDB is AI Memory Infrastructure. The components are:
| Package | Role |
|---|---|
@manasdb/core |
Core library: chunking, embedding, polyglot storage |
@manasdb/mcp-server |
MCP Server: exposes tools to AI assistants |
| Database Adapters | MongoDB, PostgreSQL (built-in), Redis, Elasticsearch (planned) |
Why ManasDB?
| Feature | ManasDB | Mem0 | memGPT | LangChain |
|---|---|---|---|---|
| Polyglot Storage | ✔ | ✘ | ✘ | ✘ |
| Multiple DBs simultaneously | ✔ | ✘ | ✘ | ✘ |
| Deduplicated Retrieval | ✔ | Limited | Limited | Limited |
| Local Embedding (Ollama) | ✔ | ✘ | ✘ | Limited |
| Agent Tools (MCP) | ✔ | Partial | Partial | Partial |
| Zero Cloud Lock-in | ✔ | ✘ | ✘ | ✘ |
Supported Databases
| Database | Status | Provider Type |
|---|---|---|
| MongoDB (Atlas / Local) | ✅ Stable | mongodb |
| PostgreSQL (pgvector) | ✅ Stable | postgres |
| Redis | 🔜 Coming Soon | redis |
| Elasticsearch | 🔜 Coming Soon | elasticsearch |
Example Interaction
Here is how it works end-to-end in Claude Desktop:
User: Remember my name is Akshay.
Claude → memorize called
{
"text": "User name is Akshay"
}
✅ Successfully memorized the context across all healthy database providers.
Later in a new conversation...
User: What is my name?
Claude → recall called
{
"query": "user name"
}
Claude: Your name is Akshay.
Setup & Configuration
For deeper information on how ManasDB's polyglot memory, chunking, and retrieval algorithms work, see the primary SDK: @manasdb/core.
Interactive Setup (Recommended)
npx @manasdb/mcp-server setup
The wizard will ask you for:
- Project Name
- MongoDB URI
- PostgreSQL URI
- Embedding Model Source (
transformers,ollama,gemini,openai) - Model Name (e.g.
nomic-embed-text:latestfor Ollama) - Enable Telemetry
It then outputs a ready-to-use claude_desktop_config.json snippet.
Manual Configuration
Pass the full config to as a --manas-config argument or set MANAS_DB_CONFIG as an environment variable. The config supports all @manasdb/core options:
{
"databases": [
{
"type": "mongodb",
"uri": "mongodb://localhost:27017",
"dbName": "my_app"
},
{ "type": "postgres", "uri": "postgresql://localhost:5432/postgres" }
],
"projectName": "knowledge_base",
"modelConfig": { "source": "ollama", "model": "nomic-embed-text:latest" },
"telemetry": true,
"debug": false
}
Integrations
Claude Desktop
{
"mcpServers": {
"manasdb": {
"command": "npx",
"args": [
"-y",
"@manasdb/mcp-server",
"--manas-config={\"databases\":[{\"type\":\"mongodb\",\"uri\":\"mongodb://...\"}],\"modelConfig\":{\"source\":\"transformers\"}}"
]
}
}
}
Cursor
- Open Settings → Features → MCP Servers
- Click + Add new MCP Server
- Type:
command - Command:
npx -y @manasdb/mcp-server --manas-config="{...}"
Available Tools
| Tool | Description | Input |
|---|---|---|
memorize |
Store information into ManasDB | { "text": "..." } |
recall |
Retrieve context semantically. Returns results with contentId for each memory. |
{ "query": "..." } |
forget |
Permanently delete a memory from all databases by its contentId (returned by recall). |
{ "contentId": "..." } |
Tip: Use
recallfirst to find thecontentIdof the memory you want to delete, then pass it toforget.
License
See LICENSE.
Установка @Manasdb/ Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/manasdb/mcp-serverFAQ
@Manasdb/ Server MCP бесплатный?
Да, @Manasdb/ Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для @Manasdb/ Server?
Нет, @Manasdb/ Server работает без API-ключей и переменных окружения.
@Manasdb/ Server — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить @Manasdb/ Server в Claude Desktop, Claude Code или Cursor?
Открой @Manasdb/ Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare @Manasdb/ Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
