Token导航 LogoToken导航TokenDH.com
Agent Safepay MCP logo
AI代理未说明官方级别未说明来源级核验

Agent Safepay MCP

MCP Server

Agent-SafePay MCP Server是一个允许AI代理与支付控制系统交互的协议服务器,提供支付意图创建、提交同意、确认支付和审计日志查看等功能。

工具数

4

提示词数

0

GitHub Stars

0

资源数

0
JavaScriptClaude金融服务Claude DesktopClaude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

Edidas02

提供方

Edidas02

最后核验

2026/5/17 20:20

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

Agent-SafePay MCP 服务器

MCP(模型上下文协议)服务器适配,使AI代理能够与Agent-SafePay支付控件进行交互。

请参阅 https://github.com/Edidas02/agent-safepay-lite/blob/main/README.md 获取安装说明

可用工具

1. create_payment_intent

使用政策检查创建支付。

参数:

  • amount (数字):金额以分为单位(例如,2599表示25.99美元)
  • currency (字符串): "USD"(美元)、"EUR"(欧元)或 "GBP"(英镑)
  • merchant_id (字符串):商户ID(例如,“m_abc”)
  • merchant_name (字符串):商户显示名称
  • item_description (字符串):正在购买什么

返回值:

  • 支付意图ID
  • 状态: blockedrequires_consent,或 ready
  • 代理的下一步行动

2. submit_consent

提交一次性密码以获取同意批准。

参数:

  • intent_id (字符串):支付意图ID
  • otp (字符串):来自用户的6位一次性密码(OTP)

返回值:

  • 成功/失败状态

3. confirm_payment

执行支付。

参数:

  • intent_id (字符串):支付意图ID

返回值:

  • 支付结果(成功/失败)

4. get_audit_log

查看交易审计轨迹。

参数:

  • intent_id (字符串):支付意图ID

返回值:

  • HMAC签名的审计日志(ND-JSON格式)

示例代理流程

User: "Buy me a $30 gadget from Acme"

Agent: [calls create_payment_intent]
Response: "⚠️ This payment requires user consent.
          Ask the user to check their server logs for the OTP code."

User: "The OTP is 483927"

Agent: [calls submit_consent with OTP]
Response: "✅ Consent granted! Payment intent is now ready."

Agent: [calls confirm_payment]
Response: "✅ Payment successful!"

建筑学

AI Agent (Claude Desktop)
    ↓ MCP Protocol
MCP Server (this project)
    ↓ HTTP/JSON
Agent-SafePay API (:8080)
    ↓
Policy Engine + PSP Emulator

目录标签

目录标签

JavaScriptClaude金融服务支付控制本地部署AI代理协议服务器安全支付

支持客户端

Claude DesktopClaude

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

4

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP