create_customer
Create a customer in Stripe.
name必填email
io.github.CloudCorpRecords由 GitHub 账号 CloudCorpRecords 发布v0.1.0更新于 Nov 1, 2026
Customers, products, prices, invoices, and payments through the Stripe API.
本地 MCP 服务器,让助手管理 Stripe 账户:客户、商品、价格、支付链接、发票、退款、优惠券、争议和订阅。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
参照 仓库 中的启动说明。
payport gives an agent a working doorway into a Stripe account: open a customer record, put a product and a price in the catalog, hand a buyer a hosted payment link, draft an invoice and finalize it, check the balance, refund a payment, issue a coupon, answer a dispute, and manage subscriptions. Each operation is one call against the Stripe REST API, and the API's JSON answer comes back as-is. It runs from the command line or as an MCP server for agents.
A Stripe secret key is required. Put it in the STRIPE_SECRET_KEY
environment variable; the key is sent to the API as a Bearer token and
never appears in output. When the variable is missing, every operation
fails with an error that names it.
Or run the container image:
The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.
Exit codes: 0 on success, 1 when an API call fails (including a
missing STRIPE_SECRET_KEY), 2 for usage errors.
One bin serves both faces. The mcp subcommand starts a stdio MCP
server:
MCP client configuration:
This is the documented core subset of the Stripe agent toolkit's
22-tool MCP set: search_stripe_documentation (a hosted documentation
search, not a Stripe API operation) is not implemented.
MIT — see LICENSE.
来源:README.md,提交 525961b
Create a customer in Stripe.
name必填emailList customers in Stripe, optionally filtered by email.
emaillimitCreate a product in Stripe.
name必填descriptionList products in Stripe.
limitCreate a price for a product in Stripe.
product必填currency必填unit_amount必填List prices in Stripe, optionally for one product.
limitproductCreate a payment link in Stripe for a price and quantity.
price必填quantity必填redirect_urlList payment intents in Stripe, optionally for one customer.
limitcustomerCreate a draft invoice for a customer in Stripe.
customer必填days_until_dueAdd a priced line item to a draft invoice in Stripe.
price必填invoice必填customer必填List invoices in Stripe, optionally for one customer.
limitcustomerFinalize a draft invoice in Stripe so it can be paid.
invoice必填Retrieve the Stripe account balance.
无需输入参数。
Create a refund for a payment intent in Stripe.
amountpayment_intent必填Create a coupon in Stripe.
namecurrencyduration必填amount_offpercent_offduration_in_monthsList coupons in Stripe.
limitList disputes in Stripe, optionally filtered by charge or payment intent.
limitchargepayment_intentUpdate a dispute in Stripe with evidence, optionally submitting it.
submitdispute必填evidenceList subscriptions in Stripe, optionally filtered by customer or status.
limitstatuscustomerCancel a subscription in Stripe.
subscription必填Update a subscription in Stripe, for example its price or cancellation timing.
pricesubscription必填cancel_at_period_end已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
npx @reneturcios/payport list-customers --limit 5docker run -i -e STRIPE_SECRET_KEY ghcr.io/cloudcorprecords/payportexport STRIPE_SECRET_KEY="your secret key"
payport create-customer --name "Ada Lovelace" --email [email protected]payport list-customers --email [email protected] --limit 5payport create-product --name "Trail Guide" --description "A field guide"payport list-products --limit 10payport retrieve-balance
payport --versionnpx -y @reneturcios/payport mcp{ "mcpServers": { "payport": { "command": "npx", "args": ["-y", "@reneturcios/payport", "mcp"], "env": { "STRIPE_SECRET_KEY": "your secret key" } } }}npm installnpm run build # tsc -> dist/npm test # node test runner over test/*.test.ts, no network (fake fetch fixtures)npm run dev # run the CLI from source via tsx