payport
Provides tools for interacting with a Stripe account via the Stripe REST API, enabling management of customers, products and prices, payment links, invoices, account balance, refunds, coupons, disputes, and subscriptions.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
payport
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.
Install
npx @reneturcios/payport list-customers --limit 5Or run the container image:
docker run -i -e STRIPE_SECRET_KEY ghcr.io/cloudcorprecords/payportThe container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.
Related MCP server: Stripe MCP Server
CLI
export STRIPE_SECRET_KEY="your secret key"
payport create-customer --name "Ada Lovelace" --email ada@example.com
payport list-customers --email ada@example.com --limit 5
payport create-product --name "Trail Guide" --description "A field guide"
payport list-products --limit 10
payport retrieve-balance
payport --versionExit codes: 0 on success, 1 when an API call fails (including a
missing STRIPE_SECRET_KEY), 2 for usage errors.
MCP server
One bin serves both faces. The mcp subcommand starts a stdio MCP
server:
npx -y @reneturcios/payport mcpMCP client configuration:
{
"mcpServers": {
"payport": {
"command": "npx",
"args": ["-y", "@reneturcios/payport", "mcp"],
"env": { "STRIPE_SECRET_KEY": "your secret key" }
}
}
}Tools
Tool | Input | What it does |
|
| Create a customer. |
|
| List customers, optionally filtered by exact email. |
|
| Create a catalog product. |
|
| List products. |
|
| Create a price for a product; |
|
| List prices, optionally for one product. |
|
| Create a hosted payment link. |
|
| List payment intents. |
|
| Create a draft invoice sent by email ( |
|
| Add a priced line item to a draft invoice. |
|
| List invoices. |
|
| Finalize a draft invoice. |
| — | Retrieve the account balance. |
|
| Refund a payment intent, in full or in part. |
|
| Create a coupon. |
|
| List coupons. |
|
| List disputes. |
|
| Add evidence to a dispute and optionally submit it. |
|
| List subscriptions. |
|
| Cancel a subscription. |
|
| Update a subscription. |
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.
Development
npm install
npm 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 tsxLicense
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Stripe payments for AI agents. Create links, verify, manage customers.
Payments and billing on Stripe with the full official REST API (api.stripe.com), covers the entire d
Stripe MCP Pack — read-only access to Stripe data via API key.
Chargezen Concierge gives your business autonomous AI digital employees. They answer customers by web chat, phone, SMS, WhatsApp, email, Slack and Telegram, and do internal work with approvals and an audit trail. This endpoint serves Concierge's tools: Ask Concierge, agents, knowledge, orders and fulfillment, reports, media and rewards, under the teammate's own permissions and OAuth scopes. Part of Chargezen, the unified revenue operations platform: every product runs on the same business and customer data.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables natural language interaction with Stripe accounts to query customers, revenue, invoices, subscriptions, disputes, and issue refunds.33 npm1MIT
- AlicenseCqualityDmaintenanceEnables Claude to integrate with Stripe for creating payment links, processing payments, and managing products and customers.1733 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables integration with Stripe APIs through function calling, supporting operations on customers, products, invoices, subscriptions, and more.21,738 npmMIT
- AlicenseNot gradedqualityBmaintenanceLets AI agents accept US payments (cards, Apple Pay, Google Pay) via Stripe hosted checkout. Includes tools to create payment links and query payment status.MIT