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 git+https://github.com/kinance/stripe-agents-mcp.git

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.0.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.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: stripe_agents_mcp-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 7741d73ee03152210868ea21820ee7edc23468b142e4b8099cf6cfa093f74b3e
MD5 2c253d64f8032bf5ea352f06b181f436
BLAKE2b-256 4c55aa4a32661e149f48836b8e0a3e3c0cce7628f9feaafaafb23bf1577e3ecf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stripe_agents_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e8b2934fd1fc254e006d6dcde055d49a63cba28438d620fcb3be6b45ca25074
MD5 50d529f9deaee2bed9397452b5eba7ff
BLAKE2b-256 c56b1813c11bbdd218775847ece1ec51b420cd9593bd3dc56e75ac436ac56a11

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