Stripe publishes a canonical OpenAPI spec. wmcp.sh ingests it once, serves you 400+ MCP tools, and auto-injects your Stripe Connect OAuth token into every call. Zero code, zero codegen, zero token plumbing.
Last updated 2026-05-27 · covers every documented Stripe endpoint, automatically updated
No SDK to update. When Stripe ships a new endpoint, we have it the moment they publish the spec update.
# Stripe publishes their canonical OpenAPI 3 spec
curl 'https://wmcp.sh/api/v1/tools?url=https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec3.json'
# Returns ~400 MCP tools — createCustomer, listCharges,
# createPaymentIntent, refundPayment, every webhook event...
Each tool is shaped exactly like Claude's tool_use schema or OpenAI's function-call format. Hand them to your agent and ask "create a customer named Alice with email alice@example.com" — Claude picks the right tool, fills the args, wmcp.sh fires the actual Stripe request.
Include _auth: "Bearer sk_live_…" in the tool execute args. Worker injects as the Authorization header. Stateless, no setup, agent holds the key.
One-time setup at /dashboard: paste your sk_live. Worker encrypts it (AES-GCM-256) and auto-injects on every api.stripe.com call. Agent never sees the key.
For platforms with multiple Stripe-using customers. Each customer connects their Stripe account via Stripe Connect OAuth → worker stores their per-user token → agent calls automatically use the right user's account.
| Capability | Official Stripe SDK | Composio Stripe | wmcp.sh |
|---|---|---|---|
| Setup time | npm install + token wiring | Platform signup + per-customer auth | Zero — just hit the URL |
| Coverage | SDK reflects current Stripe version | Curated common operations | Every documented endpoint (~400) |
| New endpoints | Wait for SDK release | Wait for platform update | Available the moment Stripe ships the spec |
| Multi-account (Connect) | You wire it manually | Platform handles it | Stripe Connect OAuth in wmcp dashboard |
| Tool shape for agents | Wrap each method yourself | Auto-mapped | Native MCP / tool_use shape |
| Cost | Free SDK + your hosting | Platform tier | Free (100/day) + $29/mo Pro |
Python — agent creates a Stripe customer
from wmcp import WmcpClient
from wmcp.anthropic import to_anthropic_tools, execute_tool_use
from anthropic import Anthropic
client = WmcpClient(api_key="webmcp_live_…")
spec = "https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec3.json"
tools = client.tools(spec)
# Filter to just the Customers tools so the model doesn't see 400 options
customer_tools = [t for t in tools if "customer" in t.name.lower()]
anthropic = Anthropic()
msg = anthropic.messages.create(
model="claude-opus-4-7",
max_tokens=1024,
tools=to_anthropic_tools(customer_tools),
messages=[{"role": "user", "content": "Create a customer Alice (alice@x.com)."}],
)
for block in msg.content:
if block.type == "tool_use":
# Worker auto-injects your connected Stripe token. Agent passes no auth.
result = execute_tool_use(client, spec, block.model_dump())
print(result)
cURL — direct execute
curl -X POST 'https://wmcp.sh/api/v1/tools/execute' \
-H 'authorization: Bearer YOUR_WMCP_KEY' \
-H 'content-type: application/json' \
-d '{
"url": "https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec3.json",
"tool": "PostCustomers",
"args": { "name": "Alice", "email": "alice@example.com" }
}'
raw.githubusercontent.com/stripe/openapi/master/openapi/spec3.json. wmcp.sh ingests it, parses path × method × params, and emits MCP tools automatically. No SDK to maintain, no codegen step.sk_live per call via the _auth arg, store it once in the wmcp.sh dashboard (AES-GCM-256 encrypted at rest, auto-injected on Stripe API calls), or use Stripe Connect OAuth for multi-account platforms.tools.filter(t => t.name.startsWith("Customer")). Future enhancement (open issue): pass ?tag=customers to the wmcp.sh API and get back only the filtered set.sk_test via _auth (or connect a test-mode account) and every operation runs in test mode. Useful for agent development before going live.Stripe ships the canonical OpenAPI spec other APIs should follow. If you're building your own API and want it to be Stripe-grade agent-callable, the 5 things to ship are at /agent-ready/api — OpenAPI publishing, operation tagging, MCP-spec OAuth, agent-friendly rate limits. Cornerstone: /agent-ready. Or have us ship your spec: /managed.