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 🙏

© 2026 – Pkg Stats / Ryan Hefner

pinelabs-mcp

v1.0.5

Published

MCP client for Pine Labs payment gateway — connect Claude Desktop, Cursor, and VS Code to Pine Labs payment APIs using your client credentials.

Readme

pinelabs-mcp

MCP client for Pine Labs payment gateway — connect Claude Desktop, Cursor, VS Code, and other AI assistants to Pine Labs payment APIs using your client credentials.

Full Documentation · Available Tools · Use Cases · FAQs

Prerequisites

Install

npm install -g pinelabs-mcp

Why -g? A global install puts pinelabs-mcp on your PATH so you can run commands directly. Without -g, you must prefix every command with npx (e.g. npx pinelabs-mcp test).

Quick Start

# 1. Install globally
npm install -g pinelabs-mcp

# 2. Configure your credentials (saved to ~/.pinelabs-mcp/config.json)
pinelabs-mcp configure --client-id=YOUR_ID --client-secret=YOUR_SECRET

# 3. Test your connection
pinelabs-mcp test

# 4. Auto-configure your AI client
pinelabs-mcp setup cursor       # or: claude-desktop, vscode, windsurf, opencode, copilot, codex

Then restart your AI client and start using Pine Labs tools.

Don't want to install globally? Use npx instead — no installation needed:

npx pinelabs-mcp configure --client-id=YOUR_ID --client-secret=YOUR_SECRET
npx pinelabs-mcp test
npx pinelabs-mcp setup cursor

CLI Commands

pinelabs-mcp start                             Start MCP server (stdio mode)
pinelabs-mcp configure                         Interactive credential setup
pinelabs-mcp configure --client-id=X --client-secret=Y [--env=uat|prod]
pinelabs-mcp test                              Test connectivity and credentials
pinelabs-mcp setup <client>                    Auto-configure an AI client
pinelabs-mcp setup <client> --print            Preview config without writing
pinelabs-mcp status                            Show current configuration
pinelabs-mcp help                              Show help message
pinelabs-mcp --version                         Show version

Supported AI Clients

| Client | Command | Config Path | |--------|---------|-------------| | Claude Desktop | setup claude-desktop | Platform-specific Claude config | | Cursor | setup cursor | ~/.cursor/mcp.json | | VS Code | setup vscode | .vscode/mcp.json (project) | | Windsurf | setup windsurf | ~/.codeium/windsurf/mcp_config.json | | OpenCode | setup opencode | .opencode/config.json (project) | | GitHub Copilot | setup copilot | ~/.copilot/mcp-config.json | | OpenAI Codex | setup codex | .codex/config.toml |

Manual Configuration

If you prefer to configure manually, add the following to your AI client's MCP config:

{
  "mcpServers": {
    "pinelabs": {
      "command": "npx",
      "args": ["-y", "pinelabs-mcp"],
      "env": {
        "PINELABS_CLIENT_ID": "your_client_id",
        "PINELABS_CLIENT_SECRET": "your_client_secret"
      }
    }
  }
}

VS Code uses "servers" instead of "mcpServers" as the top-level key.

Production environment: Add "PINELABS_ENV": "prod" to the env block.

Environment Variables

| Variable | Required | Default | Description | |----------|----------|---------|-------------| | PINELABS_CLIENT_ID | Yes | — | Your Pine Labs client ID | | PINELABS_CLIENT_SECRET | Yes | — | Your Pine Labs client secret | | PINELABS_ENV | No | uat | Environment: uat or prod | | PINELABS_MCP_ENDPOINT | No | — | Custom endpoint URL (overrides PINELABS_ENV) | | DEBUG | No | false | Enable debug logging (true or 1) |

Available Tools

The MCP server exposes 20+ tools across these categories:

  • Payment Links — Create, retrieve, cancel, and resend payment links
  • Orders — Create, track, and cancel checkout orders
  • Payments — QR Code Generation for UPI payments
  • Refunds — Create and retrieve refund details
  • Settlements — Settlements APIs

See the complete tools reference for details.

Troubleshooting

| Issue | Fix | |-------|-----| | Missing credentials | Run npx pinelabs-mcp configure or set PINELABS_CLIENT_ID / PINELABS_CLIENT_SECRET in your MCP client's env block | | Tools not appearing | Restart your AI assistant; verify Node.js 18+ (node --version); set "DEBUG": "true" in env | | Connection issues | Verify credentials; check network access to mcp.pluralpay.in; allow HTTPS if behind a proxy |

License

Apache 2.0 — see LICENSE