કોઈપણ MCP client માટે agent wallet tools.
આધિકારિક Blockchain0x MCP server MCP-aware agent ને wallets વાંચવા, Base પર USDC મોકલવા, અને invoices settle કરવાની ક્ષમતા આપે છે. hosted endpoint connect કરો, અથવા તેને એક જ command સાથે સ્થાનિક રીતે ચલાવો.
https://mcp.blockchain0x.com/mcpએક server. પાંચ tools. દરેક MCP client.
Model Context Protocol એ AI clients - Claude Desktop, Cursor, Cline, અને others - દ્વારા external tools call કરવાની standard રીત છે. Blockchain0x MCP server તમારા agent wallets ને એ standard મારફતે expose કરે છે, જેથી કોઈપણ MCP client custom integration લખ્યા વિના money move કરી શકે.
આ server Blockchain0x API પરનો પાતળો, stateless proxy છે. તે કોઈ funds કે database રાખતો નથી; તમે આપેલી key નો ઉપયોગ કરીને દરેક tool call API સુધી forward કરે છે, અને દરેક agent પરનો spend permission હજી પણ tool શું કરી શકે તેની મર્યાદા નક્કી કરે છે.
agent શું call કરી શકે છે.
get_walletએક agent ના wallet ની માહિતી વાંચો: address, Base પરનો USDC balance, અને metadata.
list_walletsતમારા workspace માં agent wallets ની યાદી જુઓ.
get_transactionતેના id વડે transaction શોધો અને તેની on-chain સ્થિતિ વાંચો.
send_paymentBase પર આવેલા agent ના wallet માંથી તેની spend permissionની અંદર રહીને USDC મોકલો.
settle_payment_requestdashboard માં તમે બનાવેલી payment request ને on-chain proof સાથે settle કરો.
જોડાવાની બે રીતો.
1. હોસ્ટેડ (Streamable HTTP)
તમારા MCP client ને hosted endpoint તરફ point કરો અને તમારી API key ને Bearer header તરીકે pass કરો. Install કરવા જેવું કંઈ નથી.
{ "mcpServers": { "blockchain0x": { "url": "https://mcp.blockchain0x.com/mcp", "headers": { "Authorization": "Bearer sk_live_..." } } } }
2. લોકલ (stdio, via npx)
npx @blockchain0x/mcp સાથે server ને તમારા પોતાના machine પર ચલાવો. તમારી key તમારા environment માં જ રહે છે અને ક્યારેય device છોડતી નથી.
{ "mcpServers": { "blockchain0x": { "command": "npx", "args": ["@blockchain0x/mcp"], "env": { "BLOCKCHAIN0X_API_KEY": "sk_live_..." } } } }
Base Sepolia સામે sk_test_ key થી શરૂઆત કરો, પછી sk_live_ પર switch કરો. સંપૂર્ણ setup the docs માં છે; તમારા પોતાના MCP tools પર price મૂકવા માટે MCP integration recipe જુઓ.
spend permission હજી પણ લાગુ પડે છે.
- server ક્યારેય તમારા funds અથવા keys રાખતો નથી; તે દરેક call ને Blockchain0x API સુધી forward કરે છે.
- send_payment ને settle થવા પહેલાં એજન્ટની પ્રતિ-ટ્રાન્ઝેક્શન મર્યાદા અને પ્રતિ-અવધિ મંજૂરી સામે તપાસવામાં આવે છે, અન્ય કોઈપણ API કૉલ જેવી જ રીતે.
- એવા agent માટે read-only key (કોઈ pay scope નથી) વાપરો જેને ફક્ત wallets અને transactions વાંચવાના છે.
- stdio પર, key તમારા local environment માં જ રહે છે. hosted પર, તે TLS દ્વારા Bearer header તરીકે જાય છે અને સંગ્રહિત થતી નથી.