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