mem0 MCP Server
mem0 MCP 服务器
用于 mem0 的模型上下文协议 (MCP) 服务器的 TypeScript 实现,通过 Mem0 集成提供内存流功能。
特征
使用 Mem0 集成创建内存流
将内容附加到内存流
使用 Mem0 的语义搜索来搜索记忆
从内存流读取
基于资源的内存流访问
删除内存流
Related MCP server: MCP-Mem0
先决条件
Node.js 和 npm 已安装
Mem0 API 密钥(从mem0.ai获取)
安装
npm install配置
将您的 Mem0 API 密钥设置为环境变量:
export MEM0_API_KEY=your-api-key-here建筑
npm run build运行服务器
npm start测试
运行测试客户端来验证服务器功能:
npm testAPI
工具
create-memory-stream参数:
name:字符串initialContent:字符串(可选)userId:字符串(可选)- Mem0 用户 IDagentId:字符串(可选)- Mem0 代理 ID
返回:流 ID 和元数据
append-to-stream参数:
streamId:字符串content:字符串role:“用户”|“助理”(可选)
返回:成功确认
search-memories参数:
query:字符串userId:字符串agentId:字符串(可选)threshold:数字(可选)
返回:来自 Mem0 的搜索结果
read-stream参数:
streamId:字符串startIndex:数字(可选)endIndex:数字(可选)
返回:流内容
delete-stream参数:
streamId:字符串
返回:删除确认
资源
memory://{streamId}- 直接访问内存流内容memory://- 列出所有内存流
发展
该服务器使用 MCP TypeScript SDK 实现,并与 Mem0 集成,用于持久内存存储和语义搜索。扩展实现方式如下:
添加更多 Mem0 功能(例如,内存标记、元数据)
实施适当的错误处理
添加身份验证和授权
添加额外的内存操作
执照
麻省理工学院
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA TypeScript implementation of a Model Context Protocol server that provides a frictionless framework for developers to build and deploy AI tools and prompts, focusing on developer experience with zero boilerplate and automatic tool registration.1,28414MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides AI agents with persistent memory capabilities through Mem0, allowing them to store, retrieve, and semantically search memories.679MIT
- AlicenseNot gradedqualityCmaintenanceA Model Context Protocol server that integrates AI assistants with Mem0.ai's persistent memory system, allowing models to store, retrieve, search, and manage different types of memories.16MIT
- -licenseNot gradedqualityNot gradedmaintenanceA TypeScript implementation of a Model Context Protocol server that enables real-time communication with LLM clients using Server-Sent Events (SSE) for transport and Bearer Token authentication for security.
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
An MCP memory server. One memory your agents share — across models, devices and apps.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sadiuysal/mem0-mcp-server-ts'
If you have feedback or need assistance with the MCP directory API, please join our Discord server