🚀 P-Link x402 on Solana - Email to wallet

平台与服务

by paracetamol951

基于 Solana 的 P-Link 让 AI agent 可通过邮箱或手机号收付款、支付 x402 链接并管理 wallet,几乎无需注册流程或加密货币经验。

什么是 🚀 P-Link x402 on Solana - Email to wallet

基于 Solana 的 P-Link 让 AI agent 可通过邮箱或手机号收付款、支付 x402 链接并管理 wallet,几乎无需注册流程或加密货币经验。

核心功能 (9 个工具)

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

send_money

Send money to an email, Solana wallet or phone number.

request_payment_link

Create a payment link in order to request a payment

get_my_wallet_info

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

get_transaction_state

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

get_wallet_history

Retrieve list of the transactions related to the specified Solana wallet address

pay_and_get_402_protected_url

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

README

🧾 P-Link.io MCP Server

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

code
%APPDATA%\Claude\claude_desktop_config.json

Mac OS

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

Provide the following content after replacing your SHOPID and APIKEY.

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

ChatGPT

Requires a workspace account

In Settings → Connectors → Create Connector, fill in the following:

VariableValue
NameP-Link
DescriptionCan process payments, send money, request payment
MCP Server URLhttps://mcp.p-link.io/mcp
AuthenticationoAuth

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:

bash
npx plink-mcp-server --apikey=abcdef123456
Via npm
bash
# 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:

bash
docker compose up

Environment variables

VariableDefaultDescription
APIKEY----Required: your API key

Create a .env file:

env
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

常见问题

🚀 P-Link x402 on Solana - Email to wallet 是什么?

基于 Solana 的 P-Link 让 AI agent 可通过邮箱或手机号收付款、支付 x402 链接并管理 wallet,几乎无需注册流程或加密货币经验。

🚀 P-Link x402 on Solana - Email to wallet 提供哪些工具?

提供 9 个工具,包括 get_wallet_and_api_key、login_with_api_key、fund_my_wallet

相关 Skills

MCP构建

by anthropics

Universal
热门

聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。

想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。

平台与服务
未扫描109.6k

Slack动图

by anthropics

Universal
热门

面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。

帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。

平台与服务
未扫描109.6k

接口设计评审

by alirezarezvani

Universal
热门

审查 REST API 设计是否符合行业规范,自动检查命名、HTTP 方法、状态码与文档覆盖,识别破坏性变更并给出设计评分,适合评审接口方案和版本迭代前把关。

做API和架构方案时,它能帮你提前揪出接口设计问题并对齐最佳实践,评审视角系统,团队协作更省心。

平台与服务
未扫描9.0k

相关 MCP Server

Slack 消息

编辑精选

by Anthropic

热门

Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。

这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。

平台与服务
82.9k

by netdata

热门

io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。

这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。

平台与服务
78.3k

by d4vinci

热门

Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。

这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。

平台与服务
34.5k

评论