Wallgent
Integrations

Give Your Claude Agent a Wallet

Connect Claude to Wallgent using MCP so your agent can create wallets, send payments, and manage finances with natural language.

Prerequisites

1. Add the MCP Server

Open your Claude Desktop configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Add the Wallgent MCP server:

{
  "mcpServers": {
    "wallgent": {
      "command": "npx",
      "args": ["-y", "@wallgent/mcp-server"],
      "env": {
        "WALLGENT_API_KEY": "wg_test_your_key_here"
      }
    }
  }
}

Save the file and restart Claude Desktop.

npx downloads and runs the server automatically — no install step needed. To pin a version, use @wallgent/mcp-server@0.1.0.

2. Verify the Connection

In a new Claude conversation, ask:

"What Wallgent tools do you have?"

Claude should list the available financial tools. If you see tools like wallgent_create_wallet, wallgent_send_payment, and wallgent_check_balance, the connection is working.

If Claude does not see the tools, check that:

  1. The config file is valid JSON (no trailing commas)
  2. You restarted Claude Desktop after editing the config
  3. Your API key starts with wg_test_ or wg_live_

3. Complete Example

Here is a typical conversation flow with a Wallgent-connected Claude:

You: "Create a wallet called Research Agent and fund it with $200."

Claude will call:

{
  "name": "wallgent_create_wallet",
  "parameters": { "name": "Research Agent", "agentName": "research-bot" }
}

Then:

{
  "name": "wallgent_fund_wallet",
  "parameters": { "walletId": "wal_01J...", "amount": "200.00" }
}

You: "Send $15 to wal_01JVENDOR for the API subscription."

Claude will call:

{
  "name": "wallgent_send_payment",
  "parameters": {
    "fromWalletId": "wal_01J...",
    "toWalletId": "wal_01JVENDOR",
    "amount": "15.00",
    "description": "API subscription"
  }
}

You: "What's my balance and recent transactions?"

Claude will call wallgent_check_balance and wallgent_get_transactions, then summarize the results in natural language.


Available Tools

The MCP server exposes 58 tools grouped by category:

Wallet Management (9 tools)

ToolDescription
wallgent_create_walletCreate a new wallet
wallgent_get_walletGet wallet details
wallgent_list_walletsList all wallets
wallgent_check_balanceCheck wallet balance
wallgent_fund_walletFund a wallet
wallgent_freeze_walletFreeze a wallet
wallgent_unfreeze_walletUnfreeze a wallet
wallgent_deposit_walletDeposit via external rail
wallgent_withdraw_walletWithdraw to external destination

Payments (3 tools)

ToolDescription
wallgent_send_paymentSend a payment between wallets
wallgent_batch_paymentSend multiple payments at once
wallgent_get_transactionsGet wallet transaction history

Transfers (1 tool)

ToolDescription
wallgent_get_transferCheck deposit/withdrawal status

Policies (1 tool)

ToolDescription
wallgent_get_policiesList wallet spending policies

Approvals (3 tools)

ToolDescription
wallgent_list_approvalsList pending approvals
wallgent_approve_paymentApprove a pending payment
wallgent_reject_paymentReject a pending payment

Delegations (2 tools)

ToolDescription
wallgent_list_delegationsList wallet delegations
wallgent_create_delegationGrant wallet access to another org

Cards (4 tools)

ToolDescription
wallgent_create_cardCreate a virtual card
wallgent_list_cardsList virtual cards
wallgent_freeze_cardFreeze a card
wallgent_unfreeze_cardUnfreeze a card
ToolDescription
wallgent_create_payment_linkCreate a payment link
wallgent_list_payment_linksList payment links
wallgent_cancel_payment_linkCancel a payment link

Customers (2 tools)

ToolDescription
wallgent_create_customerCreate a customer for billing
wallgent_list_customersList customers

Invoices (6 tools)

ToolDescription
wallgent_create_invoiceCreate an invoice
wallgent_list_invoicesList invoices
wallgent_finalize_invoiceFinalize a draft invoice
wallgent_charge_customerCharge a saved payment method
wallgent_void_invoiceVoid an unpaid invoice
wallgent_refund_invoiceRefund a paid invoice

Compliance (2 tools)

ToolDescription
wallgent_compliance_statusPCI-DSS compliance status
wallgent_compliance_evidenceAudit evidence summary

Agent Network (2 tools)

ToolDescription
wallgent_pay_agentPay another agent by Wallgent address
wallgent_search_directorySearch the agent directory

See the MCP Tools Reference for full parameter details on every tool.


Self-Hosted Server

If you prefer to run the server from source instead of npx:

{
  "mcpServers": {
    "wallgent": {
      "command": "node",
      "args": ["path/to/wallgent/apps/mcp-server/dist/index.js"],
      "env": {
        "WALLGENT_API_KEY": "wg_test_your_key_here",
        "WALLGENT_BASE_URL": "http://localhost:3000",
        "TRANSPORT": "stdio"
      }
    }
  }
}

See the MCP Guide for HTTP transport and advanced configuration.


Next Steps

On this page