Skip to main content
Glama
P-Link-MCP

P-Link-MCP

🧾 P-Link.io MCP Server

License: GPL v3 Demo video GitHub Stars

P-Link MCP and 402

P-Link MCP Server is a server compliant with the MCP (Model Context Protocol), integrating fetch-402 client from coinbase, and HTTP 402 protocol on server side, allowing ChatGPT, Claude, and other MCP-compatible clients to connect to a payment system on Solana.

It provides a simple interface to:

  • Pay 402 links

  • Create 402 payment links (supporting agent payment on Solana and human payment by card, Solana wallet, or P-Link account)

  • Send money to any email or phone number

  • View transaction history

  • View wallet information (balance, public wallet address)

🟒 Live Server: https://mcp.p-link.io/mcp

P-Link MCP and 402


Connect your Solana wallet to ChatGPT, Claude, or n8n β€” and manage your purchases simply by talking.

This project exposes the p-link.io API as Model Context Protocol (MCP) tools, available over HTTP (Streamable) and/or STDIO.


πŸš€ Features

  • send_money: Send an amount of money to a wallet, an email, or a phone number. Can be any email or phone number. If the user has no P-Link account, an account is created for him and the access is emailed or sent by phone. If the user already has a P-Link account, the wallet is reused. If the account is not claimed within 3 days, the funds are returned to the sender.

  • request_payment_link : Create a payment link in order to be paid the desired amount, you can also provide a webhook that will be called on payment success, or a notification email address, or customize the payment page using the parameters. The payment link obtained complies to the HTTP 402 specification, which means AI can pay for the ressource protected by this link. Payment can be made using any Solana token, and get converted to USDC during the transaction. Humans can pay by card. Payment hook can be easily connected to automation tools (IFTTT, Framer, etc).

  • get_wallet_info : Get information about your wallet (balance, public address, etc)

  • get_wallet_history : Retrieve list of the transactions related to my Solana wallet

  • pay_and_get_402_protected_url : Pay a HTTP 402 protected URL, and returns the protected result. The assistant will use your wallet in order to pay for the requested ressource.

  • get_wallet_and_otp : Create wallet for this email and get otp

  • login_with_otp : Login using otp

  • fund_my_wallet : Get the different ways in order to fund your wallet : Sending Solana cryptocurrency to the specified Solana public wallet address, or use a the provided link in order to fund your account using a credit card (provided by Stripe).

  • get_private_key_of_wallet : Get the private key of your wallet. First call this tool with no otp and the server will send you an OPT to provide to this tool.


Related MCP server: remit.md MCP Server

πŸ”Ή Example usage (ChatGPT / Claude MCP)


βš™Prerequisities

There are no prerequisities, using the MCP server, you can call the tool get_wallet_and_otp in order to create a wallet associated with your email address, and login with it. Then if you want to send funds, you can use the tool fund_my_wallet that will give you the instructions to fund your wallet using a Solana wallet or a credit card.

If you already have a P-Link account, you can specify the API_KEY parameter, if you want to create your account with your assistant, just leave this parameter. In the software, you can get your APIKEY in API, Send money page : https://p-link.io/ApiDoc/Send


βš™οΈ Installation

Claude

Minimum installation

Edit the file claude_desktop_config.json in your Claude Desktop configuration directory:

Windows

%APPDATA%\Claude\claude_desktop_config.json

Mac OS

~/Library/Application Support/Claude/claude_desktop_config.json

Provide the following content after replacing your SHOPID and APIKEY.

  {
  "mcpServers": {
    "plink": {
      "command": "npx",
      "args": [
        "plink-mcp-server",
        "--apikey=[replaceWithYourAPIKEY]"
      ]
    }
  }
}

ChatGPT

Requires a workspace account

In Settings β†’ Connectors β†’ Create Connector, fill in the following:

Variable

Value

Name

P-Link

Description

Can process payments, send money, request payment

MCP Server URL

https://mcp.p-link.io/mcp

Authentication

oAuth

Once added, the connector will be available in new conversations.

Other MCP clients

Stdio Install

Via npx

Create an installation folder and run the following command in your shell:

npx plink-mcp-server --apikey=abcdef123456
Via npm
# Dependencies
git clone https://github.com/paracetamol951/P-Link-MCP.git

# Dependencies
npm install

# Environment variables (see below)

# Build
npm run build

HTTP Install

🐳 Run the MCP server in HTTP mode with Docker:

docker compose up

Environment variables

Variable

Default

Description

APIKEY

----

Required: your API key

