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.
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.