Content
# MMP-MCP (Model-Memory-Protocol MCP)
An open protocol implementation for AI model memory management, supporting the storage and retrieval of tree-structured memories.
## Introduction
MMP-MCP is the MCP implementation of the Model-Memory-Protocol, providing a complete set of API interfaces for managing the memory tree of AI models. MMP supports tree-structured memories, allowing for easy storage and retrieval of memories generated during interactions with AI models, enabling cross-session memory management.
## Features
- Create and manage memory collections
- Tree-structured memory storage
- Support for various content types (JSON, Markdown, XML, plain text)
- Memory node initialization management
- Batch operation support
## Installation
```bash
npm install mmp-mcp
# or
yarn add mmp-mcp
# or
pnpm add mmp-mcp
```
## Usage
### Start the MCP Server
```bash
npx mmp-mcp
```
Or use it in your code:
```typescript
import { startMMPServer } from 'mmp-mcp';
startMMPServer({
port: 8080,
endpoint: '/mmp'
});
```
### API Interfaces
MMP-MCP provides the following API interfaces:
- `memory.GetInitNodes`: Retrieve all nodes to be initialized
- `memory.Add`: Add memory
- `memory.Get`: Retrieve memory
- `memory.List`: Get memory list
- `memory.Update`: Update memory
- `memory.Delete`: Delete memory
- `memory.Batch`: Batch retrieve memory nodes
- `memManager.Create`: Create a new memory tree ID
- `memManager.ApplyTemplate`: Apply a template to a memory ID
For detailed API documentation, please refer to the OpenRPC specification.
## License
MIT
Connection Info
You Might Also Like
everything-claude-code
Complete Claude Code configuration collection - agents, skills, hooks,...
markitdown
MarkItDown-MCP is a lightweight server for converting URIs to Markdown.
servers
Model Context Protocol Servers
servers
Model Context Protocol Servers
Time
A Model Context Protocol server for time and timezone conversions.
Filesystem
Node.js MCP Server for filesystem operations with dynamic access control.