Pinelabs Mcp Server

by plural-pinelabs

329 downloads
Not rated
GitHub

Description

The Pine Labs Online MCP Server implements the Model Context Protocol (MCP) to enable seamless integration between Pine Labs’ online payment APIs and AI tools. It allows AI assistants to perform Pine Labs Online API operations, empowering developers to build intelligent…

About

The Pine Labs Online MCP Server implements the Model Context Protocol (MCP) to enable seamless integration between Pine Labs’ online payment APIs and AI tools. It allows AI assistants to perform Pine Labs Online API operations, empowering developers to build intelligent, AI-driven payment applications with ease.

Details

Author
plural-pinelabs
Downloads
329
Categories
Developer Tools, Other, API

- Exposes 50+ payment gateway tools as MCP tools
- Supports payment links, orders, subscriptions, and UPI payments
- Includes transaction search, refund reports, and merchant analytics
- Provides API documentation retrieval tools
- Offers remote (hosted) and local deployment options
- Requires only client ID/secret for authentication

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Pinelabs Mcp Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

You can deploy it as a Remote MCP Server (hosted by Pine Labs, no local setup) or as a Local MCP Server (self-hosted via Docker or source). For the remote approach, install Node.js (for npx), then configure your AI client (e.g., Cursor, Claude Desktop) with the mcp-remote command, passing your Pine Labs client ID and client secret as headers. Provide the remote URL https://mcp.pinelabs.com/mcp and the credentials X-Client-Id and X-Client-Secret.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "pinelabs mcp server": {
            "servers": {
                "pinelabs": {
                    "command": "python",
                    "args": [
                        "-m",
                        "cli.pinelabs_mcp_server.main",
                        "stdio"
                    ],
                    "env": {
                        "PINELABS_CLIENT_ID": "<your-client-id>",
                        "PINELABS_CLIENT_SECRET": "<your-client-secret>",
                        "PINELABS_ENV": "prod"
                    }
                }
            }
        }
    }
}

Mcp

{
    "servers": {
        "pinelabs": {
            "command": "python",
            "args": [
                "-m",
                "cli.pinelabs_mcp_server.main",
                "stdio"
            ],
            "env": {
                "PINELABS_CLIENT_ID": "<your-client-id>",
                "PINELABS_CLIENT_SECRET": "<your-client-secret>",
                "PINELABS_ENV": "prod"
            }
        }
    }
}

Pine Labs Payment Gateway MCP Server (Official)

<!-- mcp-name: io.github.plural-pinelabs/pinelabs-online-mcp --> Pine Labs MCP Server is a production-grade Model Context Protocol (MCP) server that connects AI assistants and agentic applications to the Pine Labs payment gateway. It exposes Pine Labs' online payment APIs -- payment links, checkout orders, UPI intent payments, subscriptions, and transaction reporting -- as structured MCP tools that any compatible AI client can invoke. Built for fintech developers integrating payment gateway capabilities into AI-driven workflows, this server enables programmatic access to the full Pine Labs payment API surface through natural-language AI interfaces such as VS Code Copilot, Claude Desktop, and Cursor. ---

Table of Contents

- Quick Start - Available Tools - Use Cases - Remote MCP Server (Recommended) - Authentication - Local MCP Server - Configuration - Debugging - FAQ - Keywords - License ---

Quick Start

Choose your preferred deployment method: - Remote MCP Server -- Hosted by Pine Labs. No local setup required. - Local MCP Server -- Self-hosted via Docker or source. Full control over your infrastructure. ---

Available Tools

The Pine Labs MCP Server exposes 50+ tools across multiple categories. Each tool maps to a specific Pine Labs payment API endpoint.

Payment Links

| Tool | Description | API Reference | |:-----|:------------|:--------------| | create_payment_link | Create a new payment link for collecting payments | Payment Link - Create | | get_payment_link_by_id | Fetch a payment link by its payment link ID | Payment Link - Get by ID | | get_payment_link_by_merchant_reference | Fetch a payment link by its merchant payment link reference | Payment Link - Get by Reference | | cancel_payment_link | Cancel an active payment link | Payment Link - Cancel | | resend_payment_link_notification | Resend a payment link notification to the customer | Payment Link - Resend |

Orders

| Tool | Description | API Reference | |:-----|:------------|:--------------| | get_order_by_order_id | Retrieve order details by order ID | Order - Get by ID | | cancel_order | Cancel a pre-authorized payment against an order | Order - Cancel |

Checkout Orders

| Tool | Description | API Reference | |:-----|:------------|:--------------| | create_order | Create a new checkout order and generate a checkout link | Order - Create |

Subscriptions

| Tool | Description | API Reference | |:-----|:------------|:--------------| | create_plan | Create a new subscription plan | Plan - Create | | get_plans | Retrieve subscription plans | Plan - Get All | | get_plan_by_id | Retrieve a subscription plan by plan ID | Plan - Get Specific | | get_plan_by_merchant_reference | Retrieve a plan by merchant plan reference | Plan - Get Specific | | update_plan | Update an existing subscription plan | Plan - Update | | delete_plan | Delete a subscription plan | Plan - Delete | | create_subscription | Create a new subscription against a plan | Subscription - Create | | get_subscriptions | Retrieve subscriptions | Subscription - Get All | | get_subscription_by_id | Retrieve a subscription by subscription ID | Subscription - Get Specific | | get_subscription_by_merchant_reference | Retrieve a subscription by merchant reference | Subscription - Get Specific | | pause_subscription | Pause an active subscription | Subscription - Pause | | resume_subscription | Resume a paused subscription | Subscription - Resume | | cancel_subscription | Cancel an active subscription | Subscription - Cancel | | update_subscription | Update an existing subscription | Subscription - Update | | create_presentation | Create a presentation (payment request) for a subscription | Presentation - Create | | get_presentation | Retrieve a presentation by presentation ID | Presentation - Get | | delete_presentation | Delete a presentation | Presentation - Delete | | get_presentations_by_subscription_id | Retrieve all presentations for a subscription | Presentation - Get by Subscription | | get_presentation_by_merchant_reference | Retrieve a presentation by merchant reference | Presentation - Get | | send_subscription_notification | Send a pre-debit notification for a subscription | Presentation - Create | | create_debit | Execute a debit (payment collection) against a subscription | Presentation - Create | | create_merchant_retry | Retry mandate execution for a failed debit (max 3 retries) | Merchant Retry |

UPI Payments

| Tool | Description | API Reference | |:-----|:------------|:--------------| | create_upi_intent_payment_with_qr | Create a UPI intent payment with QR code for instant collection | UPI Intent QR |

Reports and Transaction Search

| Tool | Description | API Reference | |:-----|:------------|:--------------| | get_payment_link_details | Fetch payment link details within a date range | API Docs | | get_order_details | Fetch order details within a date range | API Docs | | get_refund_order_details | Fetch refund order details within a date range | API Docs | | search_transaction | Se

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.