Hosted Stripe MCP server with OAuth
## Stripe Remote MCP Server: Distributed Payment Management The **Stripe Remote MCP Server** extends Stripe integration with remote session support, enabling secure payment operations across distributed development environments and team collaboration on financial workflows. ### Why Stripe Remote MCP? - **Team collaboration** - Share payment contexts across development teams securely - **Remote sessions** - Execute Stripe operations from any connected environment - **Audit logging** - Track all payment operations with comprehensive audit trails - **Role-based access** - Control who can perform sensitive financial operations - **Session isolation** - Separate test and production contexts safely ### Key Features #### 1. Remote Session Management ```python # Initialize remote Stripe session session = await mcp.call("stripe-remote", "create_session", { "environment": "production", "permissions": ["payments.read", "payments.write", "subscriptions.read"], "session_timeout": 3600, "audit_enabled": True }) # Execute operations in remote context result = await mcp.call("stripe-remote", "execute", { "session_id": session["id"], "operation": "list_payments", "params": {"limit": 50, "status": "succeeded"} }) ``` #### 2. Secure Team Operations ```python # Delegate payment operations with permissions delegation = await mcp.call("stripe-remote", "delegate_access", { "user": "developer@company.com", "permissions": ["refunds.create", "customers.read"], "expires_in": 86400, "max_refund_amount": 10000 }) # Team member executes within limits refund = await mcp.call("stripe-remote", "create_refund", { "delegation_token": delegation["token"], "charge": "ch_xxx", "amount": 5000, "reason": "Customer request" }) ``` #### 3. Audit Trail ```python # Review payment operation history audit_log = await mcp.call("stripe-remote", "get_audit_log", { "date_range": {"start": "2024-01-01", "end": "2024-01-31"}, "operations": ["payments", "refunds", "disputes"], "users": ["developer@company.com"] }) for entry in audit_log["entries"]: print(f"{entry[\"timestamp\"]}: {entry[\"operation\"]}") print(f" User: {entry[\"user\"]}, Amount: ${entry[\"amount\"]/100:.2f}") ``` #### 4. Environment Switching ```python # Safely switch between test and production await mcp.call("stripe-remote", "switch_environment", { "target": "test", "confirm": True }) # Test operations in sandbox test_payment = await mcp.call("stripe-remote", "create_payment_intent", { "amount": 1000, "currency": "usd", "payment_method": "pm_card_visa" # Test card }) ``` ### Configuration ```json { "mcpServers": { "stripe-remote": { "command": "npx", "args": ["-y", "@anthropic/mcp-stripe-remote"], "env": { "STRIPE_SECRET_KEY": "sk_live_xxx", "STRIPE_TEST_KEY": "sk_test_xxx", "REMOTE_SESSION_URL": "wss://stripe-mcp.company.com", "AUDIT_WEBHOOK_URL": "https://audit.company.com/stripe" } } } } ``` ### Use Cases **Enterprise Teams**: Enable finance and engineering teams to collaborate on payment operations with appropriate access controls. **Multi-Environment**: Safely manage test, staging, and production Stripe accounts from unified interface. **Compliance Auditing**: Maintain comprehensive audit trails for SOC 2, PCI-DSS, and financial compliance requirements. **Incident Response**: Quickly investigate and resolve payment issues with full operation history. The Stripe Remote MCP Server enables secure, collaborative payment management across distributed teams.
{
"mcpServers": {
"stripe-remote": {
"mcpServers": {
"stripe": {
"url": "https://mcp.stripe.com",
"type": "streamable-http"
}
}
}
}
}