x402 client implementation (x402-fetch), HTTP 402 server implementation and Model Context Protocol (MCP) for P-Link.io : pay, send and receive money with agents
P-Link-MCP is an early-stage TypeScript project in the AI payments / x402 ecosystem, focused on 402, api, mcp, model-context-protocol. It currently has 2 GitHub stars and 3 forks, and sits alongside related tools like tdm-sdk, magpie-x402, tdm-integration-kit, TDM-Agent-Integration-Kit, dna-x402, Agent402.
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:
🟢 Live Server: https://mcp.p-link.io/mcp
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.
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
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]"
]
}
}
}
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.
Create an installation folder and run the following command in your shell:
npx plink-mcp-server --apikey=abcdef123456
# Dependencies
git clone https://github.com/paracetamol951/P-Link-MCP.git
# Dependencies
npm install
# Environment variables (see below)
# Build
npm run build
🐳 Run the MCP server in HTTP mode with Docker:
docker compose up
| Variable | Default | Description |
|---|---|---|
APIKEY |
---- |
Required: your API key |
Create a .env file:
APIKEY=XXXXXXXXXXXXXX
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
© 2025. GNU GENERAL PUBLIC LICENSE
Open contract-facing SDK for payable routes and gateway-backed integrations. Thin public surface for authorize, checkout, and session flows.
Collateral that can still sell itself — Magpie's x402 agent API: borrow SOL programmatically on Solana.
Developer integration tools for adding TDM payments to AI agents, apps, and workflows. CLI, MCP server, and copy-paste examples
Developer integration tools for adding TDM payments to AI agents, apps, and workflows. CLI, MCP server, and copy-paste examples
DNA — Payment rails for AI agents. x402 micropayment protocol on Solana. Netting, transfer, stream settlement. Receipt anchoring on-chain.
500+ pay-per-call web tools + skill packs for AI agents — every one tested, priced, and settled on-chain. Paid in USDC over x402 on 8 chains, or free via proof-of-work on the pure-CPU tools. Self-hostable, MCP-native, deterministic. Plus the open x402 index (Find / Route / Leaderboard).
Open Source AI trading agent that operates autonomously across 1000+ markets - Polymarket, Kalshi, Binance, Hyperliquid, Solana DEXs, 5 EVM chains. Scans for edge, executes instantly, manages risk while you sleep. Agent commerce protocol for machine-to-machine payments. Self-hosted. Built on Claude.
DePIN for Vintage Hardware — Proof-of-Antiquity blockchain where old machines outmine new ones. AI-powered hardware fingerprinting, 15+ CPU architectures, Solana bridge (wRTC). $0 VC.
Drop-in OpenAI Python client with transparent x402 payment support.
Client SDK for the Vybe x402 API. Pay-per-call USDC over HTTP and prepaid-credit WebSocket streaming for Vybe's Solana analytics API. Built for AI agents.
Drop-in OpenAI Typescript client with transparent x402 payment support.
Autonomous AI BD Agent for SolCex Exchange: 24/7 Cross-Chain Token Scoring & Payments 2026