MCP Server API Execution

Set up the hosted Pine Labs MCP Server in Claude Desktop and VS Code — no installation, just paste a config.

Integration Steps

Learn how to set up the Pine Labs Online MCP Server — for code execution.

Pine Labs Online · Model Context Protocol

The Pine Labs Online MCP Server enables AI assistants to interact with Pine Labs Online payment APIs through the Model Context Protocol (MCP). Once configured, you can create payment links, look up orders, cancel transactions, and more — all using conversational prompts in your editor or chat interface.

Fully hosted by Pine Labs — nothing to deploy or maintain

Prerequisites

Make sure the following are in place before you begin:

MCP-compatible AI client

Claude Desktop, or VS Code (with Copilot in agent mode)

Pine Labs merchant account

A Pine Labs Online Merchant account with API access enabled

API credentials

Your X-Client-Id and X-Client-Secret from the Pine Labs Dashboard


1

Get Your API Credentials

Pine Labs authenticates MCP requests using a Client ID and Client Secret pair. To obtain yours:

  1. 1 Log in to the Pine Labs Dashboard .
  2. 2 Navigate to your merchant account settings.
  3. 3 Locate your X-Client-Id and X-Client-Secret values.
  4. 4 Copy both — you’ll need them in the next step.

MCP Server Endpoints

Environment MCP Server URL
UAT (Sandbox) sandbox
https://pluralai.v2.pinepg.in/mcp
PROD (Production) production
https://mcp.pinelabs.com/mcp

2

Connect Your AI Client

Pick the application you use and apply the matching configuration.

  1. 1 Open Claude Desktop and navigate to Settings → Developer → Edit Config.
  2. 2 Add the JSON configuration below, then save the file.
  3. 3 Replace <your-client-id> and <your-client-secret> with the credentials from Step 1.
json
{
  "mcpServers": {
    "pinelabs": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://pluralai.v2.pinepg.in/mcp",
        "--header",
        "X-Client-Id:<your-client-id>",
        "--header",
        "X-Client-Secret:<your-client-secret>"
      ]
    }
  }
}
  1. 1 Open Visual Studio Code.
  2. 2 Launch the Command Palette for macOS: Cmd + Shift + P and for Windows / Linux: Ctrl + Shift + P
  3. 3 Search for MCP: Open User Configuration and select.
  4. 4 Merge the configuration block below into your settings file.
  5. 5 VS Code will prompt you for both credential values when the MCP server starts.
json
{
    "servers": {
      "pinelabs": {
        "type": "http",
        "url": "https://pluralai.v2.pinepg.in/mcp",
        "headers": {
          "X-Client-Id": "${input:pinelabs_client_id}",
          "X-Client-Secret": "${input:pinelabs_client_secret}"
        }
      }
    },
    "inputs": []
}
Tip: For more details on MCP server support in VS Code, visit the VS Code MCP documentation .

3

Verify the Connection

After saving the configuration, restart your AI client. Then try this quick test prompt in your assistant:

“List all available Pine Labs tools”
Note: If everything is configured correctly, the assistant will respond with the full set of available Pine Labs tools. A successful response confirms your MCP connection is live.

Resources

  • Try the Use Cases — real prompts and what happens behind the scenes.
  • Browse the Available Tools reference.
  • Read the FAQs for limits and authentication details.
New chat
Responses are generated using AI and may contain mistakes.
Hi! I'm Pine, your AI developer assistant. Ask me anything about Pine Labs APIs, integrations, or troubleshooting.

Tip: you can create a new chat with + E