Create a .env file:

APIKEY=XXXXXXXXXXXXXX

πŸ’» Compatible Clients examples

  • ChatGPT (OpenAI) β€” via external MCP configuration

  • Claude (Anthropic) β€” via "Tools manifest URL"

  • n8n / Flowise / LangChain β€” import via public URL

  • You are welcome to complete !


Demo video

Demo video


🧩 MCP Manifest Endpoint

The MCP API exposes a JSON manifest describing all available tools for compatible clients (ChatGPT, Claude, n8n, etc.) : https://mcp.p-link.io/.well-known/mcp/manifest.json


πŸ“‹ License

Β© 2025. GNU GENERAL PUBLIC LICENSE

Available Tools

11 tools
fund_my_walletFund wallet : Obtain a link in order to fund your wallet of the desired amount using a credit card, or the Solana address of your wallet if you want to fund your account using Solana.C
Read-only

Fund wallet : Obtain a link in order to fund your wallet of the desired amount using a credit card, or the Solana address of your wallet if you want to fund your account using Solana.

Inputs: amount.

get_private_key_of_walletGet the private key of your wallet on secured app https://p-link.ioC
Read-only

Get the private key of your wallet on secured app https://p-link.io

Inputs: solanaWalletAddress.

get_transaction_stateRetrieve the state and details of a transaction using Solana trx IDC
Read-only

Retrieve the state and details of a transaction using Solana trx ID

Inputs: trxID.

get_wallet_and_otpCreate a wallet for your email or get otp by emailC
Read-only

Create a wallet for your email or get otp by email

Inputs: email (required).

get_wallet_historyTransaction history : Retrieve list of the transactions related to the specified Solana wallet address (received and sent funds with dates)C
Read-only

Transaction history : Retrieve list of the transactions related to the specified Solana wallet address (received and sent funds with dates)

Inputs: walletAddress.

get_wallet_infoRetrieve the wallet infos about the connected P-Link account (Solana wallet address, wallet balance, tokens detail)C
Read-only

Retrieve the wallet infos about the connected P-Link account (Solana wallet address, wallet balance, tokens detail)

Inputs: pubk.

login_with_otpLogin using otp. Connect to your P-Link wallet using the one time password you received by emailC
Read-only

Login using otp. Connect to your P-Link wallet using the one time password you received by email

Inputs: email (required), otp (required).

pay_and_get_402_protected_urlPay a HTTP 402 protected URL using your P-Link managed account, and returns the resultC
Destructive

Pay a HTTP 402 protected URL using your P-Link managed account, and returns the result

Inputs: url (required).

pingPingA

Simple MCP server health check. Returns { result: 'OK' } if the server is alive.

Inputs: msg.

send_moneySend money to an email, Solana wallet or phone number. The provided email or phone can be used to claim the money of the wallet. If new user does not claim for 3 days, the money is returned to the sender.A
Destructive

Send money to an email, Solana wallet or phone number. The provided email or phone can be used to claim the money of the wallet. If new user does not claim for 3 days, the money is returned to the sender.

Inputs: to (required), amount (required), currency, title.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 11 tools

    Disambiguation4/5

    Most tools have distinct purposes, such as funding, transaction retrieval, wallet management, and payments. However, get_wallet_and_otp combines wallet creation and OTP retrieval, which could cause confusion with login_with_otp, leading to minor ambiguity in their overlapping OTP-related functions.

    Naming Consistency3/5

    The naming is mixed with some consistency in verb_noun patterns like get_transaction_state and get_wallet_history, but deviations exist such as fund_my_wallet (verb_pronoun_noun), pay_and_get_402_protected_url (complex compound), and ping (single word). This creates a readable but inconsistent convention overall.

    Tool Count5/5

    With 11 tools, the count is well-scoped for a P-Link wallet and payment management server. Each tool serves a clear function in handling wallets, transactions, payments, and server health, making the set comprehensive without being overwhelming.

    Completeness4/5

    The tool set covers key operations like wallet creation, funding, transaction history, payments, and authentication, supporting core workflows. A minor gap is the lack of tools for updating wallet details or managing tokens beyond basic retrieval, but agents can work around this with the existing tools.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • 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
      F
      maintenance
      Enables AI agents to perform financial transactions such as direct payments, escrows, and bounty management using natural language with zero code integration. It provides a comprehensive suite of tools for fund streaming, subscriptions, and reputation tracking to facilitate secure agent-to-agent commerce.
      MIT
    • 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.
      68 npm
      2
      MIT