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

inventpay-mcp

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inventpay-mcp

InventPay MCP Server - Give AI agents the ability to manage crypto payments, stores, products, and orders

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

InventPay MCP Server

Give AI agents the ability to manage crypto payments, stores, products, and orders through the Model Context Protocol.

Installation

npm install -g inventpay-mcp

Or run directly with npx:

npx inventpay-mcp

Configuration

Get your API Keys

  • Sign up at inventpay.io
  • Go to Dashboard → Settings
  • Copy your API key (pk_live_...) — used for all operations (payments, invoices, store, products, orders, balances)
  • (Optional) Generate a Withdrawal API key (wk_live_...) — used exclusively for withdrawing funds to external wallets

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "inventpay": {
      "command": "npx",
      "args": ["-y", "inventpay-mcp"],
      "env": {
        "INVENTPAY_API_KEY": "your-api-key-here",
        "INVENTPAY_WITHDRAWAL_KEY": "your-withdrawal-key-here"
      }
    }
  }
}

INVENTPAY_WITHDRAWAL_KEY is optional. Without it, all tools work except create_withdrawal.

Claude Code

claude mcp add inventpay -- npx -y inventpay-mcp

Then set the environment variables:

export INVENTPAY_API_KEY="your-api-key-here"
export INVENTPAY_WITHDRAWAL_KEY="your-withdrawal-key-here"  # Optional — only for withdrawals

Cursor

Add to your Cursor MCP settings (.cursor/mcp.json):

{
  "mcpServers": {
    "inventpay": {
      "command": "npx",
      "args": ["-y", "inventpay-mcp"],
      "env": {
        "INVENTPAY_API_KEY": "your-api-key-here",
        "INVENTPAY_WITHDRAWAL_KEY": "your-withdrawal-key-here"
      }
    }
  }
}

INVENTPAY_WITHDRAWAL_KEY is optional. Without it, all tools work except create_withdrawal.

Windsurf

Add to your Windsurf MCP config:

{
  "mcpServers": {
    "inventpay": {
      "command": "npx",
      "args": ["-y", "inventpay-mcp"],
      "env": {
        "INVENTPAY_API_KEY": "your-api-key-here",
        "INVENTPAY_WITHDRAWAL_KEY": "your-withdrawal-key-here"
      }
    }
  }
}

INVENTPAY_WITHDRAWAL_KEY is optional. Without it, all tools work except create_withdrawal.

Available Tools

Payments

ToolDescription
create_paymentCreate a crypto payment with a unique wallet address
create_invoiceCreate a multi-currency invoice (customer chooses crypto)
get_payment_statusCheck payment status, confirmations, and transaction details

Balances

ToolDescription
get_balancesGet all cryptocurrency balances (available, pending, earned, withdrawn)

Withdrawals

ToolDescription
create_withdrawalWithdraw funds to an external wallet address
get_withdrawalCheck withdrawal status and transaction hash

Store Management

ToolDescription
create_storeCreate a crypto-powered storefront
get_storeGet store details, product count, and order count
update_storeUpdate store name, description, logo, or visibility

Products

ToolDescription
create_productAdd a digital product with automatic delivery content
list_productsList products with search and pagination
update_productUpdate product details, price, or digital content
delete_productDeactivate a product

Orders

ToolDescription
list_ordersList orders with status filter and pagination
get_orderGet full order details (items, payment, customer)
update_order_statusUpdate fulfillment status

Analytics

ToolDescription
get_store_analyticsGet order counts, revenue breakdown, and product stats

Example Prompts

Once connected, you can ask your AI agent things like:

  • "Create a new store called 'Digital Downloads' and add a product for my e-book at $9.99"
  • "Show me all my pending orders"
  • "What's my current ETH balance?"
  • "Create a payment for $50 in Bitcoin"
  • "How much revenue has my store generated?"

Environment Variables

VariableRequiredDescription
INVENTPAY_API_KEYYesYour merchant API key (pk_live_...). Used for all operations: payments, invoices, store, products, orders, balances.
INVENTPAY_WITHDRAWAL_KEYNoWithdrawal-only key (wk_live_...). Used exclusively for withdrawing funds to external wallets. Cannot be used for any other operation. Generate from Dashboard → Settings → Withdrawal API Key.
INVENTPAY_BASE_URLNoAPI base URL (default: https://api.inventpay.io)

License

MIT

Keywords

inventpay

FAQs

Package last updated on 21 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