# bvcc-agent-wallet [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/blockventurechaincapital-crypto/bvcc-agent-mcp  
**GitHub Stars:** 2  
**npm Downloads (last month):** 1462  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/bvcc-agent-wallet

## Description
Non-custodial BVCC Agent Wallet on-chain for AI agents: balances, transfers, approvals, swaps.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "bvcc-agent-wallet": {
    "command": "npx",
    "args": ["-y","@bvcc/agent-mcp"],
    "env": {
      "AGENT_PRIVATE_KEY": "",
      "WALLET_ADDRESS": "",
      "CHAIN_ID": ""
    }
  }
}
```

**Requires environment variables:** `AGENT_PRIVATE_KEY`, `WALLET_ADDRESS`, `CHAIN_ID` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What bvcc-agent-wallet does

bvcc-agent-wallet exposes a BVCC Agent Wallet through the Model Context Protocol. Agents can inspect wallet status, capabilities, balances, remaining limits, and approval requirements; simulate transactions; and submit approved actions. Core wallet operations cover native-token and ERC-20 transfers, token approvals, and Uniswap swaps, including routes to and from native ETH.

The server also covers two DeFi areas. Its Aave v3 module supports market and position queries, supplying and withdrawing assets, borrowing, repaying, collateral settings, and position management. Its liquidity module handles Uniswap v3 and v4 positions, including adding or removing liquidity, fee collection, and position burning. The wallet receives Aave activity and Uniswap position NFTs according to the contract’s on-chain policies.

## How it works

Tools are created from the `@bvcc/agent-sdk` capability catalog rather than maintained as separate per-tool implementations. Capabilities are classified as read, simulate, or write operations. Write tools include the MCP `destructiveHint` annotation so clients can require confirmation.

The agent private key is loaded from the environment and used locally to sign transactions; it is not sent to BVCC. Contract-level policies govern native and token spend caps, daily and total limits, allowed tokens and protocols, recipient restrictions, and pause state. A 0.15% BVCC agent fee is charged on agent actions in addition to gas and the applicable spend budget.

Aave position-closing and deleveraging operations can execute multiple transactions. Their planning tools should be called first; execution rechecks live state and stops when safety conditions, budget, or progress requirements are not met. Every failed result includes a `retryable` value to distinguish calls that may succeed after a transient issue from calls requiring changed inputs or owner action.

## Setup and configuration

Configure the server with the agent key, the BVCC wallet address, and a default chain ID:

- `AGENT_PRIVATE_KEY`: the agent EOA private key, formatted as `0x` followed by 64 hexadecimal characters.
- `WALLET_ADDRESS`: the BVCC Agent Wallet controlled by the agent.
- `CHAIN_ID`: the default network, such as Arbitrum One (`42161`), BNB (`56`), Ethereum (`1`), or Base (`8453`).

These values can be placed in a dedicated environment file referenced by `BVCC_ENV_FILE`, or supplied through the MCP host environment. The recommended approach is to protect the file with restrictive permissions and keep it outside synchronized folders. The wallet must be created, authorized for the agent on-chain, and funded with gas before operations can succeed.

Set `BVCC_MCP_READONLY=true` to expose only read and simulation capabilities. Network-specific wallet validators and capabilities determine which V5 operations are available.

## Tools and capabilities

Core wallet tools include `getAgentStatus`, `getCapabilities`, `getNativeBalance`, `getTokenBalances`, `getRemaining`, and `needsApproval`. Simulation tools cover swap planning, native and token transfer dry runs, and Uniswap v3/v4 swap checks. Write tools send assets, approve tokens, and execute swaps.

Aave tools expose market and position reads, supply and borrow simulations, planning for close or deleverage workflows, and lending writes. Uniswap liquidity tools read positions, simulate adds and removals, and manage v3/v4 positions and fees.

`listGuides` and `getGuide` provide operating instructions for getting started, swaps, lending, and liquidity. The same guides are available as prompts named `guide-<area>`.

## Limitations and notes

The server operates within the wallet’s existing on-chain authorization; it does not expand those permissions. V5 wallets treat zero limits and empty recipient lists as denying activity, and limits include the agent fee. V5 swap behavior uses the Universal Router for ERC-20 swaps, while native-coin, v3 liquidity, and other features depend on active validators reported by `getCapabilities`.

Uniswap liquidity ranges use prices rather than raw ticks. A range outside the current price requires explicit `allowOutOfRange: true`. Aave unwinding tools can submit several transactions and protect against a health factor below the default `hfFloor` of 1.05, excessive oracle price deviation, stalled progress, or exhausted budget. v4 liquidity requires the PositionManager DEEP validator to be active for the agent.

_Full upstream README: https://allmcps.com/mcp/bvcc-agent-wallet/readme_

