# mcp-vindi

Connects an AI coding agent to Vindi for subscriptions, bills, customers, and payment actions. Useful for recurring billing workflows.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 274
- Author: codespar
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/codespar/mcp-dev-latam/tree/HEAD/packages/payments/vindi
- Updated: 2026-09-27
- HTML: https://affpapa.org/en/nevibecode/mcp/mcp-vindi

## What it does

mcp-vindi gives an agent Vindi tools for creating and inspecting subscriptions, bills, customers, plans, and products. It can also stop or restore subscriptions, cancel pending bills, retry a charge, and issue a full or partial refund.

The server includes tools for payment profiles, including creation and filtered listing. In total, it exposes 20 tools, with optional filters on several list operations. It runs through `npx` and reads the credential from `VINDI_API_KEY`.

Vindi authenticates with Basic Auth: the API key is used as the username and the password is empty. The server cannot call Vindi without `VINDI_API_KEY`; testing requires a sandbox API key from the Vindi dashboard.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `VINDI_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add mcp-vindi -e VINDI_API_KEY=<VINDI_API_KEY> -- npx -y @codespar/mcp-vindi
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add vindi --env VINDI_API_KEY=<VINDI_API_KEY> -- npx -y @codespar/mcp-vindi
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "vindi": {
            "command": "npx",
            "args": [
                "-y",
                "@codespar/mcp-vindi"
            ],
            "env": {
                "VINDI_API_KEY": "<VINDI_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "vindi": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@codespar/mcp-vindi"
            ],
            "env": {
                "VINDI_API_KEY": "<VINDI_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e VINDI_API_KEY=<VINDI_API_KEY> vindi npx -y @codespar/mcp-vindi
```
Replace <…> with your own values

## When to use it
- create a recurring Vindi subscription
- inspect bills using optional filters
- retry payment for a pending bill
- cancel a subscription or refund a charge
- add a customer and saved payment profile

## Example prompts
- Create a Vindi subscription for customer `123` and show its details.
- Find pending bills and retry the charge for bill `456`.
- Cancel subscription `789`, then check its current status.

## Similar
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16717
- [PostHog MCP Server](https://affpapa.org/en/nevibecode/mcp/posthog-mcp-server.md) — MCP server · ★ 40409
- [OpenWork MCP Gateway](https://affpapa.org/en/nevibecode/mcp/openwork-mcp-gateway.md) — MCP server · ★ 24242
- [Keploy](https://affpapa.org/en/nevibecode/mcp/keploy.md) — MCP server · ★ 18727
- [Nhost](https://affpapa.org/en/nevibecode/mcp/nhost.md) — MCP server · ★ 9366
- [basebalance.cloud — x402 RPC & MCP gateway](https://affpapa.org/en/nevibecode/mcp/basebalancecloud-x402-rpc-mcp-gateway.md) — MCP server · ★ 7506

From the same set: [codespar/mcp-dev-latam](https://affpapa.org/en/nevibecode/by/codespar/mcp-dev-latam.md) — 124 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
