Skip to main content

Add your description here

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mseep_membase_mcp-0.1.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mseep_membase_mcp-0.1.1-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file mseep_membase_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: mseep_membase_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for mseep_membase_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9d7cb1239088bd7870d077af00fb87fede0ee1201ad798bbd83fdbd8b01819d1
MD5 cfba0312554c4cca3c7f6fb38abfc2ca
BLAKE2b-256 3c74db12de17618584c9590dab7d7b85832448c734c16d2308d96b0bd93355b4

See more details on using hashes here.

File details

Details for the file mseep_membase_mcp-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mseep_membase_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1b51bd796f892abccee9ac450d10b67c46b2ebcecac3fed539bba0920277c03b
MD5 8e92b73db4ed8ae5179c9b2ead5ec323
BLAKE2b-256 f43ff35d49d9f0c52f6942f81e1fb3dc1efaca94752dc960e20b78b18dd2f10c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page