unibaseio
MCP Serverunibaseiopublic

membase mcp

A lightweight decentralized memory gateway that connects AI agents to Membase for persistent, verifiable multi-session memory.

Repository Info

10
Stars
3
Forks
10
Watchers
1
Issues
Python
Language
-
License

About This Server

A lightweight decentralized memory gateway that connects AI agents to Membase for persistent, verifiable multi-session memory.

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

membase mcp server

Description

Membase is the first decentralized memory layer for AI agents, powered by Unibase. It provides secure, persistent storage for conversation history, interaction records, and knowledge — ensuring agent continuity, personalization, and traceability.

The Membase-MCP Server enables seamless integration with the Membase protocol, allowing agents to upload and retrieve memory from the Unibase DA network for decentralized, verifiable storage.

Functions

Messages or memoiries can be visit at: https://testnet.hub.membase.io/

  • get_conversation_id: Get the current conversation id.
  • switch_conversation: Switch to a different conversation.
  • save_message: Save a message/memory into the current conversation.
  • get_messages: Get the last n messages from the current conversation.

Installation

git clone https://github.com/unibaseio/membase-mcp.git
cd membase-mcp
uv run src/membase_mcp/server.py

Environment variables

  • MEMBASE_ACCOUNT: your account to upload
  • MEMBASE_CONVERSATION_ID: your conversation id, should be unique, will preload its history
  • MEMBASE_ID: your instance id

Configuration on Claude/Windsurf/Cursor/Cline

{
  "mcpServers": {
    "membase": {
      "command": "uv",
      "args": [
        "--directory",
        "path/to/membase-mcp",
        "run", 
        "src/membase_mcp/server.py"
      ],
      "env": {
        "MEMBASE_ACCOUNT": "your account, 0x...",
        "MEMBASE_CONVERSATION_ID": "your conversation id, should be unique",
        "MEMBASE_ID": "your sub account, any string"
      }
    }
  }
}

Usage

call functions in llm chat

  • get conversation id and switch conversation

!get conversation id and switch conversation

  • save message and get messages

!save message and get messages

Quick Start

1

Clone the repository

git clone https://github.com/unibaseio/membase-mcp
2

Install dependencies

cd membase-mcp
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerunibaseio
Repomembase-mcp
LanguagePython
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation