Iaptic MCP Server

Official

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Iaptic 的 MCP 服务器

用于与Iaptic API交互的模型上下文协议服务器。此服务器允许 Claude 或其他 AI 与你的 Iaptic 数据交互,以回答有关你的客户、购买、交易和统计数据的问题。

安装

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 Iaptic:

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

与 Claude Desktop 一起使用

添加到您的 Claude Desktop 配置文件:

{ "iaptic": { "command": "npx", "args": [ "mcp-server-iaptic", "--api-key", "your-api-key-here", "--app-name", "your-app-name-here" ] } }

可用工具

顾客

  • customer_list :列出客户
  • customer_get :通过 ID 获取客户详细信息

购买

  • purchase_list :列出购买记录
    • limit :退回的最大购买数量(默认值:100,最大值:1000)
    • offset :分页时跳过的购买次数
    • startdate :过滤此日期之后的购买(ISO 格式,例如 2024-01-01)
    • enddate :过滤此日期之前的购买(ISO 格式,例如 2024-12-31)
    • customerId :按客户 ID 过滤
  • purchase_get :通过 ID 获取购买详情

交易

  • transaction_list :列出具有分页和日期过滤的交易
    • limit :返回的最大交易数(默认值:100,最大值:1000)
    • offset :分页时跳过的事务数
    • startdate :过滤此日期之后的交易(ISO 格式,例如 2024-01-01)
    • enddate :过滤此日期之前的交易(ISO 格式,例如 2024-12-31)
    • purchaseId :按购买 ID 过滤
  • transaction_get :通过 ID 获取交易详情

统计数据

  • stats_get :获取有关交易和收入的一般统计数据
  • stats_app :获取特定于应用程序的统计数据

活动

  • event_list :列出最近发生的事件,并按分页和日期进行过滤
    • limit :返回的最大事件数(默认值:100)
    • offset :分页时要跳过的事件数
    • startdate :过滤此日期之后的事件(ISO 格式,例如 2024-01-01)
    • enddate :过滤此日期之前的事件(ISO 格式,例如 2024-12-31)

应用程序管理

  • iaptic_switch_app :切换到不同的 Iaptic 应用
    • appName :要切换到的应用程序的名称
    • apiKey :应用程序的 API 密钥
  • iaptic_reset_app :重置为默认的 Iaptic 应用程序
  • iaptic_current_app :获取有关当前活动应用程序的信息

发展

# Install dependencies npm install # Run in development mode npm run dev # Build for production npm run build # Run production build npm start

要求

  • Node.js >= 18
  • 具有 API 凭证的 Iaptic 帐户

执照

麻省理工学院

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

用于与 Iaptic API 交互的服务器,允许像 Claude 这样的 AI 模型查询客户、购买和交易数据,以及检索统计见解。

  1. Installation
    1. Installing via Smithery
    2. Manual Installation
  2. Usage with Claude Desktop
    1. Available Tools
      1. Customers
      2. Purchases
      3. Transactions
      4. Statistics
      5. Events
      6. App Management
    2. Development
      1. Requirements
        1. License
          ID: u2l6kenhz6