feat(payments): add @codespar/mcp-getnet server - #7
Merged
Conversation
Second P0-B server from the MCP expansion plan. Getnet is Santander-owned — #3 BR acquirer and #1 BR ecommerce per Santander IR. Together with Cielo, Stone, and Efi, this closes three of the "big four" BR acquirer quadrant. Distinct from per-PSP servers (Zoop, Pagar.me, Asaas, PagSeguro): Getnet is an acquirer, so merchants with a Santander commercial contract integrate directly instead of via a PSP. Different target customer; different business contract. Tools (11) authorize_credit authorize card (delayed=true) or auth+capture (false) capture_credit capture a prior authorization cancel_credit cancel authorized-but-uncaptured refund_credit full or partial refund create_pix Pix charge returning QR image + EMV copy-paste create_boleto bank boleto with instruction text + expiration get_payment retrieve any payment by id tokenize_card PCI-safe card tokenization for reuse create_seller onboard marketplace seller (Marketplace Management) get_seller seller by id list_sellers paginated list with filters Authentication OAuth 2.0 Client Credentials. POST /auth/oauth/v2/token returns a bearer token. The server caches it in memory until 60s before expiry, transparent to callers. Every API call also includes seller_id header for tenant scoping. Why Getnet first (after dLocal) - No blocking product decision (Braspag waits on Cielo-boundary naming; Chargebee has fork-vs-native open; Matera needs mTLS sandbox; Adyen is a bigger multi-API scope) - Closes a concrete quadrant gap: three of four big BR acquirers in the catalog - Marketplace seller onboarding is a first-class API, unusual for acquirers at this tier Build verified (tsc 0 errors, dist/index.js emitted). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Second P0-B server from the MCP expansion plan. Getnet is Santander-owned — #3 BR acquirer and #1 BR ecommerce per Santander IR. Together with Cielo, Stone, and Efi this closes three of the "big four" BR acquirer quadrant.
Distinct from per-PSP servers (Zoop, Pagar.me, Asaas, PagSeguro): Getnet is an acquirer, so merchants with a Santander commercial contract integrate directly instead of via a PSP. Different target customer, different business contract.
Tools (11)
Authentication
OAuth 2.0 Client Credentials. POST /auth/oauth/v2/token returns a bearer token; the server caches it in memory until 60s before expiry. Every call also includes `seller_id` header for tenant scoping.
Why Getnet next (after dLocal)
Test plan
Not in this PR
🤖 Generated with Claude Code