I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

mem0-mcp-server-ts
A TypeScript implementation of the Mem0 MCP server for integration with various tools like Smithery, Cursor, and more.
3 years
Works with Finder
1
Github Watches
1
Github Forks
0
Github Stars
mem0 MCP Server
A TypeScript implementation of the Model Context Protocol (MCP) server for mem0, providing memory stream functionality with Mem0 integration.
Features
- Create memory streams with Mem0 integration
- Append content to memory streams
- Search memories using Mem0's semantic search
- Read from memory streams
- Resource-based access to memory streams
- Delete memory streams
Prerequisites
- Node.js and npm installed
- Mem0 API key (get one from mem0.ai)
Installation
npm install
Configuration
Set your Mem0 API key as an environment variable:
export MEM0_API_KEY=your-api-key-here
Building
npm run build
Running the Server
npm start
Testing
Run the test client to verify server functionality:
npm test
API
Tools
-
create-memory-stream
- Parameters:
-
name
: string -
initialContent
: string (optional) -
userId
: string (optional) - Mem0 user ID -
agentId
: string (optional) - Mem0 agent ID
-
- Returns: Stream ID and metadata
- Parameters:
-
append-to-stream
- Parameters:
-
streamId
: string -
content
: string -
role
: "user" | "assistant" (optional)
-
- Returns: Success confirmation
- Parameters:
-
search-memories
- Parameters:
-
query
: string -
userId
: string -
agentId
: string (optional) -
threshold
: number (optional)
-
- Returns: Search results from Mem0
- Parameters:
-
read-stream
- Parameters:
-
streamId
: string -
startIndex
: number (optional) -
endIndex
: number (optional)
-
- Returns: Stream content
- Parameters:
-
delete-stream
- Parameters:
-
streamId
: string
-
- Returns: Deletion confirmation
- Parameters:
Resources
-
memory://{streamId}
- Access memory stream content directly -
memory://
- List all memory streams
Development
The server is implemented using the MCP TypeScript SDK and provides integration with Mem0 for persistent memory storage and semantic search. To extend the implementation:
- Add more Mem0 features (e.g., memory tagging, metadata)
- Implement proper error handling
- Add authentication and authorization
- Add additional memory operations
License
MIT
相关推荐
Converts Figma frames into front-end code for various mobile frameworks.
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.
A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.
Mirror ofhttps://github.com/suhail-ak-s/mcp-typesense-server
本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。
Short and sweet example MCP server / client implementation for Tools, Resources and Prompts.
Reviews

user_eDGlrVFM
I've been using the Hologres MCP Server for a while, and it's truly impressive. The integration process was seamless, and its performance meets my expectations perfectly. The documentation provided by MCP-Mirror was excellent, ensuring a smooth experience. Highly recommended for anyone needing a robust server solution!