🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

clawvault-mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clawvault-mcp-server

MCP server for ClawVault - AI agent payment security layer

latest
Source
npmnpm
Version
0.7.0
Version published
Weekly downloads
39
-45.83%
Maintainers
1
Weekly downloads
 
Created
Source

clawvault-mcp-server

MCP (Model Context Protocol) server for ClawVault - AI agent payment security layer with GOAT SDK integration.

Installation

npm install -g clawvault-mcp-server

Or use directly with npx (no install needed):

npx clawvault-mcp-server

Usage with Claude Desktop

Add to your Claude Desktop config:

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

{
  "mcpServers": {
    "clawvault": {
      "command": "npx",
      "args": ["clawvault-mcp-server"],
      "env": {
        "CLAWVAULT_API_KEY": "cv_live_your_api_key_here"
      }
    }
  }
}

Restart Claude Desktop after saving.

Getting Your API Key

  • Go to clawvault.cc and sign up
  • Navigate to the Agents page
  • Create a new agent or use an existing one
  • Copy the API key (format: cv_live_...)

Important: Two Solana Wallets

ClawVault uses two separate Solana wallets:

  • Main Vault (Crossmint smart wallet) — For crypto payments and token swaps
  • Payment Wallet (standalone Solana keypair) — For prediction market trades only

Swaps use the main vault. Predictions use the payment wallet. They must be funded separately. Set up the payment wallet at the /predictions page in your dashboard.

Available Tools (36)

Payments

ToolDescription
request_paymentRequest a payment through ClawVault with rules evaluation
check_limitsCheck if a payment would be allowed before making it
get_payment_statusCheck the status of a pending payment by ID
list_transactionsList recent payment transactions with pagination

Vault

ToolDescription
get_vaultGet vault status — wallet address, balances, spending limits

Agent Management

ToolDescription
freeze_agentEmergency freeze an agent to block all payment requests

Swaps (via dFlow)

ToolDescription
swap_tokensExecute token swaps on Solana via dFlow
get_swap_quoteGet a price quote for a swap without executing

Prediction Markets (via dFlow/Kalshi)

ToolDescription
list_prediction_marketsList available Kalshi prediction markets
get_marketGet details for a specific prediction market
buy_predictionBuy a YES or NO outcome on a prediction market
sell_predictionSell (close/reduce) a prediction position
redeem_predictionRedeem winning tokens on a settled market
get_prediction_positionsView current prediction market positions
get_prediction_walletGet payment wallet address and KYC status

Card Operations

ToolDescription
card_purchaseMake a purchase using the agent's card
card_balanceCheck agent card balance
card_checkCheck if a purchase would be allowed

Rules

ToolDescription
get_rulesGet current security rules and usage stats

Commerce (Agentic Commerce via Crossmint)

ToolDescription
commerce_searchSearch for products on Amazon, Shopify, and 300+ stores
commerce_orderPlace an order with shipping details and payment
commerce_order_statusCheck the status of a commerce order
commerce_list_ordersList past commerce orders with pagination
commerce_trackingGet delivery tracking info for an order
commerce_refundRequest a refund for an order

Credit (ACE - Agent Credit Engine)

ToolDescription
enable_creditRegister with ACE and enable credit line
disable_creditDisable credit (keeps registration)
get_credit_statusCheck current credit status and active loans
request_creditRequest a USDC credit loan
get_credit_historyList credit transaction history

x402 (API Payments)

ToolDescription
x402_fetchFetch a URL that requires x402 payment, auto-paying with USDC

Payment Wallet

ToolDescription
get_payment_wallet_balanceCheck payment wallet USDC balance
fund_payment_walletFund payment wallet from main vault
withdraw_payment_walletWithdraw from payment wallet to destination

GOAT SDK Integration

ToolDescription
goat_list_actionsList all available GOAT SDK actions (dFlow swaps, SPL transfers, Orca liquidity, ERC-20 token ops)
goat_get_action_rulesGet rules configuration for a GOAT action category
goat_execute_actionExecute a GOAT action with rules engine validation

The GOAT SDK integration gives agents access to 250+ onchain actions across 40+ chains, all gated by ClawVault's rules engine. Live plugins: dFlow (swaps/predictions), SPL Token (transfers), Orca (liquidity), ERC-20 (token ops).

How It Works

  • You ask Claude to pay for something
  • Claude uses request_payment tool
  • ClawVault checks your rules:
    • Within rules → auto-approved, payment executes
    • Outside rules → pending, you get a Telegram/dashboard notification
  • You approve or deny from Telegram or the web dashboard
  • Claude gets the result

Environment Variables

VariableRequiredDefaultDescription
CLAWVAULT_API_KEYYes-Your ClawVault API key
CLAWVAULT_API_URLNohttps://api.clawvault.ccAPI base URL

For Other AI Agents

Not using Claude Desktop? Any AI agent can use ClawVault by reading the skill documentation:

https://api.clawvault.cc/skill

This returns plain text that teaches the agent how to use the ClawVault API.

Development

# Clone the repo
git clone https://github.com/clawvault/mcp-server

# Install dependencies
npm install

# Build
npm run build

# Run locally
CLAWVAULT_API_KEY=cv_live_xxx npm start

License

MIT

Keywords

mcp

FAQs

Package last updated on 22 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts