mcp-niubiz
v0.1.0MCP server for Niubiz — Peru card acquirer: security token, session, authorize, reverse
Has high-severity static-analysis findings pending human review.
Values you need
| Variable | What it is | |
|---|---|---|
NIUBIZ_USER | required secret | Niubiz API user |
NIUBIZ_PASSWORD | required secret | Niubiz API password |
NIUBIZ_MERCHANT_ID | required | Merchant id (código de comercio) |
NIUBIZ_ENV | optional | Environment: 'sandbox' or 'production'. Defaults to 'sandbox'. |
npm (npx) verified
Requires Node.js 18+
Run in a terminal
claude mcp add mcp-niubiz -e 'NIUBIZ_MERCHANT_ID=<NIUBIZ_MERCHANT_ID>' -e 'NIUBIZ_PASSWORD=<NIUBIZ_PASSWORD>' -e 'NIUBIZ_USER=<NIUBIZ_USER>' -- npx -y @codespar/mcp-niubiz@0.1.0Add to
claude_desktop_config.json{
"mcpServers": {
"mcp-niubiz": {
"args": [
"-y",
"@codespar/mcp-niubiz@0.1.0"
],
"command": "npx",
"env": {
"NIUBIZ_MERCHANT_ID": "<NIUBIZ_MERCHANT_ID>",
"NIUBIZ_PASSWORD": "<NIUBIZ_PASSWORD>",
"NIUBIZ_USER": "<NIUBIZ_USER>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp-niubiz": {
"args": [
"-y",
"@codespar/mcp-niubiz@0.1.0"
],
"command": "npx",
"env": {
"NIUBIZ_MERCHANT_ID": "<NIUBIZ_MERCHANT_ID>",
"NIUBIZ_PASSWORD": "<NIUBIZ_PASSWORD>",
"NIUBIZ_USER": "<NIUBIZ_USER>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "NIUBIZ_MERCHANT_ID",
"id": "niubiz-merchant-id",
"password": true,
"type": "promptString"
},
{
"description": "NIUBIZ_PASSWORD",
"id": "niubiz-password",
"password": true,
"type": "promptString"
},
{
"description": "NIUBIZ_USER",
"id": "niubiz-user",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp-niubiz": {
"args": [
"-y",
"@codespar/mcp-niubiz@0.1.0"
],
"command": "npx",
"env": {
"NIUBIZ_MERCHANT_ID": "${input:niubiz-merchant-id}",
"NIUBIZ_PASSWORD": "${input:niubiz-password}",
"NIUBIZ_USER": "${input:niubiz-user}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp-niubiz]
command = "npx"
args = ["-y", "@codespar/mcp-niubiz@0.1.0"]
env = { "NIUBIZ_MERCHANT_ID" = "<NIUBIZ_MERCHANT_ID>", "NIUBIZ_PASSWORD" = "<NIUBIZ_PASSWORD>", "NIUBIZ_USER" = "<NIUBIZ_USER>" }For AI agents
- Ask the user for: NIUBIZ_USER, NIUBIZ_PASSWORD, NIUBIZ_MERCHANT_ID. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: get_security_token, create_session_token, authorize_transaction, reverse_transaction.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json