Skip to main content
Glama

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

Related MCP server: MidPay MCP Server

Configuration

Get your API Keys

  1. Sign up at inventpay.io

  2. Go to Dashboard → Settings

  3. Copy your API key (pk_live_...) — used for all operations (payments, invoices, store, products, orders, balances)

  4. (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

Tool

Description

create_payment

Create a crypto payment with a unique wallet address

create_invoice

Create a multi-currency invoice (customer chooses crypto)

get_payment_status

Check payment status, confirmations, and transaction details

Balances

Tool

Description

get_balances

Get all cryptocurrency balances (available, pending, earned, withdrawn)

Withdrawals

Tool

Description

create_withdrawal

Withdraw funds to an external wallet address

get_withdrawal

Check withdrawal status and transaction hash

Store Management

Tool

Description

create_store

Create a crypto-powered storefront

get_store

Get store details, product count, and order count

update_store

Update store name, description, logo, or visibility

Products

Tool

Description

create_product

Add a digital product with automatic delivery content

list_products

List products with search and pagination

update_product

Update product details, price, or digital content

delete_product

Deactivate a product

Orders

Tool

Description

list_orders

List orders with status filter and pagination

get_order

Get full order details (items, payment, customer)

update_order_status

Update fulfillment status

Analytics

Tool

Description

get_store_analytics

Get 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

Variable

Required

Description

INVENTPAY_API_KEY

Yes

Your merchant API key (pk_live_...). Used for all operations: payments, invoices, store, products, orders, balances.

INVENTPAY_WITHDRAWAL_KEY

No

Withdrawal-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_URL

No

API base URL (default: https://api.inventpay.io)

License

MIT

Available Tools

20 tools
add_product_keysA

Upload unique keys/codes to a product's key pool. Each customer gets one unique key on purchase (FIFO). Use this for license keys, activation codes, gift cards, etc.

Inputs: keys (required), productId (required), label.

create_invoiceA

Create a multi-currency invoice. The customer can choose which cryptocurrency to pay with. Returns an invoice URL.

Inputs: amount (required), orderId, callbackUrl, description, +2 more.

create_paymentB

Create a crypto payment. Returns a unique wallet address, QR code, and invoice URL for the customer to pay.

Inputs: amount (required), currency (required), orderId, callbackUrl, +3 more.

create_productA

Add a digital product to your store. Products are priced in USDT and auto-converted to crypto at checkout. Attach digitalContent for automatic delivery after payment.

Inputs: name (required), price (required), stock, images, +6 more.

create_storeB

Create a new merchant storefront. Each merchant gets one store with a unique URL slug. Customers can browse and purchase digital products with crypto.

Inputs: name (required), logo, banner, settings, +1 more.

create_withdrawalA

Create a withdrawal request to send funds to an external wallet address. Requires INVENTPAY_WITHDRAWAL_KEY to be configured (a separate withdrawal API key generated from Dashboard → Settings).

Inputs: amount (required), currency (required), destinationAddress (required), description.

delete_productA

Deactivate a product from your store. Products with existing orders are soft-deleted (hidden, not removed).

Inputs: id (required).

get_balancesA

Get all cryptocurrency balances for your merchant account. Shows available, pending, total earned, and total withdrawn for each currency.

Inputs: no named parameters.

get_key_pool_statsA

Get key pool statistics for a product: available, assigned, revoked, and total counts.

Inputs: productId (required).

get_orderA

Get full details of a specific order including items, payment status, customer info, and timestamps.

Inputs: id (required).

get_payment_statusA

Check the current status of a payment or invoice. Returns status, amount, confirmations, and transaction details.

Inputs: paymentId (required).

get_storeA

Get your store details including name, slug, URL, product count, and order count.

Inputs: no named parameters.

get_store_analyticsA

Get store analytics: total orders, revenue breakdown by status, product count, and recent order activity.

Inputs: no named parameters.

get_withdrawalA

Check the status of a withdrawal request. Returns status, amount, transaction hash, and processing details.

Inputs: withdrawalId (required).

list_ordersA

List all orders for your store with optional status filter and pagination.

Inputs: page, limit, status.

list_product_keysA

List keys in a product's key pool with status filter and pagination.

Inputs: productId (required), page, limit, status.

list_productsA

List all products in your store with optional search and pagination.

Inputs: page, limit, search.

update_order_statusA

Update the fulfillment status of an order. Valid transitions: PAID→PROCESSING, PROCESSING→SHIPPED/COMPLETED, SHIPPED→COMPLETED, COMPLETED→REFUNDED. Digital orders auto-transition to COMPLETED.

Inputs: id (required), status (required), notes.

update_productA

Update a product in your store. Only provided fields are changed. Updating the name regenerates the slug.

Inputs: id (required), name, price, stock, +8 more.

update_storeA

Update your store details. Only provided fields are changed.

Inputs: logo, name, banner, isActive, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 20 tools

    Disambiguation4/5

    Most tools target distinct resources and actions. Slight overlap exists between get_store and get_store_analytics (both show order/product counts) and between create_payment and create_invoice, but descriptions clarify their different use cases.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with snake_case: get, create, update, delete, list, add. Resources are singular for single-item operations and plural for list operations, with only minor naming variance like get_key_pool_stats.

    Tool Count4/5

    With 20 tools, the count is higher than the ideal 3-15 range but appropriate for the broad merchant platform scope covering stores, products, keys, payments, withdrawals, orders, and analytics. Each tool has a distinct purpose, so it does not feel bloated.

    Completeness4/5

    The tool surface covers core lifecycle operations for stores, products, keys, payments, withdrawals, and orders. Minor gaps exist (e.g., no store deletion, no key revocation, no payment cancellation), but these are typically not required for merchant operations and can be worked around.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to autonomously browse inventory, negotiate terms, manage carts, and execute secure payments on Shopify stores using standardized protocols. It provides a bridge for LLMs to handle the entire commerce lifecycle from discovery to order tracking through a verifiable mandate chain.
      5
      2
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to perform and manage payments through the Model Context Protocol, including paying, checking balances and history, registering bots, setting spending limits, discovering supported networks and tokens, inspecting commissions, and managing bot pools. It also supports governed tool calls with policy decisions, human approval, and tamper-evident audit traces.
      12
      20 npm
      Apache 2.0