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 🙏

© 2025 – Pkg Stats / Ryan Hefner

kobana-mcp-charge

v1.0.0

Published

MCP Server for Kobana Charge API v2 (Pix payments)

Readme

kobana-mcp-charge

MCP (Model Context Protocol) server for the Kobana Charge API v2. This server provides tools for managing Pix payments and accounts through the Kobana platform.

npm version

Features

  • Pix Accounts Management: Create, list, update, and delete Pix accounts for receiving payments
  • Pix Charges: Create, list, update, cancel, and delete Pix charges
  • Pix Commands: Track and monitor operations executed on Pix charges

Quick Start with npx

The easiest way to use this MCP server is with npx:

# Local mode (stdio)
KOBANA_ACCESS_TOKEN=your_token npx kobana-mcp-charge

# HTTP mode (hosted)
KOBANA_ACCESS_TOKEN=your_token npx kobana-mcp-charge-http

Installation

Global Installation

npm install -g kobana-mcp-charge

# Then run:
KOBANA_ACCESS_TOKEN=your_token kobana-mcp-charge

Local Installation

npm install kobana-mcp-charge

# Then run:
KOBANA_ACCESS_TOKEN=your_token npx kobana-mcp-charge

Configuration

Set the following environment variables:

| Variable | Required | Default | Description | |----------|----------|---------|-------------| | KOBANA_ACCESS_TOKEN | Yes | - | Bearer access token for Kobana API | | KOBANA_API_URL | No | https://api.kobana.com.br | Base URL for Kobana API |

Sandbox Environment

To use the sandbox environment:

export KOBANA_API_URL=https://api-sandbox.kobana.com.br
export KOBANA_ACCESS_TOKEN=your_sandbox_token
npx kobana-mcp-charge

Usage with Claude Desktop

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

Using npx (Recommended)

{
  "mcpServers": {
    "kobana-charge": {
      "command": "npx",
      "args": ["-y", "kobana-mcp-charge"],
      "env": {
        "KOBANA_ACCESS_TOKEN": "your_access_token"
      }
    }
  }
}

Using Global Installation

{
  "mcpServers": {
    "kobana-charge": {
      "command": "kobana-mcp-charge",
      "env": {
        "KOBANA_ACCESS_TOKEN": "your_access_token"
      }
    }
  }
}

Sandbox Configuration

{
  "mcpServers": {
    "kobana-charge": {
      "command": "npx",
      "args": ["-y", "kobana-mcp-charge"],
      "env": {
        "KOBANA_ACCESS_TOKEN": "your_sandbox_token",
        "KOBANA_API_URL": "https://api-sandbox.kobana.com.br"
      }
    }
  }
}

HTTP/SSE Mode (Hosted)

Run the server as an HTTP service for remote deployments:

# Using npx
PORT=3000 KOBANA_ACCESS_TOKEN=your_token npx kobana-mcp-charge-http

# Or with global install
PORT=3000 KOBANA_ACCESS_TOKEN=your_token kobana-mcp-charge-http

Environment Variables for HTTP Mode

| Variable | Default | Description | |----------|---------|-------------| | PORT | 3000 | HTTP server port | | HOST | 0.0.0.0 | HTTP server host |

HTTP Endpoints

| Endpoint | Method | Description | |----------|--------|-------------| | / | GET | Server information | | /health | GET | Health check | | /sse | GET | SSE connection (requires Authorization header) | | /messages?sessionId=<id> | POST | Send messages to session |

Authentication for HTTP Mode

Pass the access token in the Authorization header:

Authorization: Bearer your_access_token

Optionally specify a custom API URL:

X-Kobana-Api-Url: https://api-sandbox.kobana.com.br

Available Tools

Pix Accounts

| Tool | Description | |------|-------------| | list_charge_pix_accounts | List all Pix accounts | | create_charge_pix_account | Create a new Pix account | | get_charge_pix_account | Get a specific Pix account | | update_charge_pix_account | Update a Pix account | | delete_charge_pix_account | Delete a Pix account |

Pix Charges

| Tool | Description | |------|-------------| | list_charge_pix | List all Pix charges with filters | | create_charge_pix | Create a new Pix charge | | get_charge_pix | Get a specific Pix charge | | delete_charge_pix | Delete a canceled Pix charge | | update_charge_pix | Update a Pix charge | | cancel_charge_pix | Cancel a Pix charge |

Pix Commands

| Tool | Description | |------|-------------| | list_charge_pix_commands | List commands for a Pix charge | | get_charge_pix_command | Get a specific command |

Examples

Create a Pix Account

{
  "financial_provider_slug": "banco_do_brasil",
  "key": "12345678901",
  "beneficiary": {
    "document": "12345678901234",
    "name": "Empresa LTDA",
    "address": {
      "city": "Sao Paulo",
      "state": "SP"
    }
  }
}

Create a Pix Charge

{
  "amount": 10000,
  "pix_account_id": "abc123",
  "payer": {
    "name": "John Doe",
    "document_number": "12345678901"
  },
  "expire_at": "2024-12-31T23:59:59Z",
  "message": "Payment for order #123"
}

List Pix Charges with Filters

{
  "status": "pending",
  "created_from": "2024-01-01",
  "created_to": "2024-12-31",
  "per_page": 20
}

About Kobana

Kobana is a financial automation platform. Learn more at: https://www.kobana.com.br

License

MIT