Spree Commerce: open-source B2B and marketplace ecommerce
Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
MCP server for Stripe — global payments API (PaymentIntents, Checkout, Billing, Refunds)
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
STRIPE_SECRET_KEY, STRIPE_API_VERSIONค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"stripe": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-stripe"
],
"env": {
"STRIPE_SECRET_KEY": "ใส่ค่าของคุณ",
"STRIPE_API_VERSION": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add stripe --env STRIPE_SECRET_KEY='ใส่ค่าของคุณ' --env STRIPE_API_VERSION='ใส่ค่าของคุณ' -- npx -y @codespar/mcp-stripeเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"stripe": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-stripe"
],
"env": {
"STRIPE_SECRET_KEY": "ใส่ค่าของคุณ",
"STRIPE_API_VERSION": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"stripe": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-stripe"
],
"env": {
"STRIPE_SECRET_KEY": "ใส่ค่าของคุณ",
"STRIPE_API_VERSION": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
STRIPE_API_VERSION envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 9 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub codespar ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: STRIPE_SECRET_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.2) เข้า registry 5 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
server ทางการของ Stripe ให้ AI ดูและจัดการลูกค้า สินค้า การชำระเงิน และใบแจ้งหนี้ ต่อผ่านคลาวด์ของ Stripe และล็อกอินแบบ OAuth
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
MCP server for Stripe — global standard-bearer payments API
Two Stripe MCP servers live in the CodeSpar catalog — different products:
| Package | Wraps | When to use |
|---|---|---|
| `@codespar/mcp-stripe` (this package) | Stripe's regular payments API (PaymentIntents, Checkout, Billing) | You are already using Stripe to accept payments today — the 99% case for LatAm SaaS that ship with Stripe. |
@codespar/mcp-stripe-acp | Stripe's Agentic Commerce Protocol | You are building on Stripe's new agent-native checkout spec. Much narrower product, bleeding edge. |
If you are a typical SaaS with Stripe as your PSP, this is the package.
Stripe is the global standard-bearer for developer-first payments. Nearly every LatAm SaaS that bills international cards ships with Stripe — Truora, Platzi, Rappi Pay (for some flows), countless Y Combinator LatAm companies. Adding Stripe lets agents operate the payments stack those SaaS already run, without forcing a migration to a local-first gateway.
Add to ~/.config/claude/claude_desktop_config.json:
{
"mcpServers": { "stripe": { "command": "npx", "args": ["-y", "@codespar/mcp-stripe"], "env": { "STRIPE_SECRET_KEY": "sk_test_..." } } } }
claude mcp add stripe -- npx @codespar/mcp-stripe
Add to .cursor/mcp.json or .vscode/mcp.json:
{
"servers": { "stripe": { "command": "npx", "args": ["-y", "@codespar/mcp-stripe"], "env": { "STRIPE_SECRET_KEY": "sk_test_..." } } } }
| Tool | Purpose |
|---|---|
create_payment_intent | Create a PaymentIntent — Stripe's modern primitive for charging a customer. |
confirm_payment_intent | Confirm a PaymentIntent created with confirm=false. |
retrieve_payment_intent | Retrieve a PaymentIntent by id. |
cancel_payment_intent | Cancel a PaymentIntent. |
list_payment_intents | List PaymentIntents. |
create_refund | Refund a charge or a PaymentIntent. |
list_refunds | List Refunds. |
create_customer | Create a Stripe Customer. |
retrieve_customer | Retrieve a Customer by id. |
update_customer | Update a Customer. |
create_product | Create a Product — the catalog entity Prices reference. |
list_products | List Products. |
create_price | Create a Price attached to a Product. |
list_prices | List Prices. |
create_subscription | Create a Subscription for an existing customer. |
update_subscription | Update a Subscription. |
cancel_subscription | Cancel a Subscription. |
list_subscriptions | List Subscriptions. |
create_checkout_session | Create a hosted Checkout Session. |
create_payment_link | Create a long-lived Payment Link (shareable URL) that charges a price or set of line items. |
list_payment_links | List Payment Links. |
create_invoice | Create an Invoice draft for a customer. |
list_invoices | List Invoices. |
finalize_invoice | Finalize a draft Invoice. |
send_invoice | Send a finalized Invoice to the customer by email. |
pay_invoice | Attempt to collect payment on an open Invoice. |
void_invoice | Void a finalized Invoice. |
update_dispute | Submit evidence on a Dispute. |
list_disputes | List Disputes. |
retrieve_balance | Retrieve the current Stripe account balance — available, pending, and connect_reserved funds broken down by... |
Stripe uses a single secret key. The key prefix selects the environment:
sk_test_... → test mode (no real money moves)sk_live_... → live modeThere is no separate base URL — the key itself routes requests. Set STRIPE_SECRET_KEY and you are done.
Request bodies are application/x-www-form-urlencoded with bracket notation (customer[name]=Foo, metadata[order]=123, expand[]=latest_invoice). This server handles nested objects and arrays for you.
Stripe auto-upgrades breaking changes on a calendar cadence. If you want to lock the version your agent sees, set STRIPE_API_VERSION (e.g. 2024-06-20). The server passes it as the Stripe-Version header on every call.
| Variable | Required | Description |
|---|---|---|
STRIPE_SECRET_KEY | Yes | sk_test_... or sk_live_... from Stripe Dashboard > Developers > API keys |
STRIPE_API_VERSION | No | Pin API version via the Stripe-Version header (e.g. 2024-06-20) |
Every Stripe account has test mode built in — no separate signup. Use a sk_test_... key and any of Stripe's test cards (e.g. 4242 4242 4242 4242).
STRIPE_SECRET_KEYupdate_payment_intent, capture_payment_intent (separate capture)retrieve_refund, list_refundslist_customers, search_customersupdate_subscription, retrieve_subscriptionretrieve_invoice, finalize_invoice, pay_invoice, send_invoice, void_invoicecreate_invoice_item, list_invoice_itemscreate_price, create_productlist_charges, retrieve_chargeretrieve_dispute, close_dispute, list_disputescreate_setup_intent, confirm_setup_intent (saving cards for later)Want a tool sooner? Open an issue or PR.
Need governance, spend caps, and audit trails for agent-initiated charges, refunds, and subscription changes? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.
MIT