Set the following for your environment:
IAPTIC_APP_NAME
: your-app-name-hereIAPTIC_API_KEY
: your-api-key-here
-
Install Meshagent:
-
Sign up and authenticate:
Follow instructions: Meshagent CLI Getting Started -
Start the MCP Server agent in a test room:
- This command boots a Meshagent Room, brings up the MCP server inside, and ties it to the room’s lifecycle.
-
Start a chatbot in the test room (with the Iaptic toolkit):
- The chatbot connects with the MCP agent and toolkit. Multiple toolkits/agents can be used per room.
- A link to the Meshagent Room will appear in the command output.
-
Interact!
- Open the room link in your browser, send a message to the agent, and use the MCP server tools instantly.
- Both the MCP tool service and chatbot are removed automatically when the Room closes.
Project Level Deployment
For persistent, production-ready deployments, use project-level services. These automatically join new rooms created under your Meshagent project, ensuring MCP server tools and chatbots are always available—no need for local or manual launches.-
Create persistent MCP Server agent service:
-
Create persistent chatbot service:
Tools Available
Below are the tools provided by the Iaptic MCP Server, accessible in Meshagent Rooms via the configured agent:Tool | Short Description |
---|---|
customer_add_purchase | Manually associate a customer with a purchase. |
customer_get | Get detailed information about a specific customer. |
customer_list | List customers from your Iaptic account. |
customer_subscription | Get customer’s subscription status. |
customer_transactions | Get customer’s transaction history. |
event_list | List recent events from your Iaptic account. |
iaptic_current_app | Get information about the currently active Iaptic app. |
iaptic_reset_app | Reset to the default Iaptic app. |
iaptic_switch_app | Switch to a different Iaptic app. |
purchase_get | Get detailed information about a specific purchase. |
purchase_list | List purchases from your Iaptic account. |
stats_app | Get statistics specific to your application. |
stats_get | Get general transactions, revenue, and usage stats. |
stripe_prices | Get available Stripe products and prices. |
transaction_get | Get detailed information about a specific transaction. |
transaction_list | List financial transactions from your Iaptic account. |
Tool Details
customer_add_purchase
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:
platform:purchaseId
(e.g.,apple:123109519983
) - Required: customerId and purchaseId
customerId
(string): Application username of the customerpurchaseId
(string): ID of the purchase to associate
customer_get
Get detailed information about a specific customer.
- Complete profile including username, purchase history, subscriptions, etc.
- Required: customerId
customerId
(string): Unique identifier of the customer
customer_list
List customers from your Iaptic account.
- Paginated, includes purchase status, subscription info
- Use
limit
andoffset
for pagination
limit
(number, optional): Max customers to return (default: 100)offset
(number, optional): Number of customers to skip
customer_subscription
Get customer’s subscription status.
- Returns active subscription info, renewal details
- Required: customerId
customerId
(string): Application username of the customer
customer_transactions
Get customer’s transaction history.
- All transactions, status, payment details
customerId
(string): Application username of the customer
event_list
List recent events from your Iaptic account.
- Paginated
- Events: validations, notifications, webhook deliveries, etc.
enddate
(string, optional): Filter before date (ISO)limit
(number, optional): Max to return (default: 100)offset
(number, optional): Skip for paginationstartdate
(string, optional): Filter after date (ISO)
iaptic_current_app
Get information about the currently active Iaptic app.
- Shows current app, credential source, authentication info
iaptic_reset_app
Reset to the default Iaptic app.
- Reverts to credentials provided at server initialization.
iaptic_switch_app
Switch to a different Iaptic app.
- Temporarily uses different app’s credentials
appName
(string): Name of the app to switch toapiKey
(string, optional): API key (not needed if using master key)
purchase_get
Get detailed information about a specific purchase.
- Product info, status, customer/transaction links
purchaseId
(string): Unique ID of the purchase
purchase_list
List purchases from your Iaptic account.
- Paginated, filterable by customerId/date
customerId
(string, optional): Filter by customer IDenddate
(string, optional): Before date (ISO)limit
(number, optional): Max to return (default: 100, max: 1000)offset
(number, optional): Skip for paginationstartdate
(string, optional): After date (ISO)
stats_app
Get statistics specific to your application.
- App revenue/growth, subscription/customer metrics
stats_get
Get general transactions, revenue, and usage statistics.
- Aggregated metrics across all applications
stripe_prices
Get available Stripe products and prices.
- Product/price/terms info (5 min cache)
transaction_get
Get detailed information about a specific transaction.
- Status, amount, payment method, purchase/customer info
transactionId
(string): Unique ID of the transaction
transaction_list
List financial transactions from your Iaptic account.
- Paginated, filterable by purchaseId/date
enddate
(string, optional): Before date (ISO)limit
(number, optional): Max to return (default: 100, max: 1000)offset
(number, optional): Skip for paginationpurchaseId
(string, optional): Filter by purchase IDstartdate
(string, optional): After date (ISO)