Finance
stripe-configure - Claude MCP Skill
Configure Stripe Dashboard and deployment environments. Sets up products, prices, webhooks, and environment variables.
SEO Guide: Enhance your AI agent with the stripe-configure tool. This Model Context Protocol (MCP) server allows Claude Desktop and other LLMs to configure stripe dashboard and deployment environments. sets up products, prices, webhooks, and envi... Download and configure this skill to unlock new capabilities for your AI workflow.
Documentation
SKILL.md# Stripe Configure
Set up Stripe Dashboard and deployment environment variables.
## Objective
Configure everything outside the codebase: Stripe Dashboard settings, environment variables across all deployments, webhook endpoints.
## Process
**1. Stripe Dashboard Setup**
Guide the user through (or use Stripe CLI where possible):
**Products & Prices**
- Create product (name matches app)
- Create price(s): monthly, annual if applicable
- Note the price IDs for env vars
**Webhook Endpoint**
- Create endpoint pointing to production URL
- Use canonical domain (www if that's where app lives — Stripe doesn't follow redirects)
- Enable required events (from design)
- Copy webhook signing secret
**Customer Portal** (if using)
- Configure allowed actions
- Set branding
**2. Environment Variables**
Set variables on ALL deployment targets. This is where incidents happen.
**IMPORTANT: Stripe test mode is DEPRECATED.**
Two separate Stripe accounts exist:
- **Sandbox** (`acct_...sandbox`): Fully isolated dev account. Use its keys for local dev.
- **Production** (`acct_...prod`): Real money. Only `sk_live_*` keys. Never `sk_test_*`.
**Local Development** (use sandbox account keys)
```bash
# .env.local — keys from SANDBOX account, not production test mode
STRIPE_SECRET_KEY=sk_test_... # from sandbox account
STRIPE_WEBHOOK_SECRET=whsec_...
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_... # from sandbox account
NEXT_PUBLIC_STRIPE_PRICE_ID=price_...
```
**Convex (both dev and prod)**
```bash
# Dev — sandbox account keys
npx convex env set STRIPE_SECRET_KEY "sk_test_..." # sandbox account
npx convex env set STRIPE_WEBHOOK_SECRET "whsec_..."
# Prod — production account LIVE keys (NEVER sk_test_* from prod account)
npx convex env set --prod STRIPE_SECRET_KEY "sk_live_..."
npx convex env set --prod STRIPE_WEBHOOK_SECRET "whsec_..."
```
**Vercel**
```bash
vercel env add STRIPE_SECRET_KEY production
vercel env add STRIPE_WEBHOOK_SECRET production
# ... etc
```
**3. Verify Parity**
Check that all deployments have matching configuration:
- Local has test keys
- Convex dev has test keys
- Convex prod has live keys
- Vercel prod has live keys
Use `verify-env-parity.sh` if available, or manually compare.
**4. Webhook URL Verification**
CRITICAL: Verify webhook URL doesn't redirect.
```bash
curl -s -o /dev/null -w "%{http_code}" -I -X POST "https://your-domain.com/api/stripe/webhook"
```
Must return 4xx or 5xx, NOT 3xx. If it redirects, fix the URL in Stripe Dashboard.
## Common Mistakes
- Setting env vars on dev but forgetting prod
- Using wrong domain (non-www when app is www)
- Trailing whitespace in secrets (use `printf '%s'` not `echo`)
- **Using sk_test_* from production account** — test mode is DEPRECATED. Use sandbox account for dev, sk_live_* for prod.
- Confusing sandbox account (separate account) with test mode (deprecated feature within production account)
## Output
Checklist of what was configured:
- [ ] Product created
- [ ] Price(s) created
- [ ] Webhook endpoint configured
- [ ] Env vars set on local
- [ ] Env vars set on Convex dev
- [ ] Env vars set on Convex prod
- [ ] Env vars set on Vercel
- [ ] Webhook URL verified (no redirect)Signals
Information
- Repository
- phrazzld/claude-config
- Author
- phrazzld
- Last Sync
- 3/2/2026
- Repo Updated
- 3/1/2026
- Created
- 1/23/2026
Reviews (0)
No reviews yet. Be the first to review this skill!
Related Skills
upgrade-nodejs
Upgrading Bun's Self-Reported Node.js Version
cursorrules
CrewAI Development Rules
cn-check
Install and run the Continue CLI (`cn`) to execute AI agent checks on local code changes. Use when asked to "run checks", "lint with AI", "review my changes with cn", or set up Continue CI locally.
CLAUDE
CLAUDE.md
Related Guides
Bear Notes Claude Skill: Your AI-Powered Note-Taking Assistant
Learn how to use the bear-notes Claude skill. Complete guide with installation instructions and examples.
Mastering tmux with Claude: A Complete Guide to the tmux Claude Skill
Learn how to use the tmux Claude skill. Complete guide with installation instructions and examples.
OpenAI Whisper API Claude Skill: Complete Guide to AI-Powered Audio Transcription
Learn how to use the openai-whisper-api Claude skill. Complete guide with installation instructions and examples.