garu-mcp
OfficialAllows creation of instant PIX charges with auto-generated QR codes for Brazilian real-time payments via the Garu payment platform.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@garu-mcpCreate a PIX charge of R$150"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@garuhq/mcp
An MCP server for the Garu payment platform. Create charges, manage customers, and discover products — directly from any MCP client like Claude Desktop, Cursor, or Claude Code.
Features
PIX Charges — Create instant PIX charges with auto-generated QR codes for Brazilian real-time payments.
Boleto Charges — Generate boleto bancário payment slips.
Charge Management — List, retrieve, and refund charges (full or partial).
Products — List your seller's products and look them up by UUID — the same UUID accepted by the charge tools.
Customers — Create, list, get, update, and remove customers linked to your seller account.
Setup
Create a Garu account and get your API key at garu.com.br.
Usage
Claude Code
claude mcp add garu -e GARU_API_KEY=sk_live_xxx -- npx -y --package=@garuhq/mcp@latest garu-mcpCursor
Open the command palette and choose "Cursor Settings" > "MCP" > "Add new global MCP server".
{
"mcpServers": {
"garu": {
"command": "npx",
"args": ["-y", "--package=@garuhq/mcp@latest", "garu-mcp"],
"env": {
"GARU_API_KEY": "sk_live_xxx"
}
}
}
}Windsurf
Add to .windsurf/mcp.json:
{
"mcpServers": {
"garu": {
"command": "npx",
"args": ["-y", "--package=@garuhq/mcp@latest", "garu-mcp"],
"env": {
"GARU_API_KEY": "sk_live_xxx"
}
}
}
}VS Code
Add to .vscode/mcp.json:
{
"mcpServers": {
"garu": {
"command": "npx",
"args": ["-y", "--package=@garuhq/mcp@latest", "garu-mcp"],
"env": {
"GARU_API_KEY": "sk_live_xxx"
}
}
}
}Claude Desktop
Open Claude Desktop settings > "Developer" tab > "Edit Config".
{
"mcpServers": {
"garu": {
"command": "npx",
"args": ["-y", "--package=@garuhq/mcp@latest", "garu-mcp"],
"env": {
"GARU_API_KEY": "sk_live_xxx"
}
}
}
}Codex
codex mcp add garu --env GARU_API_KEY=sk_live_xxx -- npx -y --package=@garuhq/mcp@latest garu-mcpTools
Products (5 tools)
Tool | Description |
| List your seller's products with pagination and search |
| Get a single product by UUID — the identifier accepted by the charge tools |
| Read per-product portal customization (B2B2C). Returns |
| Upsert with merge: only fields provided are written. Pass |
| Remove the per-product config; product falls back to seller-level config |
Portal-config tools accept
productIdas either the product UUID (preferred — same id returned bylist_products) or the legacy numeric id. UUID support added in Garu v0.10.0.Use
list_productsto discover the UUID you'll pass tocreate_pix_chargeorcreate_boleto_charge.Per-product portal config is the B2B2C primitive: SaaS that models professionals/coaches/instructors as Products under one Seller can give each one custom branding (
businessName,primaryColor,logoUrl) and policies on the customer payment page +/minha-areaportal — all without fragmenting the seller's accounting.
Charges (5 tools)
Tool | Description |
| Create a PIX charge with QR code |
| Create a boleto bancário charge |
| List charges with pagination and filters |
| Get charge details by ID (includes |
| Refund a charge (full or partial) |
Customers (6 tools)
Tool | Description |
| Create a customer linked to your seller account |
| List customers with search and pagination |
| Get customer details by ID |
| Update customer information |
| Remove customer from your seller account |
| Override the billing-email used for that customer |
Scheduled charges (13 tools)
Bill an existing customer on a future date — one-time or recurring with card tokenization.
Tool | Description |
| Schedule a future charge. |
| Paginated list with filters by status, type, due-date range, customer |
| Detail bundle: charge + event timeline + linked transactions |
| Mark a cycle paid (off-Garu reconciliation) |
| Force-bill the current cycle now instead of waiting for the due date (same dispatch as the daily cron). Idempotent — reports |
| Move next due date forward |
| Suspend / re-enable a series |
| Hard-stop future cycles (recurring only) |
| Stripe-style soft-cancel; reversible |
| Swap the saved card |
| Remove saved card; future cycles email-with-link |
| Per-attempt billing log (v0.8.2). Each row carries the canonical |
Resources
garu://docs/quickstart— Getting started guidegaru://docs/openapi— Link to the OpenAPI spec
Environment Variables
GARU_API_KEY— Your Garu API key (required). Get yours at garu.com.br.
Local Development
Clone and build:
git clone https://github.com/Garu-Pagamentos/garu-mcp.git
npm install
npm run buildTo use the local build, replace the
npxcommand with the path to your local build:
Claude Code:
claude mcp add garu -e GARU_API_KEY=sk_live_xxx -- node /absolute/path/to/garu-mcp/dist/index.jsCursor / VS Code / Windsurf / Claude Desktop:
{
"mcpServers": {
"garu": {
"command": "node",
"args": ["/absolute/path/to/garu-mcp/dist/index.js"],
"env": {
"GARU_API_KEY": "sk_live_xxx"
}
}
}
}Run tests:
npm testLicense
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Garu-Pagamentos/garu-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server