The MCP server for Iaptic provides an interface for Claude or other AI models to interact with your Iaptic data, allowing them to query information about customers, purchases, transactions, and statistics through the Model Context Protocol.
The easiest way to install the Iaptic server for Claude Desktop is through Smithery:
npx -y @smithery/cli install mcp-server-iaptic --client claude
You can run the server directly with npx:
npx mcp-server-iaptic --api-key YOUR_API_KEY --app-name YOUR_APP_NAME
Or install it globally:
npm install -g mcp-server-iaptic
mcp-server-iaptic --api-key YOUR_API_KEY --app-name YOUR_APP_NAME
To use with Claude Desktop, add the following 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"
]
}
}
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 IDlimit
: 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 IDlimit
: 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)appName
: Name of the app to switch toapiKey
: API key for the appThere are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.