basezap-mcp
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— チェーン、USDCアドレス、プラットフォーム手数料(bps)、手数料ウォレット。get_tip_quote— USDC金額を指定すると、正確なクリエイター/プラットフォーム手数料の分割を返します。build_tip_calldata— 受取人アドレスと金額を指定すると、チップの両方のレッグに対する未署名のcalldataを返します。署名や送信は一切行いません。resolve_farcaster_username— Farcasterユーザー名を解決して、その検証済みウォレットアドレスを取得します(BaseZapの/api/resolve-userエンドポイントを直接使用)。
Related MCP server: x402-bazaar-mcp
Install
npm install --ignore-scripts
npm run build(--ignore-scriptsは一部の環境(例:Termux/Android)でのネイティブモジュールビルドの問題を回避します。どこでも安全に使用できます。)
Running standalone (for testing)
npm startまたは、MCPクライアントなしでstdio経由で単一のツール呼び出しを直接テストする:
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_tip_quote","arguments":{"amountUsdc":1}}}' | node build/index.jsClaude Desktop config
これをclaude_desktop_config.jsonに追加します(設定 → 開発者 → 設定を編集):
{
"mcpServers": {
"basezap": {
"command": "node",
"args": ["/absolute/path/to/basezap-mcp/build/index.js"],
"env": {
"BASEZAP_USE_X402": "false"
}
}
}
}パスを実際のマシン上のbuild/index.jsの絶対パスに置き換えてください。設定編集後、Claude Desktopを再起動してください。
Free vs. paid (x402) mode
デフォルト(BASEZAP_USE_X402=falseまたは未設定)では、サーバーはBaseZapの無料エンドポイント(/api/agent)を呼び出します。BASEZAP_USE_X402=trueに設定すると、代わりに有料のx402エンドポイント(1回の呼び出しにつき$0.001 USDC)を経由するようになります。
重要:BASEZAP_USE_X402=trueを設定するだけでは、サーバーが自動的に支払うようにはなりません。別途自動支払いを設定するか(下記参照)、すでにx402支払いを処理するMCPクライアント/ゲートウェイを使用していない限り、呼び出しごとに明確なHTTP 402 Payment Requiredエラーが発生します。
Optional: x402 auto-pay
資金が入ったウォレットを使用してこのサーバーが自身のx402手数料を自動的に支払うようにするためのゼロからのガイドはAUTOPAY.mdを参照してください。使用する前に注意深く読んでください。実際の秘密鍵を環境変数に入れる必要があり、設定を誤った自動支払いサーバーはすべてのツール呼び出しで静かに実際のお金を消費する可能性があります。デフォルトでは有効になっておらず、有効にする前にその動作を正確に理解する必要があります。
Verified request contract
このサーバーが依存する正確なリクエスト/レスポンスの形状は、実際の/api/agentエンドポイントに対してライブで確認されました(ドキュメントから推測したものではありません)。
{ "tool": "get_tip_quote", "args": { "amount_usdc": 1 } }は以下を返します:
{ "total_usdc": 1, "creator_receives_usdc": 0.95, "platform_fee_usdc": 0.05, "platform_fee_bps": 500 }API自体はargs内でsnake_caseのフィールド名を使用していることに注意してください。このサーバーのMCPツール入力は親しみやすいcamelCase(amountUsdc)を使用し、内部で変換するため、これはサーバー自体を変更する場合にのみ関連します。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for pay-per-call DeFi and crypto data via x402 micropayments on Base. 8 endpoints: token prices, TVL, funding rates, token security, gas tracker, whale monitoring, wallet profiling, and yield scanning.846MIT
- AlicenseBqualityAmaintenanceMCP 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.17218MIT
- AlicenseAqualityBmaintenanceA read-only MCP server that lets any MCP-compatible AI agent inspect wallets and contracts on Base directly through natural conversation.6MIT
- FlicenseAqualityBmaintenanceMCP 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
Related MCP Connectors
Monetize any MCP server: x402 paywall, pay-per-call billing in USDC on Base, agent marketplace.
Agent-commerce MCP server for x402/USDC payments and affiliate splits on Base.
MCP marketplace: agents pay per call in USDC via x402. Plus Base chain data and a USDC<->bank ramp.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/afifarioss/basezap-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server