StripeMCP Configuration & Schema Registry
The Stripe Model Context Protocol (MCP) configuration provides a validated, machine-readable JSON schema and executable bridge that connects state-of-the-art AI coding assistants — including Claude Desktop, Cursor IDE, Windsurf, Cline, and VS Code Copilot — directly to the Stripe REST API. By leveraging the standardized open Model Context Protocol, AI agents can dynamically discover capabilities, validate input parameters against strict JSON Schemas, and execute live API operations without context switching or manual copy-pasting.
Quick Specs & Integration Summary
Technical Architecture & Protocol Semantics
Under the Model Context Protocol specification, the Stripe configuration functions as an isolated protocol adapter. When an AI agent initializes a session, the client establishes a bidirectional JSON-RPC 2.0 communication channel over standard input/output (stdio) or Server-Sent Events (SSE). During the initial handshake, the server publishes its tool manifest extracted from the Stripe OpenAPI specification (version 2025-01-01).
Process payments, manage subscriptions, and handle billing. Let your AI agent interact with Stripe seamlessly. This architecture guarantees strict process boundary isolation: all sensitive authorization headers and secret tokens remain sandboxed inside the client runtime, never leaking into language model context windows or external logging endpoints.
Hosted Remote Configuration URL
MCP Configuration FileProvide this hosted URL in any client that supports remote MCP schema auto-loading.
https://mcpbridge.org/config/stripe.json2. AI Assistant Use Cases & Practical Workflows
Tailored for Finance & PaymentsReal-world execution scenarios demonstrating how LLM agents (Claude 3.7, GPT-4o, Cursor Agent) invoke Stripe tools to automate developer workflows.
1. Automated Charge & Invoice Ledger Reconciliation
Financial AuditContinuously audit incoming customer transactions against accounting records, flag mismatched charge amounts, and generate daily reconciliation summaries.
"Use the Stripe MCP tool to list transactions for the last 30 days. Compare settlement amounts against invoice ledger items and summarize any disputed or unpaid charges in a table."
2. Customer Dispute & Refund Triaging
Risk & DisputesAccelerate customer support operations by inspecting disputed charge IDs, calculating refund thresholds, and submitting structured dispute responses.
"Check charge status for transaction 'ch_90214' using Stripe. If flagged as disputed, summarize the evidence requirement and draft an automated dispute response payload."
3. Subscription Lifecycle & Churn Prevention
Subscription OpsTrack active customer subscriptions, evaluate monthly recurring revenue (MRR) health, and notify account managers of impending renewals or payment failures.
"Query active customer subscriptions in Stripe that are scheduled to renew within 7 days. Identify accounts with failed recent invoice attempts and list their billing contacts."
4. Multi-Currency Payout & Tax Compliance Auditing
Compliance & TaxQuery foreign exchange settlement rates, verify gross payout balances across regions, and prepare tax documentation exports.
"Retrieve the current balance breakdown across currencies from Stripe and compute net pending payout amounts for the upcoming settlement window."
End-to-End Multi-Step Agent Execution Lifecycle
When an engineer submits a task to Claude Desktop or Cursor, the LLM executes an autonomous 4-phase Model Context Protocol loop:
Schema Introspection
Handshake lists all 4 tools and builds argument validators.
Argument Synthesis
Model extracts parameters from prompt and validates types against OpenAPI rules.
Stdio Execution
Bridge invokes live API with injected local credentials and captures raw HTTP response.
Output Remediation
LLM parses JSON results, handles status codes, and presents synthesized answers.
3. Multi-Client Installation Matrix & Setup Guides
Select your AI assistant below to view exact configuration file paths, JSON installation snippets, and launch commands.
Claude Desktop
claude_desktop_config.json~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"stripe": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-stripe"
],
"env": {
"STRIPE_API_KEY": "sk_live_..."
}
}
}
}Cursor IDE
.cursor/mcp.jsonOpen Cursor Settings → Features → MCP Servers, or create .cursor/mcp.json in your project root.
{
"mcpServers": {
"stripe": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-stripe"
],
"env": {
"STRIPE_API_KEY": "sk_live_..."
}
}
}
}Saves as .cursor/mcp.json in the download. Move it to your project root.
VS Code / Cline Extension
cline_mcp_settings.jsonPaste into your Cline extension MCP configuration or Roo Code host settings.
{
"mcpServers": {
"stripe": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-stripe"
],
"env": {
"STRIPE_API_KEY": "sk_live_..."
}
}
}
}Zed Editor & Docker CLI
Zed / DockerDocker container execution command:
docker run -i --rm -e STRIPE_API_KEY="YOUR_SECRET_VALUE" node:20-alpine npx -y @modelcontextprotocol/server-openapi https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec3.json
Zed settings context servers JSON:
{
"context_servers": {
"stripe": {
"command": {
"path": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-stripe"
],
"env": {
"STRIPE_API_KEY": "sk_live_..."
}
}
}
}
}Programmatic SDK Integration (TypeScript / Python)
Initialize the Stripe MCP client directly in your backend codebase.
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";
// Initialize Stripe MCP client transport over stdio
const transport = new StdioClientTransport({
command: "npx",
args: ["-y","@modelcontextprotocol/server-stripe"],
env: { STRIPE_API_KEY: process.env.STRIPE_API_KEY || "YOUR_SECRET_KEY" }
});
const client = new Client(
{ name: "stripe-client", version: "1.0.0" },
{ capabilities: { tools: {}, resources: {}, prompts: {} } }
);
async function connectAndRun() {
await client.connect(transport);
const tools = await client.listTools();
console.log("Connected to Stripe MCP Server.");
console.log("Discovered 4 mapped tools:", tools);
}
connectAndRun().catch(console.error);Raw Stdio Schema Definition
schema.jsonFor standalone CLI wrappers, background daemon daemons, or custom script integrations:
{
"mcpServers": {
"stripe": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-stripe"
],
"env": {
"STRIPE_API_KEY": "sk_live_..."
}
}
}
}4. Security, Authentication & Credential Management
Safely configure authentication tokens, isolate execution environments, and implement enterprise security best practices.
Required Environment Keys Reference
| Variable Name | Required | Type | Default | Purpose & Guidance |
|---|---|---|---|---|
| STRIPE_API_KEY | REQUIRED | Secret Key / Token | None (Set in env) | sk_live_... |
Zero-Downtime Token Rotation Protocol
- Generate Secondary Key: Create a new secret API token with identical scopes in your Stripe developer portal.
- Update Client Configuration: Insert the new token inside the
envblock of your MCP client JSON config. - Validate Connection: Issue a test query in Claude or Cursor to ensure handshake and tool calls succeed.
- Revoke Stale Token: Decommission the legacy key on the vendor portal to prevent unauthorized access.
Least-Privilege & Sandboxing Rules
- Read-Only Token Scoping: Whenever your workflow only requires querying data, provision read-only credentials to prevent accidental mutations.
- Local Process Isolation: Stdio transports run in isolated local subprocesses; secret credentials are never sent across the internet to MCP Bridge servers.
- Prompt Injection Defense: AI model responses are sandboxed; verify generated destructive arguments before confirming execution in agent mode.
Enterprise Security Checklist (Mandatory Practices)
- Never commit
claude_desktop_config.jsonor.cursor/mcp.jsoncontaining raw secrets into public GitHub repositories. - Add
.cursor/mcp.jsonand.env.localto your project's.gitignorefile. - Always enforce TLS/HTTPS encryption on outbound network requests initiated by the server process.
5. Tool Parameter Schemas & Natural Language Execution
Mapped OpenAPI operations converted into discrete Model Context Protocol tools with strict JSON-RPC payload validators.
/v1/chargesList all charges
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "charges/list",
"arguments": {}
}
}"Use Stripe to execute List all charges and output the formatted result."
/v1/chargesCreate a charge
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "charges/create",
"arguments": {}
}
}"Use Stripe to execute Create a charge and output the formatted result."
/v1/customersList all customers
{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/call",
"params": {
"name": "customers/list",
"arguments": {}
}
}"Use Stripe to execute List all customers and output the formatted result."
/v1/customersCreate a customer
{
"jsonrpc": "2.0",
"id": 4,
"method": "tools/call",
"params": {
"name": "customers/create",
"arguments": {}
}
}"Use Stripe to execute Create a customer and output the formatted result."
6. Interactive Troubleshooting & FAQ Accordion
Diagnose and resolve common JSON-RPC protocol error codes, connection disconnects, and schema refresh issues.
A 401 Unauthorized response indicates that the upstream Stripe API rejected the authentication credential supplied in your MCP client's environment configuration. To resolve this: (1) Verify that your secret token is defined inside the "env" block of claude_desktop_config.json or .cursor/mcp.json rather than hardcoded in the command string. (2) Check whether Stripe requires a prefix such as "Bearer <token>" in the authorization header. (3) Confirm that your API key has not expired and has been granted sufficient least-privilege scopes on the Stripe developer dashboard.
If your MCP client fails to initialize tools for Stripe: (1) Test the bridge launcher command ("npx -y @modelcontextprotocol/server-stripe") directly inside your terminal or shell to inspect stdout/stderr diagnostic traces. (2) Verify network connectivity to the schema source (https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec3.json). (3) Ensure Node.js (v18+) is installed and accessible in your system PATH. (4) For authenticated APIs, confirm credentials are configured in your client's "env" mapping rather than command arguments.
MCP clients like Claude Desktop and Cursor query the server's tools list ("tools/list") during startup and cache the resulting JSON Schema for the duration of the application session. If new endpoints or parameters are added to Stripe: (1) Fully quit and restart Claude Desktop (Cmd+Q on macOS or File > Exit on Windows). (2) In Cursor IDE, navigate to Settings > Features > MCP Servers, toggle the Stripe server off and on, or click the refresh icon to re-execute the initialization handshake.
If the AI model hallucinates parameters or fails to invoke a tool automatically: (1) Add explicit system instructions in your project's .cursorrules or Claude project prompt (e.g., "When querying Finance & Payments, always invoke the stripe MCP server tools first"). (2) Ensure parameter types match schema specifications (e.g., passing integers as numbers rather than strings). (3) Check that required parameters marked in Section 5 are not omitted from the model's generated payload.
When the Stripe upstream endpoint returns an HTTP 429 Too Many Requests response, the MCP server bubbles the structured error payload back to the AI client over stdio. Modern LLMs like Claude 3.7 and Cursor Agent recognize rate-limiting status codes, inspect the "Retry-After" header if present, and will automatically introduce backoff delays or ask the user before retrying the operation.
The Hosted Config URL (https://mcpbridge.org/config/stripe.json) provides a static, remote JSON schema definition that cloud-native MCP clients can fetch over HTTPS for dynamic discovery. In contrast, local stdio configurations execute a local subprocess on your workstation. Local stdio processes offer maximum security because secret API keys remain strictly on your local machine and never transit third-party proxy servers.
Similar Finance & Payments Configurations
Explore related API bridges with ready-to-use Model Context Protocol schemas.
Stripe API
Finance & PaymentsThe Stripe API is a comprehensive, RESTful interface provided by Stripe, Inc. that enables developers to programmatically manage all aspects of an online payment ecosystem. Core capabilities span the entire transaction lifecycle, including accepting payments, managing subscriptions, handling disputes, processing payouts, and orchestrating complex multi-party financial workflows. The provided endpoints specifically target the Connect product, which allows platforms and marketplaces to manage connected accounts (sellers, service providers, or sub-merchants), their associated bank accounts, and account onboarding via account links. Typical enterprise use cases include building global marketplaces, gig economy platforms, SaaS with revenue sharing, and any system requiring automated, multi-stakeholder financial operations. Consumer applications might involve freelancer tools or peer-to-peer payment interfaces that leverage these account management functions. When exposed as tools to an AI coding assistant via the Model Context Protocol, this API transforms from a static documentation reference into a dynamic, actionable financial operations layer. The AI gains the ability to interact directly with a live Stripe environment, enabling it to understand the real-time state of connected accounts and programmatically initiate financial workflows. This provides immense value by bridging the gap between high-level, natural language instructions and precise, low-level API calls. An AI agent can serve as an intelligent intermediary that interprets a developer's intent—such as "onboard a new seller"—and translates it into the correct sequence of API calls to create an account, generate an onboarding link, and verify the resulting status, thereby accelerating development and reducing boilerplate code creation. In practice, a developer can instruct the AI to perform a variety of dynamic, context-aware tasks. For instance, the agent can be directed to "query the details and payout status of connected account 'acct_123'" using the GET /v1/accounts/{account} endpoint. It could also be instructed to "create and securely provision a new sub-merchant account for our vendor in Canada," which would involve a POST to /v1/accounts with appropriate parameters. Furthermore, the AI can manage financial relationships by executing a command like "link the external bank account ending in 4242 to the platform account for payouts," utilizing the POST /v1/accounts/{account}/bank_accounts endpoint. These examples demonstrate how the AI can automate complex account lifecycle management, from onboarding to payout configuration, based on natural language directives. Crucially, while the API interaction itself may be facilitated without a traditional user login in an MCP server context, proper authentication with Stripe is mandatory and security is paramount. Developers must secure their Stripe API keys (both secret and publishable) and never expose secret keys in client-side code or version control. The MCP server should be configured to use a secret key with permissions scoped strictly to the necessary operations, adhering to the principle of least privilege. If using OAuth for Connect, appropriate scopes must be assigned. All sensitive credentials should be injected via environment variables or a secure secrets manager. The server must enforce strict input validation on all parameters passed to the Stripe endpoints to prevent injection attacks and ensure data integrity, treating the AI's generated payloads with the same scrutiny as human-written code.
https://mcpbridge.org/config/stripe-com.json1Forge Finance APIs
Finance & PaymentsThe 1Forge Finance API provides a robust, high-performance gateway to global financial market data, specializing in real-time and delayed equities and foreign exchange (Forex) quotes. As a foundational data service, it aggregates and delivers critical market information through its core endpoints: GET /quotes for retrieving current price data for specific symbols, and GET /symbols for accessing a comprehensive list of tradable assets. This API, offered by the financial data provider 1Forge, serves a vital function for developers building financial applications, trading platforms, portfolio trackers, and analytical tools. Typical use cases range from retail investors seeking live market snapshots for personal dashboards to enterprise fintech firms integrating up-to-the-moment pricing into risk management systems, algorithmic trading backtesting frameworks, or currency conversion engines for international payment services. Its value lies in providing a streamlined, dedicated source for the essential data points that underpin countless financial workflows. When exposed as tools to an AI coding assistant through the Model Context Protocol (MCP), the 1Forge API transforms from a static data source into a dynamic, queryable resource that can supercharge the development lifecycle. An AI agent, such as one operating within Claude Desktop, Cursor, or Cline, gains the ability to interact with live market context directly within the developer's workflow. This integration allows the assistant to perform just-in-time data fetches to inform its code suggestions, explanations, or generated logic. For instance, the AI could be instructed to check current exchange rates to calculate accurate invoice amounts in a multi-currency SaaS application it's helping to build, or to validate the price symbol format required for a trading bot by querying the /symbols endpoint for a list of valid Forex pairs. This bridges the gap between abstract coding assistance and concrete, data-driven implementation, enabling the AI to produce more accurate, context-aware, and functionally complete code snippets and architectures. Practical workflow examples demonstrate the powerful synergy between a developer and an AI-augmented MCP server. A developer could instruct the agent with a command like, "Use the 1Forge API to fetch the latest quotes for AAPL, MSFT, and GOOGL, then write a Python function that compares their daily price changes and returns the top performer." The AI would then execute the /quotes call, process the JSON response, and generate the requested function with the data structure pre-validated. In another scenario, a developer building a financial dashboard might say, "Query the /symbols endpoint to get a list of all available cryptocurrency pairs, then generate a TypeScript interface type that represents the structure of a single symbol object." The agent would retrieve the data, analyze its schema, and produce the corresponding TypeScript type definition, saving the developer manual parsing and modeling time. Furthermore, for automating repetitive analysis, a prompt like "Monitor the real-time quote for EUR/USD every minute and update a local JSON file with the timestamp and price" could lead the AI to suggest a complete script utilizing the API, incorporating scheduling and file I/O operations. While the 1Forge API currently operates without an authentication requirement, developers must still adhere to critical security and configuration best practices when setting up an MCP server instance. It is imperative to treat the API endpoint as a potential vector for data leakage or abuse if exposed carelessly. Implement the principle of least privilege by running the MCP server in a sandboxed environment or a container with restricted network access, allowing it to reach only the 1Forge endpoints. Never hardcode any future API keys or sensitive configuration directly into source code; instead, use environment variables or a secrets management system. Developers should also implement client-side rate limiting and request throttling within their applications to respect the API's service terms and prevent accidental denial-of-service scenarios. Input validation on both incoming developer prompts and outgoing API queries is crucial to prevent injection attacks or malformed requests. It is advisable to use the MCP server configuration to explicitly define and allowlist the specific API endpoints that the AI agent is permitted to access, further tightening control over the data flow.
https://mcpbridge.org/config/1forge-com.jsonAdyen Account API
Finance & PaymentsThe Account API is a foundational RESTful service provided by Adyen for the comprehensive management of account-related entities within a classic marketplace or platform integration. It serves as the primary programmatic interface for orchestrating the lifecycle of accounts, account holders, and their associated legal and financial components on the Adyen payments platform. Its core capabilities encompass the creation, retrieval, and deletion of critical data structures, including the accounts themselves, account holder profiles, bank accounts, legal arrangements, shareholder records, and signatory details. Typical use cases are prevalent in enterprise-grade platform operations: onboarding new merchants or sellers by creating account holders and linking their bank accounts for payouts, performing due diligence by managing legal and shareholder information, generating necessary financial documents via tax form retrieval, and finally, executing the secure closure of accounts or account holder relationships when required. This API is the engine behind programmatic account management for businesses that have already established their Adyen platform integration. When exposed as a set of tools through the Model Context Protocol (MCP) for integration with AI coding assistants like Claude Desktop, Cursor, or Cline, this API unlocks significant value by transforming repetitive, multi-step account management workflows into intuitive, natural language-driven tasks. An AI agent can directly interact with the API's endpoints to perform complex queries and updates, acting as a highly efficient co-pilot for platform developers and operations teams. Instead of manually composing HTTP requests or navigating a separate dashboard, a developer can instruct the AI to perform actions conversationally. For example, the AI can be tasked to "generate a summary of all account holders created in the last 7 days and their current status" by leveraging the getAccountHolder endpoint, or it can "draft the payload needed to add a new shareholder to account holder AH_123 for compliance review." This integration shifts the developer's focus from low-level API mechanics to higher-level business logic and decision-making, dramatically accelerating development, debugging, and administrative processes. In practice, a developer can instruct an AI assistant to execute a wide range of dynamic tasks using this MCP server. The AI agent can query records to audit account setups, such as "list all bank accounts linked to account holder ID 456 to verify payout destinations." It can automate compliance updates by crafting requests to "remove a dormant signatory from legal arrangement LA_789" using the deleteSignatories endpoint, or facilitate data cleanup by "deleting all test bank accounts under account ACC_TEST." The agent can also assist in lifecycle management by preparing and executing the calls needed to "close the account for a terminated merchant" or "generate a tax form for account holder AH_001 for the fiscal year." These workflows empower developers to handle bulk operations, validate data integrity, and respond to operational events through simple instructions, with the AI managing the precise API calls and data structures behind the scenes. While the basic specification notes "None" for authentication, this is a critical implementation detail that requires careful attention for production security. Developers must treat this API with the utmost care, as it handles sensitive financial and identity data. The foundational security principle is implementing robust authentication and authorization, typically via Adyen's API keys or OAuth, ensuring each request is properly signed and originates from a trusted source. Adherence to the principle of least privilege is paramount; the API credentials used should have only the permissions absolutely necessary for the task at hand, whether that is read-only access for reporting or specific write permissions for creating accounts. When configuring an MCP server for an AI assistant, credentials must be managed securely outside of the codebase, using environment variables or a secrets manager, never embedded in client-side code. Developers should also ensure that any tool exposed to an AI is wrapped in validation logic to prevent malformed or malicious payloads, and that all actions are logged for audit trails, given the irreversible nature of operations like account closure.
https://mcpbridge.org/config/adyen-com-accountservice.jsonAdyen BinLookup API
Finance & PaymentsThe Adyen BinLookup API is a critical financial data service provided by Adyen, a leading global payment platform, designed to enable merchants and payment service providers to enhance transaction decisioning and optimize payment acceptance rates. At its core, this API allows developers to submit a payment card's Bank Identification Number (BIN)—the first six to eight digits of a card number—to retrieve essential metadata that is pivotal for payment processing and risk assessment. The two primary endpoints, GET3DSAvailability and GETCostEstimate, serve distinct yet complementary purposes. The former checks for 3D Secure 2.x compatibility, determining whether an issuer supports this fraud-prevention protocol and which authentication version is applicable. The latter provides a real-time cost estimate for processing a transaction, factoring in the card's country, brand, and issuing bank to calculate interchange fees and scheme costs. Typical use cases are widespread in enterprise e-commerce and subscription billing platforms, where dynamically routing payments, pre-qualifying transactions for specific authentication methods, and providing upfront cost transparency to consumers can significantly reduce cart abandonment and optimize profitability. When exposed as toolsets through a Model Context Protocol (MCP) server for AI coding assistants like Claude Desktop or Cursor, the Adyen BinLookup API transforms from a static data endpoint into an intelligent, context-aware resource for development and operational tasks. The primary value lies in enabling the AI to programmatically and dynamically access live payment infrastructure data, removing the need for developers to manually look up BIN information or hard-code static card data. This allows an AI assistant to become an active participant in building and debugging payment flows. For instance, an AI can validate the integration of payment forms in real-time, cross-reference card details with Adyen's database to verify they are test or live BINs, and simulate how different card types would be processed before a transaction is ever submitted. It effectively bridges the gap between code and the complex, real-world rules of the payment ecosystem, fostering smarter, data-driven development workflows. Practical workflow examples illustrate how a developer can instruct an AI agent to perform sophisticated tasks using this MCP-connected API. A developer could command the AI to "Scan this new checkout form, extract all visible BIN prefixes, and use Adyen's tools to generate a report showing which ones support 3D Secure and their estimated processing cost." The AI would then query the endpoints and produce a detailed analysis. In a debugging scenario, one might instruct: "This EU-based user's transaction failed authentication; use the BIN 4000000000000000 to check 3D Secure availability and get a cost estimate for a card issued in Germany." The AI would execute the lookups, returning actionable data that points to whether the issue was an authentication problem or a routing miscalculation. Furthermore, for building dashboards or internal tools, a developer can direct the AI to "Create a script that uses the BIN lookup to fetch and cache cost estimates for the top 100 card BINs we encounter, updating the cache daily." This automates a previously manual data-aggregation task. Critical security and configuration guidelines are paramount when deploying this API, especially within an MCP context. Although the system prompt indicates "None" for authentication, the official Adyen documentation specifies that all calls require authentication via an API credential, typically using a merchant account-specific API key or a combination of a username and password, passed via HTTP Basic Authentication. Best practices must be strictly followed: first, adhere to the principle of least privilege by generating a dedicated API user with permissions restricted solely to the BinLookup service, avoiding use of a primary or high-privilege account key. Second, all communication must occur over TLS 1.2+ encryption. Third, the API key or credentials must be stored securely, never exposed in client-side code or public repositories, and injected into the environment of the MCP server or AI assistant runtime via secure secrets management. When configuring the MCP server, ensure it acts as a secure proxy, handling authentication internally and not exposing raw credentials to the AI model. Developers should also implement rate limiting and error handling in their integration to manage quota and gracefully handle API response variations.
https://mcpbridge.org/config/adyen-com-binlookupservice.json