Skip to main content

MCP server exposing Stripe APIs as structured tools for Claude and other agents

Project description

stripe-agents-mcp

MCP server exposing 25 Stripe API tools for Claude and other MCP-compatible agents.

Tools

Category Tools
Account get_stripe_account_info, retrieve_balance
Customers create_customer, list_customers
Products & Prices create_product, list_products, create_price, list_prices
Payment Links create_payment_link
Payment Intents list_payment_intents
Invoices create_invoice, create_invoice_item, finalize_invoice, list_invoices
Subscriptions cancel_subscription, list_subscriptions, update_subscription
Refunds create_refund
Coupons create_coupon, list_coupons
Disputes list_disputes, update_dispute
Utilities search_stripe_resources, fetch_stripe_resources, search_stripe_documentation

Install via Claude Code

/plugin install stripe-agents-mcp@kinance

Then set your Stripe secret key in the environment where Claude Code runs:

export STRIPE_SECRET_KEY=sk_live_...

The plugin ships a .mcp.json that wires up the stdio server automatically — no manual config needed after install.

Manual setup (Claude Desktop / other MCP clients)

pip install stripe-agents-mcp

Add to your MCP client config:

{
  "mcpServers": {
    "stripe": {
      "command": "python",
      "args": ["-m", "stripe_mcp"],
      "env": {
        "STRIPE_SECRET_KEY": "sk_live_..."
      }
    }
  }
}

Running directly

python -m stripe_mcp

Development

pip install -e ".[dev]"
pytest tests/ --cov=stripe_mcp

Security

  • Pass a restricted Stripe key (rk_*) scoped to only the resources your agent needs.
  • The server never logs or echoes the API key.
  • All inputs are validated before reaching the Stripe SDK.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stripe_agents_mcp-0.1.1.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stripe_agents_mcp-0.1.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file stripe_agents_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: stripe_agents_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for stripe_agents_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 510be72677d5e1fb03321d2cd14f4805d5d5d446de8aeb0c293ab4a671a35653
MD5 1c7d4e1ef2ee513511baa602006ef417
BLAKE2b-256 113220a2b78ebf192a1e46c135cda9716ba92b035deca12f7ee4679fea63c472

See more details on using hashes here.

File details

Details for the file stripe_agents_mcp-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for stripe_agents_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aff877d0682ac7b28fea943948e9356b2f8d227e8d665c3ba9a78120899b51d8
MD5 87fced7bd79e3bf7609177a858646bea
BLAKE2b-256 f7c6c5f9b183d1b853e74e1b62e0f03cbd5267fe458c4914ec55637ac89da761

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page