Skip to main content
Glama
Iaptic MCP Server

Iaptic MCP Server

Official
by iaptic

MCP Server for Iaptic

A Model Context Protocol server for interacting with the Iaptic API. This server allows Claude or other AIs to interact with your Iaptic data to answer questions about your customers, purchases, transactions, and statistics.

Scope

The server is read-only with respect to your Iaptic data: tools can query customers, purchases, transactions, events and statistics, but cannot modify records, issue refunds, or change your Iaptic configuration. Three groups of tools operate outside stored data: stripe_checkout / stripe_portal are the only tools that create anything — Stripe checkout or billing-portal sessions (links your customer uses to pay or manage their subscription), never Iaptic records; stripe_purchases looks up a customer's purchases by checkout-session access token; and iaptic_switch_app / iaptic_reset_app change which app's credentials are used for subsequent queries.

Related MCP server: Inkeep MCP Server

Installation

Requires Node.js >= 18 and an Iaptic app. In the Iaptic dashboard, open Settings to find your App Name and Secret Key (the API key).

# Run directly with npx
npx -y mcp-server-iaptic --api-key YOUR_API_KEY --app-name YOUR_APP_NAME

# Or install globally
npm install -g mcp-server-iaptic
mcp-server-iaptic --api-key YOUR_API_KEY --app-name YOUR_APP_NAME

Configuration

Credentials come from command-line arguments or, as a fallback, environment variables (a .env file in the working directory is also read). Prefer environment variables in client configs: arguments show up in process lists.

Argument

Environment variable

Description

--app-name

IAPTIC_APP_NAME

Your Iaptic app name. Always required.

--api-key

IAPTIC_API_KEY

Your app's Secret Key. Required unless a master key is set.

--master-key

IAPTIC_MASTER_KEY

Optional. Manage several apps from one server instead of an API key; every data tool then takes a required appName argument.

Usage with MCP clients

The server speaks MCP over stdio. Replace the placeholder values in each snippet.

Claude Desktop

Add to claude_desktop_config.json (Settings → Developer → Edit Config):

{
  "mcpServers": {
    "iaptic": {
      "command": "npx",
      "args": ["-y", "mcp-server-iaptic"],
      "env": {
        "IAPTIC_API_KEY": "your-api-key-here",
        "IAPTIC_APP_NAME": "your-app-name-here"
      }
    }
  }
}

Claude Code

claude mcp add iaptic \
  -e IAPTIC_API_KEY=your-api-key-here \
  -e IAPTIC_APP_NAME=your-app-name-here \
  -- npx -y mcp-server-iaptic

Cursor

Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):

