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

iflow_mcp_unibaseio_membase_mcp-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

File details

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

File metadata

  • Download URL: iflow_mcp_unibaseio_membase_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_unibaseio_membase_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 015453db2cc8e64cf8e07638ffa48d787838397fcfc0bd944e9283935229e8fc
MD5 6d415f31d5d286dc8990b6da4acd0361
BLAKE2b-256 b92fb304b4602ae7d0d30d887920d724ef650e4437dd5f59593ef7caad1b9034

See more details on using hashes here.

File details

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

File metadata

  • Download URL: iflow_mcp_unibaseio_membase_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_unibaseio_membase_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3cffd747f638de491b55eebe10ae3665e8c17a82bb18b6423866efca2c8ca0fb
MD5 1e3ad41dac1316e854c7330c8c002b04
BLAKE2b-256 f253b2cd46cfa4ece118b94489ec2a94c3ad22c2a54bcb5079fbd69051491f47

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