Back to Home
julian-najas icon

stripe-mcp-server

Verified Safe

by julian-najas

Overview

A production-ready Stripe payment server designed for AI agents, providing idempotent payment intent creation, verified webhook handling, and payment status retrieval via a Model Context Protocol (MCP) interface.

Installation

Run Command
uvicorn app.main:app --reload

Environment Variables

  • STRIPE_API_KEY
  • STRIPE_WEBHOOK_SECRET
  • API_KEY
  • DATABASE_URL
  • DEBUG
  • ENVIRONMENT
  • USE_STRIPE_REAL

Security Notes

The server demonstrates good security practices including explicit webhook signature verification, persistent idempotency to prevent double charges, and requiring API keys for most operations (configurable for debug). Secrets like Stripe API keys and webhook secrets are correctly loaded from environment variables with safe defaults for development. A dedicated SECURITY.md outlines important production security considerations, such as not committing secrets, key rotation, and database best practices. However, it explicitly notes that rate limiting is not implemented and recommends HTTPS for webhooks, which are common to address in production deployments.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens300
Stars0
Forks0
Last Update2026-01-19

Tags

StripePaymentsAI AgentsMCPIdempotencyWebhooksFastAPIPython