MCP.so
登录

MCP Memory Server

@sdimitrov

基本信息

分类

记忆与知识

传输方式

stdio

作者

sdimitrov

关于 MCP Memory Server

MCP Memory Server with PostgreSQL and pgvector for long-term memory capabilities

MCP Memory Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

MCP Memory Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Memory Server?

MCP Memory Server implements long-term memory capabilities for AI assistants using mem0 principles, powered by PostgreSQL with pgvector for efficient vector similarity search. It provides RESTful endpoints for memory operations, semantic search, and real-time updates via Server-Sent Events.

How to use MCP Memory Server?

Install dependencies with npm install, configure the DATABASE_URL environment variable (requires PostgreSQL 14+ with pgvector extension and Node.js 16+), run npm run prisma:migrate to initialize the database, then start with npm start. To use with Cursor, add the server to ~/.cursor/mcp.json with the node command pointing to src/server.js. Invoke memory operations via HTTP endpoints (POST /mcp/v1/memory, GET /mcp/v1/memory/search, etc.).

Key features of MCP Memory Server

  • PostgreSQL with pgvector for vector similarity search
  • Automatic embedding generation using BERT
  • RESTful API for memory operations (create, search, list)
  • Support for different memory types (learnings, experiences, etc.)
  • Tag-based memory retrieval and confidence scoring
  • Server-Sent Events (SSE) for real-time updates
  • Cursor MCP protocol compatible

Use cases of MCP Memory Server

  • Persisting AI assistant learnings across conversations
  • Semantic search over stored knowledge with vector similarity
  • Real-time monitoring of memory creation and updates
  • Organizing memories by type, source, and tags for structured retrieval

常见问题

1

What runtimes and databases are required?

PostgreSQL 14+ with the pgvector extension installed, and Node.js 16+.

2

How is data stored and retrieved?

Data is stored in PostgreSQL with vector embeddings (384 dimensions) generated by BERT. Retrieval supports semantic search, tag filtering, and confidence scoring.

3

Does the server support real-time updates?

Yes, via Server-Sent Events (SSE) at the `/mcp/v1/sse` endpoint. Events include `memory.created` and `memory.updated`.

4

How do I connect the server to Cursor?

Add a `memory` entry to `~/.cursor/mcp.json` with the command `node` and the argument set to the absolute path of `src/server.js` in the installed server directory.

5

What transport and authentication are used?

The server communicates over HTTP (REST) with a JSON response format. No authentication mechanism is described; it runs locally with a configurable port (default 3333).

评论

记忆与知识 分类下的更多 MCP 服务器