Skip to main content

Add your description here

Project description

membase mcp server

Description

Unibase membase is the first decentralized memory layer for AI agents. It stores historical information, interaction records, and persistent data of agents, ensuring their continuity and traceability.

The membase mcp server enables seamless integration with the membase protocol for decentralized storage. It provides functionality to upload and download memory to/from the Unibase DA network.

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.0.tar.gz (2.1 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.0-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mseep_membase_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 2.1 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.0.tar.gz
Algorithm Hash digest
SHA256 22418c13578944cd0d7f27313b4c7ab19f043475f9383aaf7f53808070cda3e6
MD5 71df486cc078f427b87ef9c1a5e6238c
BLAKE2b-256 0595a72513b026190fc6d63ce622eef0ae2b46a053365988dff7fbbbd800e13f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mseep_membase_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a6d3f838f1cb5766eff2216ddde0da4c72609f6639984619ed8789f4463b74b
MD5 00900d2b2c3d0fb371ae8af75cc0f68f
BLAKE2b-256 5f7765f8bf6b5e6cca922f8447db973fa8122644a18bfe0ebbb45574b1b14fa8

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