Prime Agent Stripe
БесплатноНе проверенA Prime Agent skill that connects to Stripe's official remote MCP server to inspect and manage Stripe resources via OAuth.
Описание
A Prime Agent skill that connects to Stripe's official remote MCP server to inspect and manage Stripe resources via OAuth.
README
Official Stripe MCP integration for Prime Agent.
Prime Agent connects to Stripe's official remote MCP server at
https://mcp.stripe.com. The agent can then inspect and manage Stripe
resources through the same API surface as other MCP clients.
[!NOTE] Stripe's MCP server is in public preview. It exposes both read and write tools. Keep the connection in test mode while developing.
┌─────────────────────────────────┐ ┌─────────────────────────────────┐
│ │ from stripe import │ │ │ │ mcp.stripe.com │ │
│ │ stripe │ │ │ │ API · billing · reporting │ │
│ │ await stripe.list_tools() │──┼ OAuth 2.1 + PKCE │ │ products · customers │ │
│ │ await stripe.call_tool( │ │ │ │ subscriptions · events │ │
│ auth.json: mcp:stripe │ │ │ documentation search │ │
└─────────────────────────────────┘ └─────────────────────────────────┘
Why this integration
- Stripe-hosted server — no self-hosted proxy and no Stripe API key in this repository.
- Prime Agent-native — the module extends
McpIntegrationand exposes the live tool inventory from the Python kernel. - OAuth 2.1 with PKCE — the browser approval is stored only in Prime
Agent's private
auth.jsonundermcp:stripe. - Test-mode friendly — authorize the Liminal Stripe account and use only test-mode resources during development.
Install
Requires Prime Agent with its Python kernel and Python 3.10 or newer.
Clone the repository and link the skill into place:
git clone https://github.com/gbrlpzz/prime-agent-stripe-mcp.git ~/prime-agent-stripe-mcp rm -rf ~/.agents/skills/stripe ln -s ~/prime-agent-stripe-mcp ~/.agents/skills/stripeInstall the editable package into Prime Agent's kernel environment:
uv pip install --python ~/.prime/agent/kernel-venv/bin/python -e ~/prime-agent-stripe-mcpAdd the remote server to Prime Agent's MCP settings once:
{ "mcpServers": { "stripe": { "type": "http", "url": "https://mcp.stripe.com", "oauth": true } } }Reload Prime Agent and authorize the Stripe account:
/reload /mcp login stripe
Approve the Liminal Stripe account, not a personal or production account
that should stay outside this development workflow. Prime Agent stores the
credential as mcp:stripe. It is never written to this repository.
Usage
from stripe import stripe, auth_status
print(auth_status()) # credential state, no token values
tools = await stripe.list_tools() # live Stripe MCP inventory
# Inspect the live schema before calling a read or write tool.
result = await stripe.call_tool("<live-tool-name>", {"<live-argument>": "..."})
auth_status() returns a small dict without secrets:
{"enabled": True, "expires_fresh": True, "type": "oauth"}
Tool names and parameters belong to Stripe and may change during the public
preview. Call list_tools() first, or use the methods bound automatically
from the live inventory.
The server includes tools for Stripe API discovery, API reads and writes, account information, billing resources, documentation, and reporting. Write operations change Stripe data. Ask for human confirmation before creating, updating, cancelling, refunding, or deleting anything.
Token refresh fallback
Prime Agent refreshes the stored token automatically. On hosts where that is unavailable, call the module-level fallback:
from stripe import refresh
refresh() # exchanges the stored refresh token; rewrites auth.json with mode 600
Liminal development workflow
- Add your personal user as a team member of the Liminal Stripe account.
- Authorize this integration as that user.
- Confirm the Stripe dashboard is in test mode.
- Create test products, prices, customers, and subscriptions only.
- Configure the Supabase
stripe-webhookfunction with the resulting test webhook signing secret separately. The MCP credential does not replace the server-sideSTRIPE_SECRET_KEYorSTRIPE_WEBHOOK_SECRET.
Troubleshooting
| Symptom | Fix |
|---|---|
auth_status() reports no credentials |
Run /mcp login stripe again. |
| Calls fail after a long pause | Run refresh(); log in again if it returns False. |
| A tool name is unknown | Re-run await stripe.list_tools(); the inventory can change during preview. |
Development
python3 tests/test_skill.py # standalone suite, no Prime Agent needed
~/.prime/agent/kernel-venv/bin/python -m pytest tests/ # inside Prime Agent's kernel
CI runs the standalone suite on every push to main.
Security
- No credentials live in this repository or its Git history.
- OAuth tokens live only in Prime Agent's private
auth.json. - The module talks only to
https://mcp.stripe.comand Stripe's OAuth authorization server. - Keep all development mutations in Stripe test mode.
- Never put Stripe secret values or private-key material in source, tests, documentation, or Git history.
License
MIT — see LICENSE. Stripe is a trademark of Stripe, Inc.; this is an independent client integration for Stripe's official MCP server (see NOTICE).
Установка Prime Agent Stripe
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/gbrlpzz/prime-agent-stripe-mcpFAQ
Prime Agent Stripe MCP бесплатный?
Да, Prime Agent Stripe MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Prime Agent Stripe?
Нет, Prime Agent Stripe работает без API-ключей и переменных окружения.
Prime Agent Stripe — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Prime Agent Stripe в Claude Desktop, Claude Code или Cursor?
Открой Prime Agent Stripe на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Stripe
Payments, customers, subscriptions
автор: Stripemalamutemayhem/unclick-agent-native-endpoints
110+ tools for AI agents spanning social media, finance, gaming, music, AU-specific services, and utilities. Zero-config local tools plus platform connectors. n
автор: malamutemayhemwhiteknightonhorse/APIbase
Unified API hub for AI agents with 56+ tools across travel (Amadeus, Sabre), prediction markets (Polymarket), crypto, and weather. Pay-per-call via x402 micropa
автор: whiteknightonhorsetrackerfitness729-jpg/sitelauncher-mcp-server
Deploy live HTTPS websites in seconds. Instant subdomains ($1 USDC) or custom .xyz domains ($10 USDC) on Base chain. Templates for crypto tokens and AI agent pr
embeddedlayers/mcp-analytics
Statistical analysis, forecasting, and ML for business data (Shopify, Stripe, WooCommerce, eBay, GA4, Search Console). Upload a CSV or connect live data sources
автор: embeddedlayerscarrierone/verilexdata-mcp
20 structured datasets (NPI healthcare, SEC filings, OFAC sanctions, crypto whales, Polymarket signals, patents, economic indicators) via x402 pay-per-query wit
автор: carrieronetipdotmd/tip-md-x402-mcp-server
MCP server for cryptocurrency tipping through AI interfaces using x402 payment protocol and CDP Wallet.
автор: tipdotmdlaundromatic/shopgraph
Structured product data from the open web — Schema.org + AI extraction for e-commerce enrichment. Pay per call via Stripe. [shopgraph.dev](https://shopgraph.dev
автор: laundromaticmrslbt/xendit-mcp
Xendit payment gateway for Southeast Asia. Invoices, disbursements, balance checks, and bank transfers across Indonesia, Philippines, Thailand, Vietnam, and Mal
автор: mrslbt@arbitova/mcp-server
Non-custodial on-chain escrow + AI dispute arbitration for agent-to-agent USDC payments on Base. Seven tools covering the full EscrowV1 contract surface: create
автор: jiayuanliang0716-maxCompare Prime Agent Stripe with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории finance
