Command Palette

Search for a command to run...

UnylyUnyly
Browse all

paracetamol951/P-Link-MCP

FreeNot checked

HTTP 402 (Payment Required) implementation using Solana.

GitHubEmbed

About

HTTP 402 (Payment Required) implementation using Solana.

README

smithery badge 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.

🔹 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

Links

from github.com/paracetamol951/P-Link-MCP

Installing paracetamol951/P-Link-MCP

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/paracetamol951/P-Link-MCP

FAQ

Is paracetamol951/P-Link-MCP MCP free?

Yes, paracetamol951/P-Link-MCP MCP is free — one-click install via Unyly at no cost.

Does paracetamol951/P-Link-MCP need an API key?

No, paracetamol951/P-Link-MCP runs without API keys or environment variables.

Is paracetamol951/P-Link-MCP hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install paracetamol951/P-Link-MCP in Claude Desktop, Claude Code or Cursor?

Open paracetamol951/P-Link-MCP on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

$5

Stripe

Payments, customers, subscriptions

Stripeby Stripe

malamutemayhem/unclick-agent-native-endpoints

110+ tools for AI agents spanning social media, finance, gaming, music, AU-specific services, and utilities. Zero-config local tools plus platform connectors. n

malamutemayhemby malamutemayhem

whiteknightonhorse/APIbase

API hub covering travel (Amadeus, Sabre), Polymarket prediction markets, crypto and weather, paid per call via x402 in USDC.

whiteknightonhorseby whiteknightonhorse

trackerfitness729-jpg/sitelauncher-mcp-server

Deploy live HTTPS websites on subdomains or custom .xyz domains, paid in USDC on Base, with templates for crypto tokens and AI agent profiles.

trackerfitness729-jpgby trackerfitness729-jpg

embeddedlayers/mcp-analytics

Statistical analysis, forecasting and ML on CSV files or live data from Shopify, Stripe, GA4 and more, with interactive HTML reports.

embeddedlayersby embeddedlayers

carrierone/verilexdata-mcp

Pay-per-query x402 datasets: NPI healthcare, SEC filings, OFAC sanctions, crypto whales, Polymarket signals, patents and economic indicators.

carrieroneby carrierone

tipdotmd/tip-md-x402-mcp-server

Cryptocurrency tipping using the x402 payment protocol and CDP Wallet.

tipdotmdby tipdotmd

laundromatic/shopgraph

Structured product data from the open web — Schema.org + AI extraction for e-commerce enrichment. Pay per call via Stripe. [shopgraph.dev](https://shopgraph.dev

laundromaticby laundromatic

mrslbt/xendit-mcp

Xendit payment gateway for Southeast Asia: invoices, disbursements, balance checks and bank transfers.

mrslbtby mrslbt

@arbitova/mcp-server

Non-custodial on-chain escrow with AI dispute arbitration for agent-to-agent USDC payments on Base.

jiayuanliang0716-maxby jiayuanliang0716-max

Compare paracetamol951/P-Link-MCP with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All finance MCPs