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.
Integrations
Provides a Node.js library for integrating Paybyrd payment services with AI models through various interfaces.
Distributes the Paybyrd Agent Toolkit as an npm package that can be installed via npm install @paybyrd/ai-agent-toolkit.
Integrates Paybyrd's payment processing API with OpenAI models through function calling, allowing creation of payment links, processing refunds, and retrieving order information.
Paybyrd AI 代理工具包
用于将 Paybyrd 的支付处理功能与 OpenAI 和 Anthropic Claude 等 AI 模型相集成的工具包。
概述
该工具包使AI助手能够通过Paybyrd API执行支付操作:
- 为客户创建付款链接
- 处理退款
- 检索订单信息
该工具包采用模块化架构,支持不同的AI平台。
存储库结构
这个 monorepo 被组织成以下包:
- 核心(
@paybyrd/ai-agent-toolkit
):核心功能和共享工具 - claude (
@paybyrd/ai-agent-claude
):使用模型上下文协议的人类学克劳德积分 - openai (
@paybyrd/ai-agent-openai
):OpenAI 与函数调用集成
快速入门
先决条件
- Node.js 18 或更高版本
- Paybyrd API 密钥
- OpenAI API 密钥(用于 OpenAI 集成)或 Anthropic API 密钥(用于 Claude 集成)
安装
根据您使用的 AI 平台,每个包都可以单独安装:
示例
请参阅/examples
目录以获取完整的实现示例:
/examples/openai
:使用 OpenAI 的示例实现/examples/modelcontextprotocol
:使用模型上下文协议的 Claude 示例实现
可用工具
该工具包提供以下支付操作:
- 创建付款链接:生成付款链接发送给客户
- 创建退款:处理交易退款
- 检索订单:获取现有订单的详细信息
发展
执照
麻省理工学院
This server cannot be installed
模型上下文协议服务器使 Claude AI 能够与 Paybyrd 的支付处理 API 进行交互,从而允许创建支付链接、处理退款和检索订单信息。