Memory Context Provider Server
内存上下文提供程序 (MCP) 服务器
管理 LLM 交互上下文的服务器,存储并为每个用户提供相关上下文。
特征
用户上下文的内存存储
使用最后 5 个提示进行上下文管理
RESTful API 端点
TypeScript 支持
Related MCP server: RAG Context MCP Server
设置
安装依赖项:
npm install启动开发服务器:
npm run dev
API 端点
POST /上下文/:用户ID
向用户上下文添加新提示并获取更新的上下文。
请求正文:
{
"prompt": "Your prompt here"
}回复:
{
"context": "Combined context from last 5 prompts"
}获取/上下文/:用户ID
获取用户的当前上下文。
回复:
{
"context": "Current context"
}删除/上下文/:用户ID
为用户提供清晰的背景。
回复:
{
"message": "Context cleared"
}发展
npm run dev:使用热重载启动开发服务器npm run build:构建 TypeScript 文件npm start:运行构建的文件
This server cannot be deployed
Related MCP Connectors
- memoryOAuthcom.leapmemory
Long-term memory for AI assistants. Isolated per-user storage, recall across conversations.
Memory for deep conversational context across any platform
past.dev is a long-term memory API for AI agents. Send it timestamped text such as emails, meeting transcripts and support tickets. Ask a question and get the current fact, the value it replaced and the source behind it. With this server, your assistant can recall and save memory and manage your past.dev account.
Cross-LLM persistent memory: store context once, recall it from any AI model.
Related MCP Servers
- FlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI assistants to interact with the Omi API for retrieving and creating conversations and memories for users.44-
- AlicenseNot gradedqualityDmaintenanceA lightweight server that provides persistent memory and context management for AI assistants using local vector storage and database, enabling efficient storage and retrieval of contextual information through semantic search and indexed retrieval.2MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides knowledge graph-based persistent memory for LLMs, allowing them to store, retrieve, and reason about information across multiple conversations and sessions.964,248 npm2MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that allows saving, retrieving, adding, and clearing memories from LLM conversations with MongoDB persistence.24 npm23MIT