Submit

Barzkit — Self Custody Ai Agent Wallets

@BarzKit

Self-custody AI agent wallets with passkeys, gasless transactions & programmable permissions (ERC-4337)
Overview

@barzkit/mcp

MCP Server for self-custody AI agent wallets. Works with Claude Desktop, Cursor, Windsurf, VS Code Copilot, and any MCP-compatible client.

npm

Setup

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "barzkit": {
      "command": "npx",
      "args": ["@barzkit/mcp"]
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "barzkit": {
      "command": "npx",
      "args": ["@barzkit/mcp"]
    }
  }
}

Windsurf / VS Code Copilot

Same format — add to your MCP configuration file.

Tools

ToolDescription
create_walletCreate a new ERC-4337 smart account on Sepolia, Base Sepolia, or Base
send_transactionSend ETH or ERC-20 tokens to a recipient address
check_balanceCheck wallet balance for ETH or specific token
swap_tokensSwap tokens on Uniswap V3
lend_tokensDeposit tokens into Aave V3 lending pool
batch_transactionsExecute multiple transactions atomically in one UserOperation
freeze_walletEmergency freeze — kill switch
unfreeze_walletResume normal wallet operations
fetch_with_paymentFetch URL with automatic x402 payment

Usage

Once configured, ask your AI assistant:

  • "Create a wallet on Sepolia with my key 0x... and Pimlico key pim_..."
  • "Send 0.01 ETH to 0xABC..."
  • "What's my wallet balance?"
  • "Swap 0.1 ETH for USDC"
  • "Freeze my wallet immediately"

The create_wallet tool must be called first to initialize the wallet before using any other tool.

Programmatic Usage

import { createBarzMcpServer } from '@barzkit/mcp'
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'

const server = createBarzMcpServer()
const transport = new StdioServerTransport()
await server.connect(transport)

Prerequisites

  • Node.js >= 18
  • Pimlico API key (free tier: 100 UserOps/day)
  • Owner private key

License

MIT

Server Config

{
  "mcpServers": {
    "barzkit": {
      "command": "npx",
      "args": [
        "@barzkit/mcp"
      ],
      "env": {
        "BARZ_OWNER_KEY": "0xYOUR_PRIVATE_KEY",
        "PIMLICO_API_KEY": "pim_YOUR_KEY",
        "BARZ_CHAIN": "sepolia"
      }
    }
  }
}
© 2025 MCP.so. All rights reserved.

Build with ShipAny.