P-Link-MCP
Payment & Transaction Tools that allow AI agents to send, receive, and request payments
README
🧾 P-Link.io MCP Server
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
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_my_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_api_key : Create wallet for this email and get API_KEY
- login_with_api_key : Login using API_KEY
- 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).
🔹 Example usage (ChatGPT / Claude MCP)
- 💬 “Hi ! What is the balance of my wallet ?”
- 💬 “Can you buy the shoes i like at : https://p-link.io/@phh/0.01?PRODUCT=My_Favorite_shoes&id=888”
- 💬 “Send 0.2$ to @Paracetamol”
- 💬 “Send 0.2$ to s.smith@mail.com”
- 💬 “Can you check the status of this transaction ?”
- 💬 “Create a payment link of 10 euros”
- 💬 “Show me my transaction history”
- 💬 “Pay for this P-Link my friend sent me : https://p-link.io/@Paracetamol/0.1”
⚙Prerequisities
There are no prerequisities, using the MCP server, you can call the tool get_wallet_and_api_key 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]"
]
}
}
}
Install via npx
Create an installation folder and run the following command in your shell:
npx plink-mcp-server --apikey=abcdef123456
Install via npm
# 1) Dependencies
npm install
# 2) Environment variables (see below)
# 3) Build
npm run build
Configuration
The binary/runner launches src/stdio.ts and communicates via MCP stdin/stdout.
Npm install configuration file claude_desktop_config.json
{
"mcpServers": {
"plink": {
"command": "node",
"args": [
"{{PATH_TO_SRC}}/build/stdio.js"
],
"cwd": "{{PATH_TO_SRC}}",
"env": {
"APIKEY": "XXXXXXXX"
}
}
}
}
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.
Environment variables
| Variable | Default | Description |
|---|---|---|
APIKEY |
---- |
Required: your API key |
Create a .env file:
APIKEY=XXXXXXXXXXXXXX
▶️ Launch
HTTP Mode (Streamable MCP)
The HTTP mode requires a Redis server.
It is recommended to use the hosted MCP HTTP/WebSocket server available at https://mcp.p-link.io:
- POST
https://mcp.p-link.io/mcpwith a JSON-RPC MCP message - GET
https://mcp.p-link.io/health→{ "status": "ok" } - GET
https://mcp.p-link.io/.well-known/mcp/manifest.json→ MCP manifest
💻 Compatible Clients
- 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
🧩 MCP Manifest Endpoint
The MCP API exposes a JSON manifest describing all available tools for compatible clients (ChatGPT, Claude, n8n, etc.).
Public manifest URL
https://mcp.p-link.io/.well-known/mcp/manifest.json
🗂️ This URL is the one to provide to your MCP client when configuring the server.
📋 License
© 2025. GNU GENERAL PUBLIC LICENSE
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。
