
PineLabs Plural PG — Payment Gateway MCP Server
io.github.plural-pinelabs由 GitHub 账号 plural-pinelabs 发布v0.1.3更新于 Oct 24, 2026
Create payment orders, checkout, subscriptions & UPI via PineLabs Plural PG gateway
概览
Pine Labs 官方 MCP 服务器,让助手通过 Plural 支付网关创建和管理支付订单、支付链接、订阅、UPI 支付、退款与打款。
- 可以做什么
- 创建和管理支付链接与结账订单,包括捕获、取消及向客户重发通知。查询订单、支付记录、卡信息与交易,并按交易 ID 搜索交易。处理退款、结算与打款,包括创建会实际转移资金的打款。管理订阅计划、订阅与账单请求,支持暂停、恢复、取消和扣款操作。生成带二维码的 UPI intent 支付,并获取商户支付成功率分析。读取 Pine Labs API 文档并生成适配技术栈的结账集成指引。
- 适用场景
- 适合需要操作 Pine Labs 商户账户的场景:搭建结账或支付链接流程、管理周期订阅、核对订单与结算,或进行支付数据分析。只读模式适合监控或不受信任的代理环境。
- 运行要求
- 需要 Pine Labs 商户账户及 Client ID 和 Client Secret。远程端点:需 Node.js 与 npx 代理连接,凭据通过 X-Client-Id 和 X-Client-Secret 请求头发送。本地运行:Node.js 18+ 经 npx,或 Python 3.12+ / Docker,需设置 PINELABS_CLIENT_ID 和 PINELABS_CLIENT_SECRET;PINELABS_ENV 选择 uat(默认)或 prod。需能访问 Pine Labs API。
安装
在 SourceWeft 中
- 打开 控制台中的 PineLabs Plural PG — Payment Gateway MCP Server,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.plural-pinelabs%2Fpinelabs-online-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"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.
来源:README.md,提交 967b25e
工具
0版本历史
1- v0.1.3最新Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分