pop-pay
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 session2. 添加到您的 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.jsonWindsurf:
~/.codeium/windsurf/mcp_config.jsonVS 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 工具
工具 | 描述 |
| 发行一张虚拟卡并通过 CDP 将凭据注入到结账页面。自动扫描页面以查找隐藏的提示词注入。 |
| 自动填充账单/联系信息(姓名、地址、电子邮件、电话)。自动扫描页面以查找隐藏的提示词注入。 |
| 通过 x402 HTTP 支付协议支付 API 调用费用。 |
Claude Code 用户提示: 将以下内容添加到您项目的
CLAUDE.md中,以帮助智能体知道何时调用 pop-pay: “当你遇到支付表单或结账页面时,请使用request_virtual_card工具。对于账单/联系信息表单,请先使用request_purchaser_info。”
配置
~/.config/pop-pay/.env 中的核心变量。请参阅 ENV_REFERENCE.md 获取完整列表。
变量 | 默认值 | 描述 |
|
| 批准的供应商类别 — 请参阅 类别手册 |
|
| 每笔交易的最大美元金额 |
|
| 每天的最大美元金额 |
|
| 阻止幻觉/重试循环 |
|
| 启用 CDP 卡片注入 |
|
|
|
防护栏模式
|
| |
机制 | 对推理字符串进行关键字匹配 | 通过 LLM 进行语义分析 |
成本 | 零 — 无 API 调用 | 每次请求一次 LLM 调用 |
最适合 | 开发、低风险工作流 | 生产环境、高价值交易 |
要启用 LLM 模式,请参阅 集成指南 §1。
提供商
提供商 | 描述 |
BYOC (默认) | 自带卡片 (Bring Your Own Card) — 加密库凭据,本地 CDP 注入。 |
Stripe Issuing | 通过 Stripe API 获取真实虚拟卡。需要 |
Lithic | 多发行商适配器 (Stripe Issuing / Lithic)。 |
Mock | 用于开发的带有生成卡号的测试模式。 |
优先级: Stripe Issuing → BYOC Local → Mock。
安全性
层级 | 防御 |
上下文隔离 | 卡片凭据永远不会进入智能体的上下文窗口或日志 |
加密库 | AES-256-GCM,带有 XOR 分割盐值和原生 scrypt 密钥派生 (Rust) |
TOCTOU 防护 | 在 CDP 注入时验证域名 — 阻止重定向攻击 |
表示脱敏 | 在所有 MCP 响应、日志和回溯中自动掩码 ( |
请参阅 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 注入
文档
威胁模型 — STRIDE 分析、5 个安全原语、10 个攻击场景
防护栏基准测试 — 20 个测试场景中 95% 的准确率
合规性常见问题解答 — PCI DSS、SOC 2、GDPR 详细信息
环境变量参考 — 所有 POP_* 环境变量
集成指南 — Claude Code、Node.js SDK 和浏览器智能体的设置
类别手册 — POP_ALLOWED_CATEGORIES 模式和示例
许可证
MIT
This server cannot be installed
Maintenance
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
- AlicenseBqualityBmaintenanceWAF for AI agents — block prompt injection before it reaches the LLM.5MIT
- AlicenseNot gradedqualityBmaintenanceAgentPay 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
- FlicenseNot gradedqualityCmaintenanceA local-first security gateway and visual dashboard for AI agents that enforces cost caps, blocks prompt injections, and requires approval for dangerous actions.2
- AlicenseNot gradedqualityFmaintenanceEnables 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.10MIT
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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