pop-pay
Point One Percent — pop-pay
Die Laufzeitsicherheitsschicht für den Handel mit KI-Agenten. Drop-in CLI + MCP-Server. Kartendaten werden direkt über CDP in das Browser-DOM injiziert — sie gelangen niemals in das Kontextfenster des Agenten. Ein halluzinierter Prompt kann keinen Geldbeutel leeren, den er nicht sehen kann.
Installation
Wählen Sie Ihre bevorzugte Methode:
pipx install "pop-pay[mcp]"pip install "pop-pay[mcp]"uv tool install "pop-pay[mcp]"pip install "pop-pay" # core (keyword guardrail + mock provider)
pip install "pop-pay[mcp,browser]" # CDP injection (browser automation)
pip install "pop-pay[mcp,llm]" # LLM guardrails (OpenAI, Ollama, vLLM, OpenRouter)
pip install "pop-pay[stripe]" # Stripe virtual card issuing
pip install "pop-pay[langchain]" # LangChain integration
pip install "pop-pay[all]" # everythingAlle Installationspfade stellen die CLI-Binärdateien bereit: pop-launch, pop-init-vault, pop-unlock und pop-pay (Dashboard-Launcher).
Verwenden Sie Node.js / JavaScript? Schauen Sie sich pop-pay (npm) an —
npm i -g pop-payoderbrew install 100xpercent/tap/pop-pay. Dasselbe Sicherheitsmodell, dasselbe Vault-Format, unabhängiger Release-Zyklus — sicher zwischen Runtimes zu wechseln.
Related MCP server: 🍋 LemonCake — Billing & budgets for AI agents
Schnellstart (CLI)
1. Initialisieren Sie den verschlüsselten Anmeldedaten-Vault
pop-init-vaultDies verschlüsselt Ihre Kartendaten in ~/.config/pop-pay/vault.enc (AES-256-GCM). Für stärkeren Schutz (blockiert Agenten mit Shell-Zugriff):
pop-init-vault --passphrase # one-time setup
pop-unlock # run once per session2. Starten Sie Chrome mit CDP-Remote-Debugging
pop-launchÖffnet eine Chromium-Instanz auf http://localhost:9222, in die pop-pay Anmeldedaten injiziert. Ihr Agent (via MCP, Browser-Automatisierung oder x402) steuert dann den Checkout-Flow — Kartendaten verlassen niemals den Browser-Prozess.
3. Öffnen Sie das Monitoring-Dashboard (optional)
pop-payEchtzeitansicht der Zahlungsaktivitäten des Agenten, der Budgetauslastung und der Ablehnungsprotokolle.
4. Verbinden Sie Ihren Agenten
Zwei unterstützte Integrationspfade:
MCP-Server — fügen Sie pop-pay zu jedem MCP-kompatiblen Client hinzu (Claude Code, OpenClaw). Siehe MCP-Server unten.
Python SDK / LangChain — siehe Python SDK unten.
MCP-Server (optional)
Der MCP-Server wird als Python-Modul aufgerufen und entschlüsselt den Vault beim Start.
Zu Ihrem MCP-Client hinzufügen
{
"mcpServers": {
"pop-pay": {
"command": "python3",
"args": ["-m", "pop_pay.mcp_server"],
"env": {
"POP_CDP_URL": "http://localhost:9222"
}
}
}
}claude mcp add pop-pay -- python3 -m pop_pay.mcp_serverMit Umgebungsvariablen:
claude mcp add pop-pay \
-e POP_CDP_URL=http://localhost:9222 \
-e POP_ALLOWED_CATEGORIES='["aws","cloudflare"]' \
-e POP_MAX_PER_TX=100.0 \
-e POP_MAX_DAILY=500.0 \
-e POP_GUARDRAIL_ENGINE=keyword \
-- python3 -m pop_pay.mcp_serverKompatibel mit jedem MCP-Host. Siehe den Integrationsleitfaden für Einrichtungsanweisungen und System-Prompt-Vorlagen.
docker-compose up -dFührt den MCP-Server + Headless Chromium mit CDP aus. Mounten Sie Ihren verschlüsselten Vault vom Host. Siehe docker-compose.yml für die Konfiguration.
MCP-Tools
Tool | Beschreibung |
| Stellt eine virtuelle Karte aus und injiziert Anmeldedaten via CDP in die Checkout-Seite. |
| Füllt Rechnungs-/Kontaktinformationen (Name, Adresse, E-Mail, Telefon) automatisch aus. |
| Bezahlt API-Aufrufe über das x402 HTTP-Zahlungsprotokoll. |
| Scannt eine Checkout-Seite auf versteckte Prompt-Injections oder Anomalien. |
Konfiguration
Kernvariablen in ~/.config/pop-pay/.env. Siehe ENV_REFERENCE.md für die vollständige Liste.
Variable | Standard | Beschreibung |
|
| Genehmigte Anbieterkategorien — siehe Kategorien-Kochbuch |
|
| Max. USD pro Transaktion |
|
| Max. USD pro Tag |
|
| Blockiert Halluzinations-/Wiederholungsschleifen |
|
| Aktiviert CDP-Karteninjektion |
|
|
|
Guardrail-Modus
|
| |
Mechanismus | Keyword-Abgleich auf Reasoning-String | Semantische Analyse via LLM |
Kosten | Null — keine API-Aufrufe | Ein LLM-Aufruf pro Anfrage |
Am besten für | Entwicklung, risikoarme Workflows | Produktion, hochwertige Transaktionen |
Um den LLM-Modus zu aktivieren, siehe Integrationsleitfaden §1.
Anbieter
Anbieter | Beschreibung |
BYOC (Standard) | Bring Your Own Card — verschlüsselte Vault-Anmeldedaten, lokale CDP-Injektion. |
Stripe Issuing | Echte virtuelle Karten via Stripe API. Erfordert |
Lithic | Multi-Issuer-Adapter (Stripe Issuing / Lithic). |
Mock | Testmodus mit generierten Kartennummern für die Entwicklung. |
Priorität: Stripe Issuing → BYOC Local → Mock.
Python SDK
Integrieren Sie pop-pay in benutzerdefinierte Python- oder LangChain-Workflows:
from pop_pay.client import PopClient
from pop_pay.providers.stripe_mock import MockStripeProvider
from pop_pay.core.models import GuardrailPolicy
client = PopClient(
provider=MockStripeProvider(),
policy=GuardrailPolicy(
allowed_categories=["API", "Cloud"],
max_amount_per_tx=50.0,
max_daily_budget=200.0,
),
)
# LangChain integration
from pop_pay.tools.langchain import PopPaymentTool
tool = PopPaymentTool(client=client, agent_id="agent-01")Siehe Integrationsleitfaden §2 für die vollständige SDK- und Anbieterreferenz.
Sicherheit
Schicht | Verteidigung |
Kontext-Isolierung | Kartendaten gelangen niemals in das Kontextfenster oder die Protokolle des Agenten |
Verschlüsselter Vault | AES-256-GCM mit PBKDF2-Schlüsselableitung und OS-Keyring-Integration |
TOCTOU-Guard | Domain-Verifizierung zum Zeitpunkt der CDP-Injektion — blockiert Redirect-Angriffe |
Repr-Redaktion | Automatische Maskierung ( |
Siehe THREAT_MODEL.md für die vollständige STRIDE-Analyse und COMPLIANCE_FAQ.md für Unternehmensdetails.
Architektur
Python — Kern-Engine, MCP-Server, Guardrail-Logik, CLI
Cython — Leistungskritische Vault-Operationen und Speicherschutz
Chrome DevTools Protocol — Direkte DOM-Injektion via Raw-WebSocket
SQLite — Lokale Transaktionsprüfung und Zustandsverwaltung
Dokumentation
Bedrohungsmodell — STRIDE-Analyse, 5 Sicherheitsprimitive, 10 Angriffsszenarien
Guardrail-Benchmark — Modellübergreifende Evaluierung (Anthropic / OpenAI / Gemini) über 585 Payloads, 11 Angriffskategorien
Compliance-FAQ — PCI DSS, SOC 2, DSGVO-Details
Umgebungsreferenz — Alle POP_*-Umgebungsvariablen
Integrationsleitfaden — Einrichtung für Claude Code, Python SDK und Browser-Agenten
Kategorien-Kochbuch — POP_ALLOWED_CATEGORIES-Muster und Beispiele
Lizenz
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
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 Connectors
Payment infrastructure for AI agents: spending rules, approval flows, single-use virtual cards.
Prepaid virtual cards for AI agents: one-time cards, spend caps, human approvals.
The independent agent-commerce protocol for AI-agent checkout on any online store.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceEnables AI agents to perform financial transactions such as direct payments, escrows, and bounty management using natural language with zero code integration. It provides a comprehensive suite of tools for fund streaming, subscriptions, and reputation tracking to facilitate secure agent-to-agent commerce.22MIT
- AlicenseAqualityBmaintenancePay-per-call USDC payment proxy for AI agents. Issue scoped Pay Tokens with hard spending caps and auto-journal every charge to freee / Money Forward / QuickBooks.6713MIT
- AlicenseNot gradedqualityCmaintenanceAgentPay 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
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to make autonomous payments on Solana with on-chain enforced spending limits, preventing unauthorized fund drainage.21MIT
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-python'
If you have feedback or need assistance with the MCP directory API, please join our Discord server