{
  "mcpServers": {
    "iaptic": {
      "command": "npx",
      "args": ["-y", "mcp-server-iaptic"],
      "env": {
        "IAPTIC_API_KEY": "your-api-key-here",
        "IAPTIC_APP_NAME": "your-app-name-here"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json. VS Code prompts for the key and keeps it out of the file:

{
  "inputs": [
    {
      "type": "promptString",
      "id": "iaptic-api-key",
      "description": "Iaptic Secret Key",
      "password": true
    }
  ],
  "servers": {
    "iaptic": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "mcp-server-iaptic"],
      "env": {
        "IAPTIC_API_KEY": "${input:iaptic-api-key}",
        "IAPTIC_APP_NAME": "your-app-name-here"
      }
    }
  }
}

Cline

Ask Cline to install it from this repository; it follows llms-install.md.

Docker

docker build -t mcp-server-iaptic .
docker run -i --rm -e IAPTIC_API_KEY -e IAPTIC_APP_NAME mcp-server-iaptic

Available Tools

Customers

  • customer_list: List customers with pagination

  • customer_get: Get detailed customer information by ID

  • customer_subscription: Get customer's active subscription status

  • customer_transactions: Get customer's transaction history

Purchases

  • purchase_list: List purchases

    • limit: Maximum number of purchases to return (default: 100, max: 1000)

    • offset: Number of purchases to skip for pagination

    • startdate: Filter purchases after this date (ISO format, e.g. 2024-01-01)

    • enddate: Filter purchases before this date (ISO format, e.g. 2024-12-31)

    • customerId: Filter by customer ID

  • purchase_get: Get purchase details by ID

Transactions

  • transaction_list: List transactions with pagination and date filtering

    • limit: Maximum number of transactions to return (default: 100, max: 1000)

    • offset: Number of transactions to skip for pagination

    • startdate: Filter transactions after this date (ISO format, e.g. 2024-01-01)

    • enddate: Filter transactions before this date (ISO format, e.g. 2024-12-31)

    • purchaseId: Filter by purchase ID

  • transaction_get: Get transaction details by ID

Statistics

  • stats_get: Get general statistics about transactions and revenue

  • stats_app: Get app-specific statistics

Events

  • event_list: List recent events with pagination and date filtering

    • limit: Maximum number of events to return (default: 100)

    • offset: Number of events to skip for pagination

    • startdate: Filter events after this date (ISO format, e.g. 2024-01-01)

    • enddate: Filter events before this date (ISO format, e.g. 2024-12-31)

    • raw: Return raw JSON instead of formatted output (default: false)

  • event_details: Get detailed information about a specific event (validator 3.12+)

    • eventId: The event ID to get details for

    • receipts: Include receipt validation details (default: false)

Stripe

  • stripe_prices: Get available Stripe products and prices

  • stripe_checkout: Create a Stripe Checkout session and return its payment link

    • offerId: Offer ID to purchase, as returned by stripe_prices

    • successUrl: URL to redirect the customer to after successful payment

    • cancelUrl: URL to redirect the customer to if they cancel

    • applicationUsername: User identifier in your application (optional)

    • mode: payment or subscription (optional; defaults per the price type)

    • accessToken: Access token from a previous purchase, to reuse the existing Stripe customer (optional)

  • stripe_portal: Create a Stripe Customer Portal session and return its URL

    • accessToken: Access token received when the Stripe checkout session was created

    • returnUrl: URL to return the customer to after managing their subscription

  • stripe_purchases: Get a customer's Stripe purchases using an access token

    • accessToken: Access token received when the Stripe checkout session was created

App Management

  • iaptic_switch_app: Switch to a different Iaptic app

    • appName: Name of the app to switch to

    • apiKey: API key for the app

  • iaptic_reset_app: Reset to the default Iaptic app

  • iaptic_current_app: Get information about the currently active app

Development

# Install dependencies
npm install

# Run in development mode
npm run dev

# Build for production
npm run build

# Run production build
npm start

Requirements

  • Node.js >= 18

  • An Iaptic account with API credentials

License

MIT

Available Tools

17 tools
customer_add_purchaseA

Manually associate a customer with a purchase.

  • Links a purchase to a specific customer

  • Takes priority over receipt validation links

  • Useful for manual purchase management

  • Purchase format should be "platform:purchaseId", for example apple:123109519983

  • Required: customerId and purchaseId

Inputs: customerId (required), purchaseId (required).

customer_getB

Get detailed information about a specific customer.

  • Returns complete customer profile including:

    • Application username

    • Purchase history

    • Active and expired subscriptions

    • Last purchase details

    • Subscription renewal status

    • Trial and introductory period information

  • Required: customerId parameter

Inputs: customerId (required).

customer_listA

List customers from your Iaptic account.

  • Returns a paginated list of customers with their purchase status

  • Each customer includes:

    • Application username

    • Last purchase information

    • Subscription status (active/lapsed)

    • Renewal intent

    • Trial/introductory period status

  • Use limit and offset for pagination (default: 100 customers per page)

  • Results are ordered by creation date (newest first)

Inputs: limit, offset.

customer_subscriptionA

Get customer's subscription status.

  • Returns active subscription details if any

  • Includes:

    • Subscription status and expiry

    • Payment and renewal information

    • Trial/introductory period status

  • Simpler alternative to customer_get for subscription-only apps

Inputs: customerId (required).

customer_transactionsA

Get customer's transaction history.

  • Returns list of all transactions

  • Includes:

    • Payment details

    • Transaction status

    • Associated purchases

    • Timestamps

Inputs: customerId (required).

event_detailsA

Get detailed information about a specific event.

  • Returns both analyzed data (context, content) and raw event data (request, response, external API calls)

  • Raw data includes the HTTP request/response and any external requests made (e.g. Apple/Google/Stripe API calls)

  • Sensitive fields are removed and large payloads are trimmed

  • Optionally includes receipt validation details

  • Use an eventId from event_list results

  • Requires validator version 3.12+

Inputs: eventId (required), receipts.

event_listA

List recent events from your Iaptic account.

  • Returns a paginated list of system events

  • Events include:

    • Receipt validations

    • Platform notifications (Apple/Google/etc)

    • Webhook deliveries

    • Purchase status changes

    • Subscription renewals

  • Use limit and offset for pagination

  • Results ordered by date (newest first)

Inputs: limit, offset, startdate, enddate, +1 more.

iaptic_current_appA

Get information about the currently active Iaptic app.

  • Returns the current app name

  • Indicates whether using default or custom credentials

Inputs: no named parameters.

iaptic_reset_appA

Reset to the default Iaptic app.

  • Reverts to the original app credentials provided during server initialization

  • All subsequent API calls will use the default app name and API key

  • Use this after using iaptic_switch_app to return to the default app

Inputs: no named parameters.

iaptic_switch_appA

Switch to a different Iaptic app.

  • Allows temporarily using a different app's credentials

  • All subsequent API calls will use the new app name and API key

  • Useful for managing multiple apps in the same session

  • Required: appName parameter (apiKey required only if not using master key)

Inputs: appName (required), apiKey.

purchase_getA

Get detailed information about a specific purchase.

  • Returns complete purchase details including:

    • Product information

    • Purchase status

    • Associated transactions

    • Customer information

    • Subscription details (if applicable)

  • Required: purchaseId parameter

Inputs: purchaseId (required).

purchase_listA

List purchases from your Iaptic account.

  • Returns a paginated list of purchases

  • Use limit and offset for pagination (default: 100 per page)

  • Filter by date range using startdate and enddate (ISO format)

  • Filter by customerId to see purchases from a specific customer

  • Results include purchase status, product info, and transaction details

  • Results are ordered by purchase date (newest first)

Inputs: limit, offset, startdate, enddate, +1 more.

stats_appB

Get statistics specific to your application.

  • Returns app-specific metrics including:

    • App revenue and growth

    • Active subscriptions for this app

    • Customer metrics for this app

    • Product performance statistics

    • Transaction metrics

  • Uses the app name provided during server initialization

Inputs: no named parameters.

stats_getA

Get general transactions, revenue and usage statistics from your Iaptic account.

  • Returns aggregated metrics including:

    • Total revenue

    • Number of active subscriptions

    • Customer growth metrics

    • Transaction success rates

    • Revenue by product type

  • Data is aggregated across all your applications

Inputs: no named parameters.

stripe_pricesA

Get available Stripe products and prices.

  • Returns list of products with their associated prices

  • Each product includes:

    • Product ID and display name

    • Description and metadata

    • Available pricing offers

    • Subscription terms if applicable

  • Results are cached for 5 minutes

Inputs: no named parameters.

transaction_getA

Get detailed information about a specific transaction.

  • Returns complete transaction details including:

    • Transaction status

    • Amount and currency

    • Payment method details

    • Associated purchase information

    • Customer information

    • Timestamps and audit data

  • Required: transactionId parameter

Inputs: transactionId (required).

transaction_listA

List financial transactions from your Iaptic account.

  • Returns a paginated list of transactions

  • Use limit and offset for pagination (default: 100 per page)

  • Filter by date range using startdate and enddate (ISO format)

  • Filter by purchaseId to see transactions for a specific purchase

  • Results include transaction status, amount, currency, and payment details

  • Results are ordered by transaction date (newest first)

  • Important: Use date filtering to avoid retrieving too many records

Inputs: limit, offset, startdate, enddate, +1 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 17 tools

    Disambiguation5/5

    Each tool targets a distinct resource (customer, purchase, transaction, event, stats, app, stripe) with clear actions (list, get, add, details). No overlapping purposes; agents can easily distinguish.

    Naming Consistency4/5

    Tools consistently use snake_case with a resource-first pattern (e.g., customer_list, purchase_get). However, some names like 'customer_subscription' and 'event_details' use nouns instead of verbs, causing minor inconsistency.

    Tool Count5/5

    17 tools cover the Iaptic domain comprehensively without being excessive. Each tool has a clear purpose, and the count is well-balanced for managing in-app purchases and subscriptions.

    Completeness4/5

    The tool surface covers core operations (list, get, add) for customers, purchases, transactions, events, and stats. Missing create/update for customers and purchases, but these are typically handled client-side, so no major gap.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      A server that enables interaction with PostgreSQL, MySQL, MariaDB, or SQLite databases through Claude Desktop using natural language queries.
      1
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      A server that connects Claude to your documentation via Inkeep's API, enabling AI-powered interactions with your documentation content.
      25
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A server that enables seamless integration with Yango Tech e-commerce platform through Claude Desktop and Cursor IDE, allowing users to query orders, products, inventory and other business data using natural language.
      11
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      This server provides database access capabilities to Claude, supporting SQLite, SQL Server, PostgreSQL, and MySQL databases.
      MIT