Model Context Protocol server for interacting with 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.
To install Iaptic for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install mcp-server-iaptic --client claude
# Run directly with npx
npx 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
Add to your Claude Desktop configuration file:
{
"iaptic": {
"command": "npx",
"args": [
"mcp-server-iaptic",
"--api-key", "your-api-key-here",
"--app-name", "your-app-name-here"
]
}
}
customer_list
: List customerscustomer_get
: Get customer details by IDpurchase_list
: List purchases
limit
: Maximum number of purchases to return (default: 100, max: 1000)offset
: Number of purchases to skip for paginationstartdate
: 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 IDpurchase_get
: Get purchase details by IDtransaction_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 paginationstartdate
: 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 IDtransaction_get
: Get transaction details by IDstats_get
: Get general statistics about transactions and revenuestats_app
: Get app-specific statisticsevent_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 paginationstartdate
: 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)iaptic_switch_app
: Switch to a different Iaptic app
appName
: Name of the app to switch toapiKey
: API key for the appiaptic_reset_app
: Reset to the default Iaptic appiaptic_current_app
: Get information about the currently active app# Install dependencies
npm install
# Run in development mode
npm run dev
# Build for production
npm run build
# Run production build
npm start
MIT