Skip to content
FunCoding

mcp-niubiz

Listed in the official MCP Registry

MCP server for Niubiz — Peru card acquirer: security token, session, authorize, reverse

Star
273
Category
Security
Version
v0.1.0
License
MIT
Last commit
Sep 27, 2026

@codespar/mcp-niubiz

MCP server for Niubiz (ex-VisaNet Perú) — Peru's dominant card acquirer, 300k+ merchants. Implements the real ecommerce flow: security token → checkout session → authorization, plus same-day reverse.

npm License: MIT

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "niubiz": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-niubiz"],
      "env": {
        "NIUBIZ_USER": "your-api-user",
        "NIUBIZ_PASSWORD": "your-api-password",
        "NIUBIZ_MERCHANT_ID": "your-merchant-id",
        "NIUBIZ_ENV": "sandbox"
      }
    }
  }
}

Claude Code

claude mcp add niubiz --env NIUBIZ_USER=... --env NIUBIZ_PASSWORD=... --env NIUBIZ_MERCHANT_ID=... -- npx -y @codespar/mcp-niubiz

Cursor / VS Code

Add the same block to .cursor/mcp.json or .vscode/mcp.json.

Tools (4)

ToolEndpointWhat it does
get_security_tokenPOST /api.security/v1/securityBearer token (cached 20 min; other tools auto-fetch)
create_session_tokenPOST /api.ecommerce/v2/ecommerce/token/session/{merchantId}Checkout session with amount + antifraud data
authorize_transactionPOST /api.authorization/v3/authorization/ecommerce/{merchantId}Authorize with the checkout's transactionToken
reverse_transactionPOST /api.authorization/v3/reverse/ecommerce/{merchantId}Same-day void of an authorization

The Niubiz flow

Card data never touches this server: the customer types the card into Niubiz's own checkout form (fed by create_session_token), the form returns a transactionToken, and authorize_transaction completes the purchase. This is Niubiz's standard 3-step ecommerce integration.

Authentication

VariableRequiredDescription
NIUBIZ_USERyesAPI user
NIUBIZ_PASSWORDyesAPI password
NIUBIZ_MERCHANT_IDyesMerchant id (código de comercio)
NIUBIZ_ENVnosandbox (default) or production

Enterprise

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.

Managed tier

This open-source server calls Niubiz's API directly with your credentials. CodeSpar's managed tier routes one interface across every LATAM provider with automatic failover, governance, audit and a credential vault: codespar.dev/agents.

License

MIT

Similar MCP servers

REA

Reverse engineer anything from your terminal or agent with one CLI and MCP server.

MOmorluto/rea111k104,453 new stars in the last 7 days

Official

Filesystem

Secure file operations with configurable access controls

MOmodelcontextprotocol/servers91k182 new stars in the last 7 days

World Monitor

Live markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.

KOkoala73/worldmonitor88k525 new stars in the last 7 days

ida-pro-mcp

AI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.

MRmrexodia/ida-pro-mcp13k192 new stars in the last 7 days

hexstrike-ai

HexStrike AI MCP Agents is an advanced MCP server that lets AI agents (Claude, GPT, Copilot, etc.) autonomously run 150+ cybersecurity tools for automated pentesting, vulnerability discovery, bug bounty automation, and security research. Seamlessly bridge LLMs with real-world offensive security capabilities.

0X0x4m4/hexstrike-ai13k229 new stars in the last 7 days

Featured

ghidra-mcp

200+ reverse-engineering tools for Ghidra, as a GUI plugin or headless server.

BEbethington/ghidra-mcp5.5k1,123 new stars in the last 7 days