
PineLabs Plural PG — Payment Gateway MCP Server
io.github.plural-pinelabsPublished by GitHub account plural-pinelabsv0.1.3Updated Oct 24, 2026
Create payment orders, checkout, subscriptions & UPI via PineLabs Plural PG gateway
Overview
Official Pine Labs MCP server that lets an assistant create and manage payment orders, payment links, subscriptions, UPI intents, refunds and payouts through a
- What you can do
- Create and manage payment links and checkout orders, including capturing, cancelling and resending notifications to customers. Look up orders, payments, card details and transactions, and search transactions by ID. Handle refunds, settlements and payouts, including creating payouts that move money. Manage subscription plans, subscriptions and presentations, with pause, resume, cancel and debit actions. Generate UPI intent payments with QR codes and retrieve merchant success-rate analytics. Read Pine Labs API documentation and generate stack-aware checkout integration guidance.
- When to use it
- Useful when an assistant needs to work with a Pine Labs merchant account: building checkout or payment-link flows, managing recurring subscriptions, reconciling orders and settlements, or running payment analytics. Read-only mode suits monitoring or untrusted agent contexts.
- Requirements
- A Pine Labs merchant account with a Client ID and Client Secret. Remote endpoint: Node.js and npx to proxy the connection, credentials sent as X-Client-Id and X-Client-Secret headers. Local: Node.js 18+ via npx, or Python 3.12+ / Docker, with PINELABS_CLIENT_ID and PINELABS_CLIENT_SECRET; PINELABS_ENV selects uat (default) or prod. Network access to Pine Labs APIs.
Installation
In SourceWeft
- Open PineLabs Plural PG — Payment Gateway MCP Server in the dashboard and add it to a workspace.
- Connect the required credentials. They are stored privately and never shown on public pages.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.plural-pinelabs%2Fpinelabs-online-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.
{
"mcpServers": {
"pinelabs-plural-pg-payment-gateway": {
"type": "http",
"url": "https://mcp.pinelabs.com/mcp"
}
}
}README
Pine Labs Payment Gateway MCP Server (Official)
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
Table of Contents
- Prerequisites
- Quick Start
- CLI Commands
- Supported AI Clients
- Manual Configuration
- Available Tools
- Use Cases
- Remote MCP Server
- Authentication
- Local MCP Server
- Configuration
- Debugging
- FAQ
- Keywords
- License
Prerequisites
- Node.js 18+ -- Download or install npm i pinelabs-mcp
- Pine Labs Client Credentials -- Get your Client ID and Client Secret from the Pine Labs developer portal
Quick Start
Getting Your Credentials
- Sign up or log in to the Pine Labs merchant dashboard provided with your account.
- Navigate to your account settings to locate your Client ID and Client Secret.
- Use these credentials in the MCP server configuration as shown in the setup instructions above.
Configure and Connect
Then restart your AI client and start using Pine Labs tools.
CLI Commands
Supported AI Clients
Manual Configuration
If you prefer to configure manually instead of using npx pinelabs-mcp setup, add the following to your AI client's MCP config:
Note: VS Code uses
"servers"instead of"mcpServers"as the top-level key. For production environment, add"PINELABS_ENV": "prod"to theenvblock.
Available Tools
The Pine Labs MCP Server exposes 50+ tools across multiple categories. Each tool maps to a specific Pine Labs payment API endpoint.
Tool Type Legend
Each tool below is tagged with a Type indicating its access pattern and operational risk. This helps you reason about which tools are safe in read-only deployments and which require explicit user confirmation in autonomous (agentic) flows.
Read-only mode: Run the server with
--read-only(or set the equivalent config) to register onlyReadtools and skip allWrite/Destructivetoolsets. Useful for analytics, monitoring, or untrusted agent contexts.
Payment Links
Orders
Checkout Orders
Card Payments
OTP
Refunds
Settlements
Payouts
Subscriptions
UPI Payments
Reports and Transaction Search
Developer Tools
Merchant Analytics
Use Cases
- Payment Gateway Integration: Connect your AI application to the Pine Labs payment gateway to create checkout orders, generate payment links, and process transactions programmatically.
- AI-Powered Checkout Flows: Build conversational checkout experiences where AI assistants create orders, generate payment links, and track payment status in real time.
- UPI Payment Automation: Generate UPI intent QR codes and process UPI payments through AI-driven interfaces for in-app or point-of-sale collection.
- Subscription Lifecycle Management: Automate recurring payment plan creation, subscription activation, pause/resume cycles, debit presentations, and pre-debit notifications.
- Agentic Payment Workflows: Build autonomous AI agents that manage end-to-end payment operations -- from order creation through reconciliation -- without manual intervention.
- Order Tracking and Reconciliation: Query order details, search transactions by ID, and reconcile payments to verify statuses and resolve disputes.
- Payment Analytics and Reporting: Retrieve payment link reports, order summaries, refund details, and merchant success rates over custom date ranges.
- Customer Support Automation: Enable support agents or chatbots to look up transactions, check payment statuses, cancel orders, and resend payment notifications.
Remote MCP Server
The Remote MCP Server is hosted and maintained by Pine Labs. Use this approach if you prefer to configure your AI client manually with the remote endpoint instead of using the npm CLI.
Benefits
- Zero Setup: No Python, Docker, or local infrastructure to manage
- Always Updated: Automatic updates with the latest payment API features and security patches
- High Availability: Hosted on Pine Labs production infrastructure
- Secure Authentication: Client credential authentication over HTTPS
If you are connecting to a self-hosted remote deployment instead of the
Pine Labs hosted service, replace the remote URL below with
<your-mcp-server-url>.
Prerequisites
npx is required to proxy the remote MCP connection.
Install Node.js (which includes npm and npx):
macOS
Windows
Alternatively, download from https://nodejs.org/.
Verify Installation
Usage with Cursor
Add the following to your Cursor MCP settings:
Replace <your-client-id> and <your-client-secret> with your Pine Labs credentials. See Authentication for details.
Usage with Claude Desktop
Add the following to your claude_desktop_config.json:
Replace <your-client-id> and <your-client-secret> with your Pine Labs credentials.
- Configure MCP servers in Claude Desktop: MCP Quickstart Guide
- Install Claude Desktop: Download
Usage with VS Code
Add the following to your VS Code settings (JSON):
Learn more about MCP servers in VS Code's agent mode documentation.
Authentication
The MCP server authenticates using Client ID and Client Secret credentials issued by Pine Labs.
Note: For local deployments, credentials can be passed via CLI arguments or environment variables. For the remote server, credentials are passed as HTTP headers.
Local MCP Server
Deploy the MCP server on your own infrastructure for full control over the runtime environment.
Prerequisites
- Python 3.12+
- Docker (optional, for containerized deployment)
- Git
Install on Windows (Chocolatey)
The fastest way to get the MCP server on a Windows machine is via Chocolatey. The package is a thin wrapper that installs Python 3.10+ as a dependency and then installs pinelabs-mcp-server from PyPI, registering a pinelabs-mcp shim on PATH.
Verify the install:
Run the server over stdio:
MCP client configuration (Claude Desktop / Cursor / VS Code)
After choco install, point your MCP client at the pinelabs-mcp shim:
To uninstall:
Using Public Docker Image (Recommended)
Use the official Pine Labs Docker image directly. No build step required.
Note: To pin a specific version, replace
pinelabs/mcp:latestwithpinelabs/mcp:<version-tag>(e.g.,pinelabs/mcp:v1.0.0) in the configurations below.
Usage with Claude Desktop
Add the following to your claude_desktop_config.json:
Replace <your-client-id> and <your-client-secret> with your Pine Labs credentials.
- Configure MCP servers in Claude Desktop: MCP Quickstart Guide
- Install Claude Desktop: Download
Usage with VS Code
Add the following to your VS Code settings (JSON):
Learn more about MCP servers in VS Code's agent mode documentation.
Usage with Cursor
Replace <your-client-id> and <your-client-secret> with your Pine Labs credentials.
Build from Docker (Alternative)
Clone the repository and build the Docker image locally:
Once built, replace pinelabs/mcp:latest with pinelabs-mcp-server:latest in the configurations above.
Build from Source
Run the server directly from source without Docker:
Once running, configure your MCP client to connect to the local process. Example for VS Code:
Configuration
Environment Variables
Command Line Flags
Debugging the Server
Use the --log-level DEBUG flag and optionally --log-file to write detailed logs for troubleshooting:
FAQ
Q: Do I need to provide amounts in paisa?
A: No. Amounts are specified in rupees (e.g., 500 for INR 500). No conversion to paisa is required.
Q: What environments are supported?
A: The server supports uat (default) and prod environments. Set via PINELABS_ENV or --env.
Q: Can I restrict which tools are available?
A: Yes. Use the --read-only flag to disable write operations, or use --toolsets to enable specific toolsets (e.g., --toolsets payment_links,orders).
Q: Where can I find the full API reference? A: Visit the Pine Labs Developer Documentation for the complete API reference.
Keywords
Pine Labs, Pine Labs Online, Plural, Plural Online, payment gateway, online payment gateway, checkout gateway, payment checkout, online checkout, hosted checkout, payment page, payments, online payments, digital payments, payment processing, accept payments, collect payments, payment integration, gateway integration, payments API, payment API, checkout API, gateway API, UPI, cards, credit card, debit card, netbanking, wallet, EMI, cardless EMI, subscriptions, recurring payments, orders, order payments, create payment, initiate payment, process payment, payment links, MCP server, Model Context Protocol, AI payment automation, agentic payments, QR code payments, payment orchestration, merchant API, transaction reporting, fintech, SDK
License
This project is licensed under the Apache 2.0 license. See LICENSE for the full terms.
Source: README.md at commit 967b25e
Tools
0Version history
1- v0.1.3LatestSep 16, 2026
Score
85% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
- Auth declaredRequired10 pts
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts