Connect with [iaptic](https://www.iaptic.com) to ask about your Customer Purchases, Transaction data and App Revenue statistics.
Harness the potential of Large Language Models (LLMs) like Claude to gain unprecedented insights from your Iaptic data. This guide details how to set up an MCP (Model Context Protocol) server, enabling seamless interaction between AI and your customer, purchase, transaction, and statistical information within Iaptic.
The Model Context Protocol (MCP) acts as a universal translator, bridging the gap between LLM applications and external data sources. By adhering to this open standard, you can empower your AI to access and utilize real-world context, leading to more informed and accurate responses.
Choose the installation method that best suits your workflow:
Smithery simplifies the installation process, automating the configuration for Claude Desktop:
npx -y @smithery/cli install mcp-server-iaptic --client claude
For users who prefer a hands-on approach, follow these steps:
# Option 1: Execute directly with npx (no global installation) npx mcp-server-iaptic --api-key YOUR_API_KEY --app-name YOUR_APP_NAME # Option 2: Global installation for convenient access npm install -g mcp-server-iaptic mcp-server-iaptic --api-key YOUR_API_KEY --app-name YOUR_APP_NAME
Important: Replace YOUR_API_KEY
and YOUR_APP_NAME
with your actual Iaptic API key and application name.
To enable the MCP server within Claude Desktop, modify your configuration file as follows:
{ "iaptic": { "command": "npx", "args": [ "mcp-server-iaptic", "--api-key", "your-api-key-here", "--app-name", "your-app-name-here" ] } }
Note: Ensure that your-api-key-here
and your-app-name-here
are replaced with your valid Iaptic credentials.
This MCP server exposes a suite of powerful tools, allowing your AI to interact with various aspects of your Iaptic data:
customer_list
: Retrieve a comprehensive list of your customers.customer_get
: Obtain detailed information about a specific customer using their unique ID.purchase_list
: Access a list of purchases, with advanced filtering options:
limit
: Control the number of purchases returned (default: 100, maximum: 1000).offset
: Implement pagination by skipping a specified number of purchases.startdate
: Filter purchases occurring after a specific date (ISO 8601 format, e.g., 2024-01-01).enddate
: Filter purchases occurring before a specific date (ISO 8601 format, e.g., 2024-12-31).customerId
: Isolate purchases made by a particular customer.purchase_get
: Retrieve detailed information about a specific purchase using its unique ID.transaction_list
: Explore a list of transactions, with pagination and date filtering capabilities:
limit
: Control the number of transactions returned (default: 100, maximum: 1000).offset
: Implement pagination by skipping a specified number of transactions.startdate
: Filter transactions occurring after a specific date (ISO 8601 format, e.g., 2024-01-01).enddate
: Filter transactions occurring before a specific date (ISO 8601 format, e.g., 2024-12-31).purchaseId
: Isolate transactions associated with a particular purchase.transaction_get
: Retrieve detailed information about a specific transaction using its unique ID.stats_get
: Obtain general statistics related to transactions and revenue.stats_app
: Access application-specific statistical data.event_list
: Monitor recent events with pagination and date filtering:
limit
: Control the number of events returned (default: 100).offset
: Implement pagination by skipping a specified number of events.startdate
: Filter events occurring after a specific date (ISO 8601 format, e.g., 2024-01-01).enddate
: Filter events occurring before a specific date (ISO 8601 format, e.g., 2024-12-31).iaptic_switch_app
: Seamlessly switch between different Iaptic applications.
appName
: The name of the target application.apiKey
: The API key associated with the target application.iaptic_reset_app
: Revert to the default Iaptic application configuration.iaptic_current_app
: Retrieve information about the currently active Iaptic application.For developers looking to contribute or customize the MCP server:
# Install project dependencies npm install # Run the server in development mode (with hot-reloading) npm run dev # Build the server for production deployment npm run build # Start the production-ready server npm start
By following this guide, you can effectively integrate your Iaptic data with LLMs, unlocking new possibilities for data analysis, customer understanding, and AI-driven decision-making.
๐ โ๏ธ Octagon AI Agents to integrate private and public market data
๐ โ๏ธ An MCP server for checking and revoking ERC-20 token allowances across multiple blockchains.
๐ โ๏ธ An MCP server providing tools for AI agents to mint ERC-20 tokens across multiple blockchains.
๐ โ๏ธ An MCP server for AI agents to automate token swaps on Uniswap DEX across multiple blockchains.