Finance Toolkit
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Brazilian card acquiring API — merchants, cards-on-file, 3DS, PIX, banking, pricing.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
RINNE_API_KEY, RINNE_SANDBOX, RINNE_EMAIL, RINNE_PASSWORD, RINNE_COMPANY_IDค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"rinne": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-rinne"
],
"env": {
"RINNE_API_KEY": "ใส่ค่าของคุณ",
"RINNE_SANDBOX": "ใส่ค่าของคุณ",
"RINNE_EMAIL": "ใส่ค่าของคุณ",
"RINNE_PASSWORD": "ใส่ค่าของคุณ",
"RINNE_COMPANY_ID": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add rinne --env RINNE_API_KEY='ใส่ค่าของคุณ' --env RINNE_SANDBOX='ใส่ค่าของคุณ' --env RINNE_EMAIL='ใส่ค่าของคุณ' --env RINNE_PASSWORD='ใส่ค่าของคุณ' --env RINNE_COMPANY_ID='ใส่ค่าของคุณ' -- npx -y @codespar/mcp-rinneเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"rinne": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-rinne"
],
"env": {
"RINNE_API_KEY": "ใส่ค่าของคุณ",
"RINNE_SANDBOX": "ใส่ค่าของคุณ",
"RINNE_EMAIL": "ใส่ค่าของคุณ",
"RINNE_PASSWORD": "ใส่ค่าของคุณ",
"RINNE_COMPANY_ID": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"rinne": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-rinne"
],
"env": {
"RINNE_API_KEY": "ใส่ค่าของคุณ",
"RINNE_SANDBOX": "ใส่ค่าของคุณ",
"RINNE_EMAIL": "ใส่ค่าของคุณ",
"RINNE_PASSWORD": "ใส่ค่าของคุณ",
"RINNE_COMPANY_ID": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
RINNE_SANDBOX envRINNE_EMAIL envRINNE_COMPANY_ID envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub codespar ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: RINNE_API_KEY, RINNE_PASSWORD
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.0) เข้า registry 3 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Finance Toolkit, SolidInvoice, Korea Tax Calculator
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
Korean tax calculation and tax-audit judgment MCP: 96 tools with statutory citations.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
MCP server for Rinne — Brazilian card acquiring, PIX, banking, and payment infrastructure, covering the full API surface
Rinne is a Brazilian payment infrastructure API. It runs a B2B2B model: your Organization manages any number of Merchants, each merchant onboards via KYC and connects to a payment provider (Rinne itself, Cappta, Celcoin, ...) through an Affiliation, and everything downstream flows through that affiliation — card and PIX transactions, cards-on-file, 3D Secure, cashouts/payouts, ledger, and pricing.
This MCP server wraps the entire Rinne REST API — not just card acquiring — so AI agents can manage merchants, run transactions, move money, and administer access in sandbox or production.
Add to ~/.config/claude/claude_desktop_config.json:
{
"mcpServers": { "rinne": { "command": "npx", "args": ["-y", "@codespar/mcp-rinne"], "env": { "RINNE_API_KEY": "your-api-key", "RINNE_SANDBOX": "true" } } } }
claude mcp add rinne -- npx @codespar/mcp-rinne
Add to .cursor/mcp.json or .vscode/mcp.json:
{
"servers": { "rinne": { "command": "npx", "args": ["-y", "@codespar/mcp-rinne"], "env": { "RINNE_API_KEY": "your-api-key", "RINNE_SANDBOX": "true" } } } }
| Tool | Purpose |
|---|---|
get_company | Get the authenticated company (org or merchant, depending on key scope) |
update_company | Update the authenticated company |
| Tool | Purpose |
|---|---|
create_merchant | Create a merchant under your organization (KYC) |
list_merchants | List merchants |
get_merchant | Get merchant details by ID |
update_merchant | Update a merchant |
| Tool | Purpose |
|---|---|
create_affiliation | Create a merchant account with a payment provider (Rinne, Cappta, Celcoin, ...) |
register_affiliation | Register a gateway-mode affiliation using existing provider credentials |
list_affiliations | List affiliations, org-wide or for one merchant |
get_affiliation | Get a specific affiliation |
| Tool | Purpose |
|---|---|
store_card | Save a card for reuse in future transactions |
list_cards | List stored cards |
get_card | Get a stored card by ID |
delete_card | Delete a stored card |
| Tool | Purpose |
|---|---|
create_3ds_session | Create a 3DS authentication session ahead of a transaction |
| Tool | Purpose |
|---|---|
create_transaction | Create a card (raw, stored, or Apple Pay/Google Pay) or PIX transaction |
authenticate_transaction | Complete 3DS for a transaction awaiting authentication |
get_transaction | Get transaction details and status, including refunds |
list_transactions | List transactions, org-wide or for one merchant |
cancel_transaction | Cancel a pending transaction (e.g. unpaid bolepix) |
refund_transaction | Refund a transaction, fully or partially |
cancel_refund | Cancel a refund that hasn't settled yet |
get_transaction_receipt | Get a transaction's receipt (base64 PDF) |
simulate_pay_transaction | Sandbox only — mark a transaction as paid |
| Tool | Purpose |
|---|---|
create_pix_collection_key | Create a PIX key the merchant uses to *receive* payments |
list_pix_collection_keys | List the merchant's PIX collection keys |
| Tool | Purpose |
|---|---|
list_ledger_entries | List ledger entries for the authenticated company |
get_ledger_entry | Get a single ledger entry |
| Tool | Purpose |
|---|---|
create_bank_account | Register an external bank account (payout destination) |
update_bank_account | Set a bank account as primary |
register_cashout_pix_key | Register an external PIX key as a *payout* destination |
get_balance | Get the current balance |
topup_balance | Sandbox only — simulate funding the balance |
get_statement | Get a merchant's balance statement for a date range |
create_internal_transfer | Transfer funds between your org's own bank accounts |
list_judicial_blockages | List court-ordered account freezes affecting balances |
| Tool | Purpose |
|---|---|
create_cashout | Create a payout to a bank account or PIX key |
list_cashouts | List cashouts |
get_cashout | Get a single cashout |
get_cashout_receipt | Get a cashout's receipt |
| Tool | Purpose |
|---|---|
list_fee_policies | List fee policies (what you charge merchants) |
create_fee_policy | Create a fee policy |
replace_fee_policy | Replace a fee policy in full |
update_fee_policy | Partially update a fee policy |
list_cost_policies | List cost policies (what providers charge you) |
list_mccs | List Merchant Category Codes |
| Tool | Purpose |
|---|---|
get_webhook_dashboard_url | Get the URL to configure webhook endpoints/events |
| Tool | Purpose |
|---|---|
get_health | Check API health status |
| Tool | Purpose |
|---|---|
create_api_key | Create an API key (shown once) |
list_api_keys | List API keys (prefix + last 4 only) |
revoke_api_key | Revoke an API key |
create_role | Create a custom role |
list_roles | List roles |
list_permissions | List all available permissions |
get_current_session | Whoami for the JWT session |
| Tool | Purpose |
|---|---|
create_user | Create a user (merchant scope: x-api-key; org scope: JWT) |
list_users | List users |
update_user | Update a user's name/roles — JWT, org only |
suspend_user | Suspend a user — JWT, org only |
activate_user | Reactivate a user — JWT, org only |
| Tool | Purpose |
|---|---|
lookup_zipcode | Look up a Brazilian address by CEP |
| Tool | Purpose |
|---|---|
get_sandbox_guide | Return test cards, the amount-based decline rule, and which tools need JWT |
Rinne does not accept a raw card number or CVV over this API. Every number/cvv field (and, for Apple Pay/Google Pay, network_token/cryptogram) must already be an encrypted token ("ev:...") produced by the rinne-js Card/Wallet Element running in a browser — a raw PAN/CVV is rejected with 400 VALIDATION_ERROR, and there is no server-side encryption path.
In practice, this server is the second half of a checkout: run a rinne-js flow (see rinne-js docs) to collect and encrypt the card client-side, then hand the resulting token to store_card or create_transaction here to finish the operation. Alternatively, use card_id on create_transaction to charge a card already saved via store_card.
Every resource that operates on transactions, cards, 3DS sessions, affiliations, or banking accepts an optional merchant_id:
/v1/merchants/{merchant_id}/...), for an organization managing multiple merchants.refund_transaction, get_statement, and create_pix_collection_key/list_pix_collection_keys always require merchant_id — they only exist at the merchant level.
Rinne has two distinct PIX-key resources with similarly-named endpoints:
/v1/merchants/{id}/pix/keys) — a key the merchant uses to *receive* PIX payments, tied to a provider affiliation (provider, key_type)./v1/merchants/{id}/pix-keys or /v1/companies/me/pix-keys) — an *external* key registered as a *payout* destination for cashouts (key, primary).Most of the API uses x-api-key, but Rinne's access-management surface deliberately rejects it — a leaked API key must not be able to create other keys, roles, or users. Those tools need a JWT session instead:
| Auth | Used by |
|---|---|
x-api-key (RINNE_API_KEY) | Everything else — merchants, affiliations, cards, 3DS, transactions, PIX, banking, cashouts, pricing, webhooks, merchant-scoped users |
JWT (RINNE_EMAIL + RINNE_PASSWORD) | create_api_key, list_api_keys, revoke_api_key, create_role, list_roles, list_permissions, get_current_session, lookup_zipcode, and org-scoped create_user/list_users/update_user/suspend_user/activate_user |
This server logs in lazily on the first JWT-gated tool call and caches the token, re-logging-in once on a 401. If RINNE_COMPANY_ID is set, it selects that company right after login (for accounts with access to multiple companies). If RINNE_EMAIL/RINNE_PASSWORD aren't set, JWT-gated tools return a clear error instead of failing silently — the rest of the server works fine without them.
Defaults to sandbox (https://api-sandbox.rinne.com.br/core). Set RINNE_SANDBOX=false for production (https://api.rinne.com.br/core).
Call get_sandbox_guide for the full JSON, or see below:
| Card number | Brand | 3DS |
|---|---|---|
5155901222280001 | Mastercard | No |
4012001037141112 | Visa | No |
4242424242424242 | Visa | Challenge |
The last two digits of the amount (in cents) determine the result — not the card number:
| Last 2 digits | Result |
|---|---|
00 | Approved |
51 | Refused — insufficient funds |
05 | Refused — do not honor |
54 | Refused — expired card |
Example: amount: 1051 → REFUSED with code 51.
Use simulate_pay_transaction (sandbox only) to mark a WAITING_PAYMENT PIX transaction as paid.
Reference: Rinne testing guide
| Variable | Required | Description |
|---|---|---|
RINNE_API_KEY | Yes | API key, sent as x-api-key |
RINNE_SANDBOX | No | Defaults to sandbox; set to "false" for production |
RINNE_EMAIL | No | Login identifier for JWT-gated tools |
RINNE_PASSWORD | No | Login password, paired with RINNE_EMAIL |
RINNE_COMPANY_ID | No | Company to select after login, for multi-company accounts |
Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.
MIT