memo-mcp

memo-mcp

Enables AI agents to attach on-chain memos to payments on Base using the $MEMO token. Supports sending, reading, and querying memos joined to transactions.

Category
Visit Server

README

memo-mcp

An MCP server that lets AI agents attach on-chain memos to payments on Base, using the native B20 memo feature. Built to make $MEMO the agent-native "pen" for chain memos.

What it does

Wraps the B20 primitive:

transferWithMemo(address to, uint256 amount, bytes32 memo)
event Memo(address indexed caller, bytes32 indexed memo)

The Memo event is emitted immediately after the Transfer, so any memo joins back to the payment it annotates via logIndex - 1. This server does that join for you.

Tools

Tool Purpose
get_token_info name / symbol / decimals + the signer's balance
send_memo send a payment with an attached memo (needs a key)
read_memos read memos by txHash, or by caller over a block range — each joined to its payment (from / to / value)

Memos are bytes32: pass up to 32 UTF-8 bytes of text, or a raw 0x… bytes32.

Setup

npm install
cp .env.example .env      # fill in MEMO_TOKEN_ADDRESS (your $MEMO), and a key for sending
npm run build

Register with Claude Code

claude mcp add memo -- node /absolute/path/to/memo-mcp/dist/index.js

Or add to your MCP client config:

{
  "mcpServers": {
    "memo": {
      "command": "node",
      "args": ["/absolute/path/to/memo-mcp/dist/index.js"],
      "env": {
        "RPC_URL": "https://mainnet.base.org",
        "MEMO_TOKEN_ADDRESS": "0xYOUR_MEMO_TOKEN",
        "MEMO_PRIVATE_KEY": "0xYOUR_KEY_FOR_SENDING"
      }
    }
  }
}

Leave MEMO_PRIVATE_KEY out for a read-only server.

Example agent flow

  1. get_token_info → confirm you hold $MEMO
  2. send_memo { to, amount: "1", memo: "gm from an agent" } → returns tx hash + basescan link
  3. read_memos { caller: "0xYourAddr" } → your memos, each joined to its payment

Notes

  • Public RPCs cap getLogs block ranges. For wide caller scans, set MEMO_FROM_BLOCK (e.g. the $MEMO deploy block) or pass fromBlock.
  • read_memos by txHash is a single call and never hits range limits — prefer it when you have the hash.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured