Skip to main content
Glama

npm version License: MIT CI Node.js

Point One Percent — pop-pay

这是用于 AI 智能体商务的运行时安全层。卡片凭据通过 CDP 直接注入到浏览器 DOM 中——它们永远不会进入智能体的上下文窗口。一次幻觉提示无法耗尽它看不见的钱包。

入门指南

1. 初始化凭据库

npx -y pop-pay pop-init-vault

这将把您的卡片凭据加密到 ~/.config/pop-pay/vault.enc (AES-256-GCM) 中。MCP 服务器会在启动时自动解密。

为了获得更强的保护(推荐——可阻止具有 shell 访问权限的智能体):

npx -y pop-pay pop-init-vault --passphrase   # one-time setup
npx -y pop-pay pop-unlock                     # run once before each session

2. 添加到您的 MCP 客户端

适用于任何兼容 MCP 的客户端的标准配置:

{
  "mcpServers": {
    "pop-pay": {
      "command": "npx",
      "args": ["-y", "pop-pay", "launch-mcp"],
      "env": {
        "POP_CDP_URL": "http://localhost:9222"
      }
    }
  }
}

Claude Code 使用其自己的 CLI——不需要上述 JSON 配置。

claude mcp add --scope user pop-pay -- npx -y pop-pay launch-mcp

--scope user 使其在所有项目中可用。要移除:claude mcp remove pop-pay

将上述 JSON 配置添加到:

  • Cursor: ~/.cursor/mcp.json

  • Windsurf: ~/.codeium/windsurf/mcp_config.json

  • VS Code (Copilot): 项目根目录下的 .vscode/mcp.json

OpenClaw 使用其自己的 CLI——不需要上述 JSON 配置。

openclaw mcp add pop-pay -- npx -y pop-pay launch-mcp

或者使用上述 JSON 配置添加到 ~/.openclaw/mcp_servers.json

有关系统提示词模板和 NemoClaw 沙盒设置,请参阅 集成指南 §4

docker-compose up -d

运行 MCP 服务器 + 带有 CDP 的无头 Chromium。从主机挂载您的加密库。

3. 启动带有 CDP 的 Chrome 并开始使用

npx -y pop-pay launch

重启您的 MCP 客户端。智能体现在可以访问 pop-pay 的 MCP 工具了。

Related MCP server: Arbor

MCP 工具

工具

描述

request_virtual_card

发行一张虚拟卡并通过 CDP 将凭据注入到结账页面。自动扫描页面以查找隐藏的提示词注入。

request_purchaser_info

自动填充账单/联系信息(姓名、地址、电子邮件、电话)。自动扫描页面以查找隐藏的提示词注入。

request_x402_payment

通过 x402 HTTP 支付协议支付 API 调用费用。

Claude Code 用户提示: 将以下内容添加到您项目的 CLAUDE.md 中,以帮助智能体知道何时调用 pop-pay: “当你遇到支付表单或结账页面时,请使用 request_virtual_card 工具。对于账单/联系信息表单,请先使用 request_purchaser_info。”

配置

~/.config/pop-pay/.env 中的核心变量。请参阅 ENV_REFERENCE.md 获取完整列表。

变量

默认值

描述

POP_ALLOWED_CATEGORIES

["aws","cloudflare"]

批准的供应商类别 — 请参阅 类别手册

POP_MAX_PER_TX

100.0

每笔交易的最大美元金额

POP_MAX_DAILY

500.0

每天的最大美元金额

POP_BLOCK_LOOPS

true

阻止幻觉/重试循环

POP_AUTO_INJECT

true

启用 CDP 卡片注入

POP_GUARDRAIL_ENGINE

keyword

keyword (零成本) 或 llm (语义)

防护栏模式

keyword (默认)

llm

机制

对推理字符串进行关键字匹配

通过 LLM 进行语义分析

成本

零 — 无 API 调用

每次请求一次 LLM 调用

最适合

开发、低风险工作流

生产环境、高价值交易

要启用 LLM 模式,请参阅 集成指南 §1

提供商

提供商

描述

BYOC (默认)

自带卡片 (Bring Your Own Card) — 加密库凭据,本地 CDP 注入。

Stripe Issuing

通过 Stripe API 获取真实虚拟卡。需要 POP_STRIPE_KEY

Lithic

多发行商适配器 (Stripe Issuing / Lithic)。

Mock

用于开发的带有生成卡号的测试模式。

优先级: Stripe Issuing → BYOC Local → Mock。

安全性

层级

防御

上下文隔离

卡片凭据永远不会进入智能体的上下文窗口或日志

加密库

AES-256-GCM,带有 XOR 分割盐值和原生 scrypt 密钥派生 (Rust)

TOCTOU 防护

在 CDP 注入时验证域名 — 阻止重定向攻击

表示脱敏

在所有 MCP 响应、日志和回溯中自动掩码 (****-4242)

请参阅 THREAT_MODEL.md 获取完整的 STRIDE 分析,并参阅 COMPLIANCE_FAQ.md 获取企业详细信息。

架构

  • TypeScript — MCP 服务器、CDP 注入引擎、防护栏、CLI

  • Rust (napi-rs) — 原生安全层:XOR 分割盐值存储、scrypt 密钥派生

  • Node.js crypto — AES-256-GCM 库加密 (OpenSSL 绑定)

  • Chrome DevTools Protocol — 通过原始 WebSocket 进行直接 DOM 注入

文档

许可证

MIT

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
12Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    AgentPay is the authorization layer between an AI agent and real spending. You define the rules — spending caps, allowed merchants, time windows — and every purchase attempt the agent makes is checked against them in real time. Approved transactions go through. Anything outside the mandate is blocked and logged. No more babysitting every agent action. No more runaway charges.
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    A local-first security gateway and visual dashboard for AI agents that enforces cost caps, blocks prompt injections, and requires approval for dangerous actions.
    2
  • A
    license
    Not graded
    quality
    F
    maintenance
    Enables AI agents to make payments by securely storing encrypted card details and enforcing user-defined policies, allowing agents to fill checkout forms on any site.
    10
    MIT

View all related MCP servers

Related MCP Connectors

  • The WAF for agents. Pattern-based + heuristic firewall scans prompts, RAG documents, tool argume...

  • Pay-per-call cybersecurity for AI agents: vuln scans, threat intel, compliance, code security.

  • Security firewall for AI agents — scans MCP calls for injection, secrets, and risks.

View all MCP Connectors

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/100xPercent/pop-pay'

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