
Stripe MCP
github.com/stripe/agent-toolkit- Category
- Developer Tools
- Rank
- No. 380Tools index
- Listed in
- #10 Connect tools with MCP
- Pricing
- Free
- Type
- TOOL
- Use case
- Business & Commerce
- Interfaces
- MCP
- Builder
- stripe
- GitHub
- 1.8k stars
- Date
About
Stripe's official MCP server: lets an agent search the Stripe docs, inspect account data, and call the Stripe API — create customers, products, payment links, invoices — with scoped keys.
What it does
Stripe MCP connects an MCP client to Stripe’s hosted service. A local command accepts client messages over standard input and output, then forwards them over HTTP. Users authenticate with a Stripe key, optionally target a connected account, or connect directly to the hosted server through OAuth.
Why it's ranked here
This is a strong official integration with two practical connection models and explicit permission controls. Restricted keys provide granular access for the local bridge, while OAuth supports direct hosted access. The main reservation is architectural: useful work depends on Stripe’s remote service rather than a self-contained local server.
What's good
The bridge validates key and account formats before connecting, preserves standard output for protocol traffic, and reports diagnostics on standard error. It derives a client-aware user agent from the initialization request. Official plugins cover several agent harnesses and update automatically, while Python and TypeScript adapters serve popular agent frameworks.
Tradeoffs
The local command is mostly a transport bridge, so it does not provide an independently hosted Stripe implementation. It requires network access and Stripe credentials. Secret keys are accepted but trigger a security warning; restricted keys are preferred. Manual skill installations do not update automatically, and the command exposes only key and account options.
How to use it well
Choose it when an MCP-capable agent needs controlled access to Stripe through the hosted service. Prefer OAuth for direct remote connections or a restricted key for the local bridge, granting only required permissions. Use the framework adapters when embedding Stripe tools in Python or TypeScript agents. It does not replace the repository’s separate usage-metering and billing libraries.
Technical notes+
tools/modelcontextprotocol/src/index.ts creates a StdioServerTransport, waits for the first message, extracts client information, then starts a StreamableHTTPClientTransport pointed at https://mcp.stripe.com and forwards messages bidirectionally. tools/modelcontextprotocol/src/cli.ts accepts --api-key and --stripe-account, falls back to STRIPE_SECRET_KEY, validates sk_, rk_, and acct_ prefixes, and builds authorization headers. tools/python/stripe_agent_toolkit/shared/__init__.py exposes shared MCP client, schema conversion, initialization, and toolkit infrastructure. TypeScript entry points under tools/typescript/src/ expose adapters for AI SDK, OpenAI, LangChain, and MCP.
Observed
- License
- MIT
- Languages
- TypeScript, Python, and JavaScript are present in the supplied repository files.
- MCP interfaces
- Hosted remote MCP service with OAuth, plus a local stdio-to-HTTP bridge authenticated by Stripe API keys.
- Agent framework surfaces
- TypeScript adapters cover AI SDK, OpenAI, LangChain, and MCP; Python adapters cover CrewAI and OpenAI Agents SDK.
- Plugin installation
- Official plugin commands are documented for Claude Code, Codex, Cursor, and Grok Build.
- Manual installation
- Agent skills can be installed from Stripe documentation with the skills command-line package.
- Repository structure
- The repository combines MCP tooling, agent framework adapters, agent skills, token metering, and AI SDK billing integrations.
Read from README.md, scripts/sync.js, llm/token-meter/index.ts, llm/ai-sdk/meter/index.ts, llm/ai-sdk/provider/index.ts, tools/modelcontextprotocol/src/cli.ts, tools/modelcontextprotocol/src/index.ts, tools/python/stripe_agent_toolkit/__init__.py, tools/typescript/src/ai-sdk/index.ts, tools/typescript/src/openai/index.ts, tools/typescript/src/langchain/index.ts, tools/typescript/src/modelcontextprotocol/index.ts, tools/python/stripe_agent_toolkit/crewai/__init__.py, tools/python/stripe_agent_toolkit/openai/__init__.py, tools/python/stripe_agent_toolkit/shared/__init__.py.
Intel on Stripe MCP
Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.