npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@codespar/mcp-getnet

v0.2.1

Published

MCP server for Getnet — Santander-owned Brazilian acquirer. Credit, debit, Pix, boleto + marketplace seller onboarding and split.

Downloads

207

Readme

@codespar/mcp-getnet

MCP server for Getnet — Santander-owned Brazilian card acquirer.

Together with Cielo, Stone, and Efi, Getnet closes three of the "big four" BR acquirer quadrant. Distinct from per-PSP servers (Zoop, Pagar.me, Asaas): Getnet is an acquirer, so merchants with a Santander commercial contract integrate directly instead of going through a PSP.

Tools (20)

| Tool | Purpose | |---|---| | authorize_credit | Authorize a credit-card payment on Getnet. | | capture_credit | Capture a previously authorized credit payment (when delayed=true was used). | | cancel_credit | Cancel an authorized-but-uncaptured credit payment. | | refund_credit | Refund a captured credit payment. | | create_pix | Create a Pix charge. | | create_boleto | Create a boleto charge. | | get_payment | Retrieve a payment by Getnet payment_id. | | tokenize_card | Tokenize a card for PCI-safe reuse. | | create_seller | Onboard a marketplace seller via Getnet Marketplace Management. | | get_seller | Retrieve a seller by Getnet seller_id. | | list_sellers | List marketplace sellers with optional filters. | | cancel_debit | Cancel a debit-card payment by Getnet payment_id. | | query_pix | Retrieve a Pix charge by Getnet payment_id. | | query_boleto | Retrieve a boleto by Getnet payment_id. | | cancel_boleto | Cancel a boleto that has not yet been paid. | | get_payment_by_order | Retrieve a payment using the merchant-side order_id (handy when you've lost the Getnet payment_id). | | query_installments | Query the installment plans Getnet offers for a given amount + card brand (with/without interest, max insta... | | create_numtoken | Create a numtoken (Getnet card-on-file PAN-level token). | | create_split | Configure a marketplace split rule that routes part of a payment to a subseller. | | get_statement | Retrieve marketplace statement entries (sales, fees, payouts) for a subseller in a date range. |

Install

npm install @codespar/mcp-getnet

Environment

GETNET_CLIENT_ID="..."       # OAuth client_id
GETNET_CLIENT_SECRET="..."   # OAuth client_secret
GETNET_SELLER_ID="..."       # seller_id from your merchant contract
GETNET_BASE_URL="..."        # Optional. Default: https://api.getnet.com.br
                             # Sandbox: https://api-homologacao.getnet.com.br

Authentication

OAuth 2.0 Client Credentials. The server calls POST /auth/oauth/v2/token with Basic auth and caches the bearer token in memory until 60s before expiry. Transparent to callers.

Run

# stdio (default)
npx @codespar/mcp-getnet

# HTTP
MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-getnet

License

MIT