solinkify-mcp
This server enables AI agents to make payments and purchases on Solana through the Solinkify platform, with built-in spending caps and authorization controls.
Wallet & Authorization
wallet_status— View agent wallet address, SOL balance, stablecoin balances, pre-paid balance, and remaining budgetspend_authority_status— Inspect the on-chain SpendAuthority (caps, daily spending, revocation status) for owner-mode payments
Gate (x402 Paywalls)
gate_get_price— Preview the price of an x402 paywall without payinggate_fetch— Fetch gated content with automatic paymentgate_prepaid_balance— Check the pre-paid stablecoin balance for gate paymentsgate_prepaid_deposit— Deposit stablecoin into a pre-paid balance for future requestsgate_subscribe— Buy or renew a subscription plan for a gated endpoint
DataHub Marketplace
datahub_search— Search datasets by keyword, category, or browse all listingsdatahub_buy— Purchase a dataset and receive a download linkdatahub_review— Rate and review a purchased dataset (verified-purchase only)datahub_subscribe— Subscribe to a recurring dataset for time-based accessdatahub_download— Get a fresh download link for an already-owned dataset
Merchant Checkout
pay_get_session— Inspect a checkout session (WooCommerce, OpenCart, PrestaShop) before payingpay_checkout— Pay a pending checkout session via agent or owner wallet (using on-chain SpendAuthority)
Social Commerce (Blinks)
social_get_blink— Inspect a Solana Blink product link from social media before buyingsocial_buy_blink— Purchase a product from a Blink link, returning a receipt and download link
Allows inspecting and paying checkout sessions from PrestaShop stores via Solinkify Pay.
Provides tools for making payments on the Solana blockchain, including paying for datasets, gated content, checkout sessions, and Blink purchases using stablecoins like USDC/USDT.
Allows inspecting and paying checkout sessions from WooCommerce stores via Solinkify Pay.
@solinkify/mcp
MCP (Model Context Protocol) server that lets any AI agent — Claude Desktop, Claude Code, Cursor, or your own MCP host — pay for things on Solana through Solinkify, with hard spending caps. Agentic payments on the x402 standard, as a set of tools your agent already knows how to call:
Gate (x402 paywalls): find priced endpoints in the public registry, preview prices, auto-pay HTTP 402 content, manage a pre-paid balance, buy subscriptions.
DataHub: search the dataset marketplace and buy datasets (99% goes to the seller, download link returned).
Pay: inspect and settle store checkout sessions (WooCommerce, OpenCart, PrestaShop, hosted checkout).
Social Commerce: inspect and buy products from Blink links exactly as they circulate on X (share link, Actions URL, or raw id).
Quick start
Add to your MCP host config (e.g. Claude Desktop claude_desktop_config.json):
{
"mcpServers": {
"solinkify": {
"command": "npx",
"args": ["-y", "@solinkify/mcp"],
"env": {
"SOLINKIFY_WALLET_PATH": "/path/to/agent-keypair.json",
"SOLINKIFY_MAX_PAYMENT_USD": "1",
"SOLINKIFY_DAILY_CAP_USD": "10"
}
}
}
}The wallet is a standard Solana JSON keypair (solana-keygen new -o agent-keypair.json),
funded with a little SOL for fees and the stablecoin you want to spend
(USDC/USDT).
It is optional at startup: the server connects and lists its tools with no wallet configured, and the read-only tools (price preview, dataset search, checkout quotes) work as they are. Only the tools that spend ask for a keypair, and they say so in the tool result rather than failing at launch.
Docker
docker build -t solinkify-mcp .
docker run -i --rm solinkify-mcp # starts, tools listed
docker run -i --rm -v "$PWD/agent-keypair.json:/wallet.json:ro" \
-e SOLINKIFY_WALLET_PATH=/wallet.json solinkify-mcp # able to pay-i is required: stdin and stdout carry the MCP protocol.
Related MCP server: BotWallet MCP Server
Tools
Tool | What it does |
| Address, SOL, stablecoin balances, prepaid balance, remaining budget |
| On-chain SpendAuthority (owner mode): caps, spent/left today, revoked |
| Browse the public registry of x402-priced endpoints (price, network, access modes, fits-your-cap) |
| Preview an x402 paywall without paying |
| Fetch gated content, auto-paying (prepaid preferred, escrow otherwise); files a signed delivery record when the gate keeps one |
| Compare what the gate says it served with what the agent says it received |
| Manage the pre-paid balance (no per-request signing) |
| Buy a creator's subscription plan (price read on-chain first) |
| Search the DataHub marketplace (results carry |
| Buy a dataset and get the download link |
| Rate a dataset you bought (verified-purchase gated server-side) |
| Time-based access to a recurring dataset (on-chain plan; renew extends expiry) |
| Fresh download link via purchase receipt or active subscription (no payment) |
| Inspect a checkout session (accepts the full checkout URL) |
| Pay a pending checkout session; the merchant's order is marked paid. With |
| Inspect a Blink product link (title, price, seller) without paying |
| Buy from a Blink link; returns the receipt + download link |
Authorization model
Moving money was never the hard part; scoped, revocable authority is. The agent never holds your main wallet: it runs on a dedicated keypair funded only with what it is allowed to spend (the outer bound), and the server enforces two hard caps before any funds move, on every tool:
SOLINKIFY_MAX_PAYMENT_USD— max for a single payment (default1)SOLINKIFY_DAILY_CAP_USD— max total per UTC day (default10, persisted in~/.solinkify/mcp-spend.json, fail-closed)
For Gate paywalls there is an on-chain scoped budget too: a prepaid balance is
deposited once into a program-owned account and debited per request at
on-chain prices; withdraw_prepaid pulls the remainder back at any time — the
kill switch.
Owner mode (on-chain SpendAuthority)
Set SOLINKIFY_OWNER_WALLET to the base58 address of a funds owner and
pay_checkout stops spending from the agent keypair: it settles through
pay_spl_delegated, drawing from the owner's token account under a
SpendAuthority the owner created on-chain — per-payment cap, daily ceiling,
and revoke-as-kill-switch all enforced by the Solana program, not by this
server. The agent wallet only signs and pays tx fees; it never holds the
owner's funds or keys. Inspect the allowance with spend_authority_status.
The owner grants (and can instantly revoke) the allowance with the contract's
create_spend_authority / update_spend_authority / revoke_spend_authority
instructions, keyed to the agent's public key. One SpendAuthority covers one
stablecoin mint. The local SOLINKIFY_MAX_PAYMENT_USD / SOLINKIFY_DAILY_CAP_USD
caps still apply on top (defense in depth). Other paying tools (gate, DataHub,
Blinks) still spend from the agent wallet.
Refusals come back as readable messages the agent can relay to the user. The
server also self-identifies as an AI agent via User-Agent (override with
SOLINKIFY_USER_AGENT), so Gate-protected sites answer with a clean 402
instead of being scraped.
Environment
Var | Default | Purpose |
| — (required) | Agent wallet |
| devnet public RPC | Solana RPC |
|
|
|
|
| Solinkify backend |
|
| Per-payment cap |
|
| Daily budget |
| — (off) | Owner mode: |
QA
scripts/qa-battery.mjs drives every tool through a real MCP stdio client
against live devnet; scripts/qa-guard-probe.mjs proves both caps refuse.
Available Tools
18 toolsdatahub_buyA
Buy a DataHub dataset (x402 settlement on Solana, 99% goes to the seller) and return the download link. Pays in USDC by default; set token to USDT to settle in USDT instead. Spending caps apply.
Inputs: book_id (required), token.
datahub_downloadA
Fetch a fresh download link for a DataHub dataset the agent already owns, either from a past purchase receipt or an active subscription. Proves ownership with a signed wallet message. Costs nothing, so prefer it over buying the same dataset again.
Inputs: book_id (required).
datahub_reviewA
Rate a DataHub dataset you have purchased (1-5 stars, optional comment). Verified-purchase only: the marketplace rejects wallets without a receipt for the dataset. No payment involved.
Inputs: rating (required), book_id (required), comment.
datahub_searchA
Search the Solinkify DataHub marketplace. Returns id, title, price (USD stablecoin), seller, category, and sales count. Datasets: buy with datahub_buy. API listings (kind "api"): the price is per request — access them by calling gate_fetch on their api_base_url.
Inputs: limit, query.
datahub_subscribeA
Subscribe to a recurring DataHub dataset (time-based access, on-chain payment with the plan's USDC price). While active, every update of the dataset can be fetched with datahub_download — no per-download payment. Renewing extends from the current expiry. Spending caps apply.
Inputs: book_id (required).
gate_check_deliveryA
Check what each side says was delivered for a payment: the hash the gate filed for what it served, and the hash the agent filed for what it received. Use it to confirm a purchase arrived intact, or to show a discrepancy. Read-only and free. Note it records WHICH bytes were delivered, not whether their contents were correct.
Inputs: payment_id (required).
gate_fetchA
Fetch a Gate-protected URL, automatically paying the x402 paywall from the agent wallet (prepaid balance preferred, escrow payment otherwise). Returns the page content plus what was paid. Refuses and explains if the price exceeds the per-payment or daily cap. Ungated URLs are fetched normally and cost nothing.
Inputs: url (required).
gate_find_endpointsA
Browse the public Solinkify registry of x402-priced endpoints: paid APIs and content an agent can buy per request. Returns url, price per request, currency, network and access modes for each one, plus whether it fits the configured spending caps. Use it to find a paid data source without being handed the URL, then call gate_get_price or gate_fetch on the url. Read-only and free. Every entry was verified by machine: it answers a real HTTP 402 with a valid x402 manifest that pays the wallet which listed it.
Inputs: limit, query, max_price_usd.
gate_get_priceA
Preview a Solinkify Gate paywall (HTTP 402 / x402) without paying: price, currency, and available access modes (pay-per-request, prepaid, subscription). Call this before gate_fetch to learn the price. Costs nothing and never moves money.
Inputs: url (required).
gate_prepaid_balanceA
Show the agent's Solinkify pre-paid balance for a stablecoin (deposited once, then debited per request without signing a transaction each time). Read-only.
Inputs: token.
gate_prepaid_depositA
Deposit stablecoin into the Solinkify pre-paid balance so future gate_fetch calls debit it without a per-request transaction. Moves money: the full deposit counts against the daily spending cap at once, and the balance can be withdrawn later.
Inputs: amount_usd (required), token.
gate_subscribeA
Buy (or renew) a creator's subscription plan for a Gate endpoint: one payment, then unlimited access until expiry. Moves money. The plan price is read on-chain and checked against the spending caps before paying. Fails if the endpoint has no subscription plan.
Inputs: endpoint_id (required), creator_wallet (required).
pay_checkoutA
Pay a pending Solinkify Pay checkout session. Settles on Solana, the merchant receives 99% instantly, and the order is marked paid. Spends from the agent wallet — or, when SOLINKIFY_OWNER_WALLET is configured, from the owner wallet under its on-chain SpendAuthority caps (ADR-008); check spend_authority_status first in that mode. Moves money and is not reversible, so confirm the amount with pay_get_session first. Sessions that are already paid or expired are refused.
Inputs: session (required).
pay_get_sessionA
Inspect a Solinkify Pay checkout session (from a merchant store such as WooCommerce, OpenCart or PrestaShop) before paying: amount, merchant, order id, and status. Read-only, so call it first to confirm what pay_checkout would spend.
Inputs: session (required).
social_get_blinkA
Inspect a Solinkify Blink (a product shared on X as a Solana Action) before buying: title, description, price, and seller. Read-only, so use it to confirm the price before social_buy_blink.
Inputs: url (required).
spend_authority_statusA
Show the on-chain SpendAuthority (ADR-008) that lets this agent pay merchants from an owner's wallet: per-payment cap, daily ceiling, what is spent/left today, and whether it has been revoked. All of it is enforced by the Solana program, not by this server. Read-only. Defaults to the SOLINKIFY_OWNER_WALLET the server is configured with.
Inputs: owner.
wallet_statusA
Show the agent wallet: address, SOL for fees, stablecoin balances, Solinkify pre-paid balance, and today's remaining spending budget under the caps. Takes no arguments and never moves money. Call it first when a payment fails, to tell an empty wallet apart from a cap that has been reached.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 18 tools
Each tool targets a distinct operation within its domain (wallet, gate, datahub, pay, social). No two tools have overlapping purposes; even similar actions like fetching vs. buying are clearly separated by context.
All tools follow a consistent pattern: domain prefix (gate_, datahub_, pay_, social_) followed by verb_noun. This makes the toolset predictable and easy to navigate.
18 tools cover multiple subdomains (wallet, gate, datahub, pay, social) without being overwhelming. Each tool serves a clear purpose, and the count is well-scoped for the server's comprehensive payment/access functionality.
Core workflows (discover, price check, pay, fetch, verify, and manage prepaid/subscriptions) are well-covered. Minor gaps exist, such as lacking a tool to cancel subscriptions or list owned purchases, but these do not severely impede typical agent tasks.
Maintenance
Related MCP Connectors
USDC wallets, payment links and x402 payments on Solana for AI agents.
Trust and settlement for AI agents: portable attestations, escrow, x402/USDC payments on Solana.
Pay-per-call tools for AI agents: Solana, DEX, perps, prediction markets, DeFi, web. USDC via x402.
x402 paid API tools for AI agents on Solana: crypto safety, market data, KYB/AML verification.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAg402 is the payment layer for Coinbase's x402 protocol. Wrap any API or MCP server with a paywall in one command (ag402 serve), or let your AI agent auto-pay for paid APIs (ag402 run). Zero code changes for both buyers and sellers. Solana USDC, ~0.5s settlement, non-custodial, 648+ tests, MIT licensed. Works with Claude Code, Cursor, OpenClaw, LangChain, AutoGen, CrewAI out of the box.9MIT
- AlicenseAqualityBmaintenanceEnables AI agents to manage USDC wallets on Solana, allowing them to send payments, create invoices, and access paid APIs within human-defined spending limits. It uses threshold signatures to provide agents with financial autonomy while ensuring secure oversight and transaction approval.36248 npm4Apache 2.0
- AlicenseNot gradedqualityCmaintenanceUSDC payments for AI agents on Base. Direct transfers, pre-funded tabs, x402 paywall handling, and service discovery.92 npmMIT
- AlicenseBqualityBmaintenanceagenticpay lets MCP server developers monetize tools via per-call USDC micropayments on Solana, using the x402 protocol. Each tool declares a price; agents pay via signed Solana transactions; settlement happens on-chain in ~1.5–2 seconds.13MIT
social_buy_blinkA
Buy a product from a Solinkify Blink link as shared on X. Moves money: settles on Solana through the same escrow rails as DataHub and returns the receipt plus the download link. The price is read from the catalog and checked against the spending caps first.
Inputs: url (required), email.