Skip to main content
Glama
iaptic
by iaptic

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

Related MCP server: MCP Unified Server

与 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 帐户

执照

麻省理工学院

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/iaptic/mcp-server-iaptic'

If you have feedback or need assistance with the MCP directory API, please join our Discord server