npm package: @shoplinepayments/slpayment-developer-mcp
Description: SHOPLINE Payments provides a Model Context Protocol (MCP) bridge that can be integrated into AI-powered IDEs like Cursor or any other AI tool supporting MCP. Once added, your AI tool can utilize this MCP to search SHOPLINE Payments documentation, retrieve
Latest version: 1.0.1

# @shoplinepayments/slpayment-developer-mcp

`@shoplinepayments/slpayment-developer-mcp` is a Model Context Protocol (MCP) **bridge** (stdio ↔ HTTP) for **shoplinepayments API**.

It starts a local MCP STDIO server (for clients like Cursor/Claude Desktop/Cline) and forwards MCP JSON-RPC requests to your configured HTTP MCP endpoint (for example: `https://ai.shoplinepayments.com/mcp`).

## Configure the MCP client

To communicate with the slpayment MCP bridge, the MCP client requires specific configurations.

**Note**: This bridge uses MCP STDIO (Standard Input/Output), runs locally, and does not require authentication on the bridge itself (authentication is handled by the HTTP MCP endpoint you configure).

### Prerequisites

- Ensure that you have [Node.js](https://nodejs.org/en) version 18.0.0 or higher installed.
- Install any AI tool that supports MCP, such as Cursor, Claude Desktop, or Cline.

### Cursor

1. Open Cursor, then navigate to **Cursor Settings** > **Tools & MCP** > **MCP** > **New MCP Server**, and add the following configuration:

```json
{
  "mcpServers": {
    "slpayment-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@shoplinepayments/slpayment-developer-mcp@1.0.1"
      ],
      "env": {
        "SLPAYMENT_MCP_HTTP_URL": "https://ai.shoplinepayments.com/mcp",
        "SLPAYMENT_MCP_HTTP_TIMEOUT_MS": "30000"
      }
    }
  }
}
```

2. After saving the configuration, terminate all Cursor processes and restart Cursor to apply the new settings.
3. Verify the connection by checking the MCP server's connection status or by asking questions.

### Claude Desktop

1. Open Claude Desktop, then go to **Settings** > **Developer** > **Edit Config**, and add the following configuration:

```json
{
  "mcpServers": {
    "slpayment-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@shoplinepayments/slpayment-developer-mcp@1.0.1"
      ],
      "env": {
        "SLPAYMENT_MCP_HTTP_URL": "https://ai.shoplinepayments.com/mcp",
        "SLPAYMENT_MCP_HTTP_TIMEOUT_MS": "30000"
      }
    }
  }
}
```

2. Save the configuration, terminate all Claude Desktop processes, and restart Claude Desktop to apply the new settings.
3. Verify the connection by checking the MCP server's connection status or by asking questions.

### Cline

1. Open the Cline plugin, navigate to **MCP Servers** > **Configure MCP Servers**, and add the following configuration:

```json
{
  "mcpServers": {
    "slpayment-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@shoplinepayments/slpayment-developer-mcp@1.0.1"
      ],
      "env": {
        "SLPAYMENT_MCP_HTTP_URL": "https://ai.shoplinepayments.com/mcp",
        "SLPAYMENT_MCP_HTTP_TIMEOUT_MS": "30000"
      }
    }
  }
}
```

2. Save the configuration, terminate all processes of the IDE, and restart it to apply the new settings.
3. Verify the connection by checking the MCP server's connection status or by asking questions.

## Use MCP

Once configured, AI tools can use MCP to access the necessary technical documents or API information.

Instruct the AI on what you want to accomplish, for example:

- Summarize “shoplinepayments API” from the latest docs.
- What are the required steps to integrate SHOPLINE Payments?
- Explain auth/signature requirements and callback verification.

## Available tools

This MCP currently offers the following tool(s):

| **Tool** | **Description**                 |
| --- |---------------------------------|
| `get_slpayment_docs` | Fetches SHOPLINE Payments docs. |

## Environment variables

- `SLPAYMENT_MCP_HTTP_URL`: HTTP MCP endpoint (default `https://ai.shoplinepayments.com/mcp`)
- `SLPAYMENT_MCP_HTTP_TIMEOUT_MS`: per-request timeout (default `30000`)