Skip to main content
Glama
globalpayments

Global Payments MCP Server

Official

Global Payments MCP Server (TypeScript)

A Model Context Protocol (MCP) server for Global Payments API integration, enabling AI agents to create and manage payment links programmatically using TypeScript/Node.js.

Table of Contents

Related MCP server: Fin-MCP Payment Server

About

This MCP server bridges AI agents (like Claude or GitHub Copilot) with the Global Payments API, allowing natural language payment link creation, retrieval, and management with automatic authentication, token management, and comprehensive error handling. Built with TypeScript for type safety and modern Node.js development.

Features

  • Payment link creation (single-use and multi-use)

  • Payment link retrieval and filtering

  • API documentation retrieval (19+ API categories)

Prerequisites

  • Node.js 18.0 or higher

  • npm

  • Global Payments API credentials (Get them here)

  • Claude Desktop, VS Code with Copilot, or another MCP-compatible client

    Note: It is recommended that the app being used has limited access. specifically only the LNK related resources should be added in the App permissions

Installation

  1. Clone the repository

    git clone https://github.com/globalpayments/mcp-server.git
    cd gpapi-mcp-server/Typescript
  2. Install dependencies

    npm install
  3. Build the project

    npm run build
  4. Create .env file in the project root

    Create a .env file in the TypeScript directory with your credentials:

    # Required: Your Global Payments App credentials (format: APP_ID:APP_SECRET)
    GPAPI_APP=your_app_id:your_app_secret
    
    # Optional: Your Global Payments Account (provide ONE of these, or leave blank for auto-detection)
    # If not provided, the account will be auto-detected from the access token
    # GPAPI_ACCOUNT_ID=your_account_id
    # OR
    # GPAPI_ACCOUNT_NAME=your_account_name
    
    # Optional: Environment (SANDBOX, or PROD, default: SANDBOX)
    ENV=SANDBOX

    Note: The .env file is the recommended way to store credentials. It keeps sensitive information out of your configuration files and makes it easier to manage different environments.

  5. Configure Your MCP Client

    For Claude Desktop

    Add to your claude_desktop_config.json:

    {
      "mcpServers": {
        "global-payments": {
          "command": "node",
          "args": [
            "X://absolute//path//to//gpapi-mcp-server//Typescript//lib//index.js"
          ],
          "env":{
           "GPAPI_APP":"XXXXXXXXXXXXXXXXX:XXXXXXX",
           "GPAPI_ACCOUNT_NAME":"XXXXXXXXX",
           "ENV":"SANDBOX"
          }
        }
      }
    }

    For VS Code (Copilot)

    Add to your VS Code MCP settings file (mcp.json):

    {
      "servers": {
        "global-payments": {
          "command": "node",
          "args": [
            "lib/index.js"
          ],
          "cwd": "./",
          "env":{
           "GPAPI_APP":"XXXXXXXXXXXXXXXXX:XXXXXXX",
           "GPAPI_ACCOUNT_NAME":"XXXXXXXXX",
           "ENV":"SANDBOX"
          }
        }
      }
    }

    Note: Ensure you provide the absolute path to your TypeScript project directory in the cwd field. The .env file should be located in this directory.

Available Tools

This MCP server provides the following tools:

Tool

Description

create_payment_link

Create single-use or multi-use payment links

get_links

Retrieve and filter payment links

get_documentation

Retrieve API documentation for 19+ categories

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    Enables interaction with Finix payment processing services through a simplified interface. Supports creating buyers/sellers, generating payment links, and searching Finix documentation.
    6
    2
  • F
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables AI agents to interact with multiple payment providers (Stripe, Paystack) through a unified API. Supports payment initialization, verification, refunds, customer management, and invoicing without requiring knowledge of specific provider implementations.
    2
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to access Magpie Payment Platform APIs for processing payments, creating checkout sessions, sending invoices, and managing payment links through natural conversation.
    90
    1
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/globalpayments/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server