basezap-mcp
A read-only MCP server that exposes BaseZap's tipping-agent tools to any MCP client, allowing users to fetch platform info, compute USDC tip quotes, build unsigned ERC-20 transfer calldata, and resolve Farcaster usernames to wallet addresses.
README
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).
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 start
Or 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.js
Claude 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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。