MCP Server for Iaptic
@MCP-Mirror
About MCP Server for Iaptic
Mirror of
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"iaptic_mcp-server-iaptic": {
"command": "npx",
"args": [
"mcp-server-iaptic",
"--api-key",
"YOUR_API_KEY",
"--app-name",
"YOUR_APP_NAME"
]
}
}
}Tools
17List 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)
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
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
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
Get customer's transaction history. - Returns list of all transactions - Includes: - Payment details - Transaction status - Associated purchases - Timestamps
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)
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
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
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
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
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
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
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)
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+
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)
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
Get information about the currently active Iaptic app. - Returns the current app name - Indicates whether using default or custom credentials
Overview
What is MCP Server for Iaptic?
MCP Server for Iaptic is a Model Context Protocol server that integrates with the Iaptic API, allowing Claude or other AI assistants to answer questions about customers, purchases, transactions, and statistics from an Iaptic account.
How to use MCP Server for Iaptic?
Run directly with npx mcp-server-iaptic --api-key YOUR_API_KEY --app-name YOUR_APP_NAME, or install globally with npm and run the same command. Configure it in Claude Desktop by adding a JSON entry with the command and arguments.
Key features of MCP Server for Iaptic
- Tools to list and get customer details by ID
- Tools to list and get purchases with pagination and date filtering
- Tools to list and get transactions with pagination and date filtering
- Statistics tools for general and app-specific revenue data
- Supports filtering by customer ID, purchase ID, and date ranges
Use cases of MCP Server for Iaptic
- Answer questions about a specific customer’s purchase history
- Retrieve a list of recent transactions for revenue analysis
- Filter purchases or transactions by date for reporting
- Get general or app-specific statistics on revenue and transactions
FAQ from MCP Server for Iaptic
What data can I query with this server?
You can query customers, purchases, transactions, and statistics from your Iaptic account using the provided tools.
What are the runtime requirements?
Node.js version 18 or higher and an Iaptic account with API credentials are required.
How do I pass my API credentials?
Supply your API key and app name via the --api-key and --app-name command-line arguments when starting the server.
What is the maximum number of items returned per request?
The limit parameter for purchases and transactions has a maximum value of 1000. The default is 100.
How can I filter results by date?
Both purchase_list and transaction_list accept startdate and enddate parameters in ISO format (e.g., 2024-01-01) to filter results before or after a given date.
Frequently asked questions
What data can I query with this server?
You can query customers, purchases, transactions, and statistics from your Iaptic account using the provided tools.
What are the runtime requirements?
Node.js version 18 or higher and an Iaptic account with API credentials are required.
How do I pass my API credentials?
Supply your API key and app name via the `--api-key` and `--app-name` command-line arguments when starting the server.
What is the maximum number of items returned per request?
The `limit` parameter for purchases and transactions has a maximum value of 1000. The default is 100.
How can I filter results by date?
Both `purchase_list` and `transaction_list` accept `startdate` and `enddate` parameters in ISO format (e.g., 2024-01-01) to filter results before or after a given date.
Basic information
More Other MCP servers
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Comments