basezap-mcp
Allows resolving Farcaster usernames to their verified wallet addresses, and building unsigned tip calldata for tipping creators on Farcaster via the BaseZap platform.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@basezap-mcp resolve Farcaster username @dwr"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
basezap-mcp
An MCP (Model Context Protocol) server that exposes BaseZap's tipping-agent tools to any MCP client — Claude Desktop, Cursor, Claude Code, etc.
This server is read-only / non-custodial by design: it never holds private keys, never signs anything, and never broadcasts a transaction. It only fetches platform info, computes fee quotes, and builds unsigned ERC-20 transfer calldata for a separate wallet-connected client to sign and send.
Tools
get_platform_info— chain, USDC address, platform fee (bps), fee wallet.get_tip_quote— given a USDC amount, returns the exact creator/platform fee split.build_tip_calldata— given a recipient address + amount, returns unsigned calldata for both legs of a tip. Never signs or sends anything.resolve_farcaster_username— resolves a Farcaster username to their verified wallet address (uses BaseZap's/api/resolve-userendpoint directly).
Related MCP server: Base MCP Server
Install
npm install --ignore-scripts
npm run build(--ignore-scripts avoids native-module build issues on some environments,
e.g. Termux/Android — harmless to use anywhere.)
Running standalone (for testing)
npm startOr test a single tool call directly over stdio without any MCP client:
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_tip_quote","arguments":{"amountUsdc":1}}}' | node build/index.jsClaude Desktop config
Add this to your claude_desktop_config.json (Settings → Developer → Edit Config):
{
"mcpServers": {
"basezap": {
"command": "node",
"args": ["/absolute/path/to/basezap-mcp/build/index.js"],
"env": {
"BASEZAP_USE_X402": "false"
}
}
}
}Replace the path with the real absolute path to build/index.js on your
machine. Restart Claude Desktop after editing the config.
Free vs. paid (x402) mode
By default (BASEZAP_USE_X402=false or unset), the server calls BaseZap's
free endpoint (/api/agent). Set BASEZAP_USE_X402=true to route calls
through the paid x402 endpoint instead ($0.001 USDC per call).
Important: setting BASEZAP_USE_X402=true alone does NOT make the server
pay automatically — you'll get a clear HTTP 402 Payment Required error on
every call unless you've separately set up auto-pay (see below) or are using
an MCP client/gateway that already handles x402 payment for you.
Optional: x402 auto-pay
See AUTOPAY.md for a from-scratch guide to making this server pay its own
x402 fees automatically using a funded wallet. Read it carefully before
using it — it involves putting a real private key in an environment
variable, and a misconfigured auto-pay server can silently spend real money
on every tool call. It is NOT wired in by default, and you should understand
exactly what it does before enabling it.
Verified request contract
The exact request/response shape this server relies on was confirmed live
against the real /api/agent endpoint (not assumed from documentation):
{ "tool": "get_tip_quote", "args": { "amount_usdc": 1 } }returns:
{ "total_usdc": 1, "creator_receives_usdc": 0.95, "platform_fee_usdc": 0.05, "platform_fee_bps": 500 }Note the API itself uses snake_case field names inside args — this server's
MCP tool inputs use friendly camelCase (amountUsdc) and translate
internally, so this is only relevant if you're modifying the server itself.
Available Tools
4 toolsbuild_tip_calldataA
Given a recipient address and a USDC amount, returns UNSIGNED ERC-20 transfer calldata for both legs of a BaseZap tip (creator leg + platform fee leg). This tool never holds keys, never signs, and never broadcasts anything — the returned calldata must be signed and sent by a separate wallet-connected client.
Inputs: recipient (required), amountUsdc (required).
get_platform_infoA
Returns BaseZap's static platform configuration: chain, USDC contract address, platform fee (basis points), and the platform fee wallet address. Read-only, no arguments needed.
Inputs: no named parameters.
get_tip_quoteA
Given a USDC tip amount, returns the exact fee split: how much the creator/recipient receives vs. how much goes to BaseZap's platform fee wallet. Does not send anything — quote only.
Inputs: amountUsdc (required).
resolve_farcaster_usernameA
Resolves a Farcaster username (with or without @) to their profile info and verified wallet address on Base. Useful for looking up a tip recipient's address before calling build_tip_calldata.
Inputs: username (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: platform info, tip quote, calldata building, and username resolution. There is no overlap or ambiguity.
All tools follow a consistent verb_noun pattern in snake_case: get_platform_info, get_tip_quote, build_tip_calldata, resolve_farcaster_username. No mixing of conventions.
Four tools is well-scoped for a focused tipping service. Each tool earns its place, covering the essential operations without unnecessary bloat.
The tool surface covers the full workflow for preparing a tip: platform config, fee quote, address resolution, and calldata generation. The omission of signing and broadcasting is intentional and not a gap.
Maintenance
Related MCP Connectors
Read-only MCP gateway. Paid verify is $0.01 USDC on Base.
Paid MCP tools behind one endpoint. Agents pay per call in USDC on Base via x402.
PHANTOM ID MCP payment server: agent-to-agent USDC payments on Base.
Monetize any MCP server: x402 paywall, pay-per-call billing in USDC on Base, agent marketplace.
Related MCP Servers
- AlicenseBqualityBmaintenanceMCP server exposing x402 Bazaar's paid Base APIs (token risk/honeypot, prices, gas, wallet intel, tx decode + AI utilities) as agent tools. Your agent pays per call in USDC over x402 — no API keys, no signup.17159 npmMIT
- AlicenseAqualityDmaintenanceA read-only MCP server that lets any MCP-compatible AI agent inspect wallets and contracts on Base directly through natural conversation.6MIT
- FlicenseAqualityCmaintenanceMCP server for a live x402 payment gateway on Base (USDC). Lets AI agents discover, preview for free, then pay per call — with prepaid gasless payments, signed receipts, and delta delivery.7-
- AlicenseNot gradedqualityDmaintenanceMCP server exposing TaskMarket's public, read-only discovery tools so agents can browse and inspect funded onchain tasks on Base without a wallet.MIT