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 car
Add this skill
npx mdskills install paracetamol951/p-link-mcpWell-documented MCP server enabling AI payment workflows via Solana and HTTP 402 protocol integration
1# π§Ύ P-Link.io MCP Server23[](https://smithery.ai/server/@paracetamol951/p-link-mcp)4[](LICENSE)5[](https://smithery.ai/chat?mcp=@paracetamol951/p-link-mcp)6[](https://github.com/paracetamol951/P-Link-MCP/stargazers)78[](https://youtu.be/sw9ASYZHEzY)910**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.1112It provides a simple interface to:13- Pay 402 links14- Create 402 payment links (supporting agent payment on Solana and human payment by card, Solana wallet, or P-Link account)15- Send money to any email or phone number16- View transaction history17- View wallet information (balance, public wallet address)181920> π’ Live Server: [https://mcp.p-link.io](https://mcp.p-link.io)2122> π’ Live Demo: [https://smithery.ai/chat?mcp=@paracetamol951/p-link-mcp](https://smithery.ai/chat?mcp=@paracetamol951/p-link-mcp)2324[](https://youtu.be/sw9ASYZHEzY)2526---2728**Connect your Solana wallet to ChatGPT, Claude, or n8n β and manage your purchases simply by talking.**2930This project exposes the **p-link.io** API as **Model Context Protocol (MCP)** tools, available over **HTTP (Streamable)** and/or **STDIO**.3132---3334## π Features3536- **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.**37- **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).38- **get_wallet_info** : Get information about your wallet (balance, public address, etc)39- **get_wallet_history** : Retrieve list of the transactions related to my Solana wallet40- **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.41- **get_wallet_and_otp** : Create wallet for this email and get otp42- **login_with_otp** : Login using otp43- **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).44- **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.4546---4748## πΉ Example usage (ChatGPT / Claude MCP)4950- π¬ "Hi ! What is the balance of my wallet ?"51- π¬ "Can you buy the shoes i like at : https://p-link.io/@phh/0.01?PRODUCT=My_Favorite_shoes&id=888"52- π¬ "Send 0.2$ to @Paracetamol"53- π¬ "Send 0.2$ to s.smith@mail.com"54- π¬ "Can you check the status of this transaction ?"55- π¬ "Create a payment link of 10 euros"56- π¬ "Show me my transaction history"57- π¬ "Pay for this P-Link my friend sent me : https://p-link.io/@Paracetamol/0.1"5859---6061## βPrerequisities6263There 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.64Then 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.6566If 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.67In the software, you can get your APIKEY in API, Send money page : https://p-link.io/ApiDoc/Send6869---7071## βοΈ Installation7273### Claude7475#### Minimum installation7677Edit the file `claude_desktop_config.json` in your Claude Desktop configuration directory:7879Windows80```81%APPDATA%\Claude\claude_desktop_config.json82```8384Mac OS85```86~/Library/Application Support/Claude/claude_desktop_config.json87```8889Provide the following content after replacing your SHOPID and APIKEY.9091```json92 {93 "mcpServers": {94 "plink": {95 "command": "npx",96 "args": [97 "plink-mcp-server",98 "--apikey=[replaceWithYourAPIKEY]"99 ]100 }101 }102}103```104105106### ChatGPT107108> Requires a workspace account109110In **Settings β Connectors β Create Connector**, fill in the following:111112| Variable | Value |113|-----------|--------|114| `Name` | `P-Link` |115| `Description` | `Can process payments, send money, request payment` |116| `MCP Server URL` | `https://mcp.p-link.io/mcp` |117| `Authentication` | `oAuth` |118119Once added, the connector will be **available in new conversations**.120121122### Other MCP clients123124#### Stdio Install125126##### Via npx127128Create an installation folder and run the following command in your shell:129130```bash131npx plink-mcp-server --apikey=abcdef123456132```133134##### Via npm135136```bash137# Dependencies138git clone https://github.com/paracetamol951/P-Link-MCP.git139140# Dependencies141npm install142143# Environment variables (see below)144145# Build146npm run build147```148149150#### HTTP Install151152π³ Run the MCP server in HTTP mode with Docker:153154```bash155docker compose up156```157158---159160### Environment variables161162| Variable | Default | Description |163|-----------|----------|-------------|164| `APIKEY` | `----` | Required: your API key |165166Create a `.env` file:167168```env169APIKEY=XXXXXXXXXXXXXX170```171172---173174## π» Compatible Clients examples175176- **ChatGPT (OpenAI)** β via external MCP configuration177- **Claude (Anthropic)** β via "Tools manifest URL"178- **n8n / Flowise / LangChain** β import via public URL179- You are welcome to complete !180181---182183## Demo video184185[](https://youtu.be/MTsc_nKiofw)186187---188189## π§© MCP Manifest Endpoint190191The MCP API exposes a JSON manifest describing all available tools for compatible clients (ChatGPT, Claude, n8n, etc.) :192https://mcp.p-link.io/.well-known/mcp/manifest.json193194---195196## π License197198Β© 2025. GNU GENERAL PUBLIC LICENSE199200## Links201202- https://docs.p-link.io/automations203- https://medium.com/@P-Link.io/when-your-ai-assistant-can-finally-buy-things-for-you-da840da53e85204- https://p-link.io/documentation205
Full transparency β inspect the skill content before installing.