Agentwallet
Wallet infrastructure for Ai agents. EVM + Solana. x402 payments. No KYC.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Non-custodial BVCC Agent Wallet on-chain for AI agents: balances, transfers, approvals, swaps.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
AGENT_PRIVATE_KEY, WALLET_ADDRESS, CHAIN_ID, RPC_URL, BVCC_MCP_READONLY, BVCC_MCP_MODULESค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"bvcc-agent-wallet": {
"command": "npx",
"args": [
"-y",
"@bvcc/agent-mcp"
],
"env": {
"AGENT_PRIVATE_KEY": "ใส่ค่าของคุณ",
"WALLET_ADDRESS": "ใส่ค่าของคุณ",
"CHAIN_ID": "ใส่ค่าของคุณ",
"RPC_URL": "ใส่ค่าของคุณ",
"BVCC_MCP_READONLY": "ใส่ค่าของคุณ",
"BVCC_MCP_MODULES": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add bvcc-agent-wallet --env AGENT_PRIVATE_KEY='ใส่ค่าของคุณ' --env WALLET_ADDRESS='ใส่ค่าของคุณ' --env CHAIN_ID='ใส่ค่าของคุณ' --env RPC_URL='ใส่ค่าของคุณ' --env BVCC_MCP_READONLY='ใส่ค่าของคุณ' --env BVCC_MCP_MODULES='ใส่ค่าของคุณ' -- npx -y @bvcc/agent-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"bvcc-agent-wallet": {
"command": "npx",
"args": [
"-y",
"@bvcc/agent-mcp"
],
"env": {
"AGENT_PRIVATE_KEY": "ใส่ค่าของคุณ",
"WALLET_ADDRESS": "ใส่ค่าของคุณ",
"CHAIN_ID": "ใส่ค่าของคุณ",
"RPC_URL": "ใส่ค่าของคุณ",
"BVCC_MCP_READONLY": "ใส่ค่าของคุณ",
"BVCC_MCP_MODULES": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"bvcc-agent-wallet": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@bvcc/agent-mcp"
],
"env": {
"AGENT_PRIVATE_KEY": "ใส่ค่าของคุณ",
"WALLET_ADDRESS": "ใส่ค่าของคุณ",
"CHAIN_ID": "ใส่ค่าของคุณ",
"RPC_URL": "ใส่ค่าของคุณ",
"BVCC_MCP_READONLY": "ใส่ค่าของคุณ",
"BVCC_MCP_MODULES": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
RPC_URL envBVCC_MCP_READONLY envBVCC_MCP_MODULES envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569
ชื่อใน registry ยืนยันโดเมน blockventurechaincapital.com แล้ว (registry ตรวจความเป็นเจ้าของโดเมน)
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: AGENT_PRIVATE_KEY, WALLET_ADDRESS, CHAIN_ID
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.3.1) เข้า registry 3 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Agentwallet, Dinero en la Mesa — Perp DEX costs & funding, CryptoKeyhole
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
Wallet infrastructure for Ai agents. EVM + Solana. x402 payments. No KYC.
Dinero en la Mesa: live all-in cost (fees + slippage) and funding on 28 perp DEXs. Free, read-only.
Read-only market and on-chain data for Bitcoin, Ethereum and more; on-chain from our own nodes.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Model Context Protocol server for a BVCC Agent Wallet. It lets MCP-speaking AI runtimes — Claude Code, Cursor, the Claude desktop app — operate a BVCC Agent Wallet on-chain: check balances and limits, plan and simulate swaps, send tokens, swap on Uniswap v3/v4 (including to and from native ETH), provide liquidity on Uniswap v3/v4 (including native-ETH pools), and lend, borrow and unwind positions on Aave v3 — including closing or deleveraging a position in safe steps on its own. It also ships built-in operating guides (listGuides / getGuide, also exposed as prompts) so an agent can learn how to use each area on demand.
Every tool is generated from the @bvcc/agent-sdk capability catalog. There is no per-tool code here: add a capability to the SDK catalog and it appears here automatically.
New here? Start with [QUICKSTART.md](https://github.com/blockventurechaincapital-crypto/bvcc-agent-mcp/blob/main/QUICKSTART.md) — the full end-to-end
setup (create wallet → authorize the agent on-chain → fund it with gas → configure
→ verify). It covers the two steps people miss without which the agent does nothing.
This server adds no powers. All limits — spend caps (native + per-token, daily + total), allowed tokens, allowed protocols, recipient whitelist, and a global pause — are enforced on-chain by the Agent Wallet contract. The worst any tool can do is bounded by what you authorized for the agent in the BVCC dashboard.
BVCC_MCP_READONLY=true to expose only read/simulate tools (no writes).Generated from the catalog and tagged by class:
Core (wallet, transfers, swaps):
| Class | Tools |
|---|---|
| 🟢 read | getAgentStatus, getCapabilities, getNativeBalance, getTokenBalances, getRemaining, needsApproval |
| 🟡 simulate | buildSwapPlan, dryRunSendNative, dryRunSendToken, dryRunSwapV3, dryRunSwapV4 |
| 🔴 write | sendNative, sendToken, approve, swapV3, swapV4, swapToNative, swapFromNative |
A 0.15% BVCC agent fee is charged automatically on-chain on agent actions, separate from gas and from your spend budget.
Aave v3 lending (aave module — Arbitrum, Ethereum, BNB, Base, Polygon):
| Class | Tools |
|---|---|
| 🟢 read | getAavePositions, getAaveMarket |
| 🟡 simulate | dryRunAaveSupply, dryRunAaveBorrow, aavePlanClosePosition, aavePlanDeleverage, aavePlanCollateralSwap, aavePlanDebtSwap |
| 🔴 write | aaveSupply, aaveWithdraw, aaveBorrow, aaveRepay, aaveRepayWithATokens, aaveSetCollateral, aaveSetEMode, aaveClosePosition, aaveDeleverage, aaveCollateralSwap, aaveDebtSwap |
Deposits and borrows are always for the wallet itself — no to or onBehalfOf parameter exists, because the wallet's on-chain call policies pin the beneficiary.
⚠️ **The four aave* unwinding tools can send several transactions in one call.** aaveClosePosition, aaveDeleverage, aaveCollateralSwap and aaveDebtSwap run a chunked loop, re-deriving and re-simulating each step from live state. Call the matching aavePlan* tool first to see what it intends to do. They stop rather than proceed if the health factor would fall below hfFloor (default 1.05), if a swap prices too far from the Aave oracle, if the loop stops making progress, or if the agent's budget would run out.
Uniswap liquidity (lp module — open, collect, close positions on v3 & v4):
| Class | Tools |
|---|---|
| 🟢 read | getV3Position, getV4Position |
| 🟡 simulate | dryRunAddLiquidityV3, dryRunRemoveLiquidityV3, dryRunAddLiquidityV4, dryRunRemoveLiquidityV4 |
| 🔴 write | addLiquidityV3, removeLiquidityV3, collectFeesV3, burnV3, addLiquidityV4, removeLiquidityV4, collectFeesV4, burnV4 |
The position NFT is minted to the wallet and every proceed returns to it — pinned on-chain. addLiquidityV3 sizes both sides to the pool's current price (full-range by default, or pass ticks). v4 covers native-ETH pools; its tools need the v4 PositionManager's DEEP validator active on-chain for the agent, else the action fails closed. Note there is no increaseLiquidity on v3 (not owner-gated on the NFPM — add by minting a fresh position).
Guides (meta module — always exposed, help):
| Class | Tools |
|---|---|
| 🟢 read | listGuides, getGuide |
listGuides names the how-to guides; getGuide({ area }) returns the playbook for one area — the recommended workflow and the gotchas, naming the exact tools — covering getting-started, swaps, lending and liquidity. They stay available even under a module filter, so an agent restricted to one feature can still learn how to use it. The same guides are also exposed as prompts (guide- ) so a human can pull one as a slash-command.
Writes carry the MCP destructiveHint annotation so clients can require confirmation. See GUIDE.md for the recommended operating workflow.
The server works with every wallet generation and detects which one it is talking to. On a V5 wallet a few things change, and the tools already apply them:
0 allows nothing (before V5 it meant unlimited) and an empty recipient list allows no recipient. Limits count the 0.15% agent fee too, so stay a little under them; getRemaining shows the real headroom.swapV3 keeps working: on V5 it is sent through the Universal Router for you.swapToNative, swapFromNative, the v3 LP tools) work where their validators are active on that network; getCapabilities says so. Elsewhere use WETH and v4 liquidity.aaveRepayWithATokens.getAgentStatus and getCapabilities report all of it.Anything V5 does not allow comes back as a failed result with a plain explanation, before any gas is spent.
retryable. When it is false the same call will fail again (a budget is used up, a permission is missing, the balance is short): change the input or ask the owner instead of repeating it.priceLower / priceUpper instead of raw ticks. A range that does not contain the current price needs a confirmation: the first call stops and asks, and allowOutOfRange: true opens it.Recommended: keep the values — above all AGENT_PRIVATE_KEY — in a dedicated env file and point the server at it with BVCC_ENV_FILE, instead of inlining the key in your MCP host's config (which gets shared, synced and screenshotted). chmod 600 that file and keep it outside any cloud-synced folder. You *can* still inline the variables in the host's env block if you prefer; host env wins over the file. See .env.example.
Example agent.env (path passed via BVCC_ENV_FILE):
AGENT_PRIVATE_KEY=0xYOUR_AGENT_KEY
WALLET_ADDRESS=0xYOUR_WALLET CHAIN_ID=42161
| Variable | Required | Description |
|---|---|---|
AGENT_PRIVATE_KEY | yes | Agent EOA private key (0x + 64 hex). Used locally only. |
WALLET_ADDRESS | yes | The BVCC Agent Wallet this agent operates. |
CHAIN_ID | yes | Default chain: 42161 Arbitrum One · 56 BNB · 1 Ethereum · 8453 Base · 137 Polygon · 421614 Arbitrum Sepolia. |
RPC_URL | no | Custom RPC for the default chain (otherwise a public default). |
RPC_URL_ | no | Per-chain RPC override, e.g. RPC_URL_56. |
BVCC_ENV_FILE | no | Path to a dedicated env file to load (keeps the key out of the host config). Host env wins over it. |
BVCC_MCP_READONLY | no | true exposes only read/simulate tools. |
BVCC_MCP_MODULES | no | Comma-separated feature groups to expose: core, aave, lp. Unset = all. |
BVCC_NO_UPDATE_CHECK | no | 1 turns off the new-version check (see Upgrading). |
Narrowing what the agent can reach. BVCC_MCP_READONLY and BVCC_MCP_MODULES are independent and combine. If an agent will never touch lending, leaving those tools out is one less thing it can get wrong:
BVCC_MCP_MODULES=core # wallet + swaps (18 + 2 guides = 20)
BVCC_MCP_MODULES=aave # Aave lending (19 + 2 = 21) BVCC_MCP_MODULES=lp # Uniswap liquidity (14 + 2 = 16) BVCC_MCP_MODULES=core,aave,lp # everything (= unset) (51 + 2 = 53) BVCC_MCP_MODULES=core BVCC_MCP_READONLY=true # read-only wallet (11 + 2 = 13)
The two guide tools (listGuides, getGuide, module meta) are always exposed on top of these — that is the + 2 — so an agent restricted to one feature can still read how to use it.
An unrecognised module name is ignored, so a typo yields a *smaller* surface, never a larger one. Neither switch is the security boundary — the contract is — but a smaller surface is fewer ways for a confused agent to act.
Multi-network: one server operates the agent on any supported chain. Every tool takes an optional network (chain id or name: ethereum, bsc, arbitrum, base, polygon, arbitrum-sepolia), defaulting to CHAIN_ID — so you can say "swap on bsc" without restarting. The wallet address is the same on every chain (CREATE2); the agent must be authorized on each chain you use.
npm install
npm run build npm test # builds + stdio smoke test (no chain calls)
claude mcp add bvcc-agent-wallet \
--env BVCC_ENV_FILE=/secure/agent.env \ -- npx -y @bvcc/agent-mcp@latest
mcp.json){
"mcpServers": { "bvcc-agent-wallet": { "command": "npx", "args": ["-y", "@bvcc/agent-mcp@latest"], "env": { "BVCC_ENV_FILE": "/secure/agent.env" } } } }
The key lives in agent.env, not in the config above. If you'd rather inline it, replace the env block with AGENT_PRIVATE_KEY / WALLET_ADDRESS / CHAIN_ID directly (less safe — the key sits in the host config). @latest keeps you on the newest release; to stay on one version instead, see Upgrading.
The SDK is bundled into this package, so updating the MCP is all you need to get new capabilities (Aave lending shipped t
ตัดมาแค่ช่วงต้น อ่านต่อใน repo