New:Socket for Asana Is Now Available.Learn more
Sign In

@solinkify/mcp

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solinkify/mcp

Solinkify MCP server — let AI agents pay for gated content (x402), buy and rate datasets, and settle store checkouts on Solana, with hard spending caps.

Source
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

@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:

  • Gate (x402 paywalls): 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/PYUSD).

Tools

ToolWhat it does
wallet_statusAddress, SOL, stablecoin balances, prepaid balance, remaining budget
gate_get_pricePreview an x402 paywall without paying
gate_fetchFetch gated content, auto-paying (prepaid preferred, escrow otherwise)
gate_prepaid_balance / gate_prepaid_depositManage the pre-paid balance (no per-request signing)
gate_subscribeBuy a creator's subscription plan (price read on-chain first)
datahub_searchSearch the DataHub dataset marketplace
datahub_buyBuy a dataset and get the download link
pay_get_sessionInspect a checkout session (accepts the full checkout URL)
pay_checkoutPay a pending checkout session; the merchant's order is marked paid
social_get_blinkInspect a Blink product link (title, price, seller) without paying
social_buy_blinkBuy from a Blink link; returns the receipt + download link

Safety model

An LLM holds this wallet, so the server enforces two hard caps before any funds move, on every tool:

  • SOLINKIFY_MAX_PAYMENT_USD — max for a single payment (default 1)
  • SOLINKIFY_DAILY_CAP_USD — max total per UTC day (default 10, persisted in ~/.solinkify/mcp-spend.json, fail-closed)

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

VarDefaultPurpose
SOLINKIFY_WALLET_PATH / SOLINKIFY_WALLET_BS58— (required)Agent wallet
SOLANA_RPC_URLdevnet public RPCSolana RPC
SOLINKIFY_NETWORKdevnetmainnet-beta switches mints + default RPC
SOLINKIFY_API_URLhttps://api.solinkify.comSolinkify backend
SOLINKIFY_MAX_PAYMENT_USD1Per-payment cap
SOLINKIFY_DAILY_CAP_USD10Daily budget

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.

Keywords

solana

FAQs

Package last updated on 14 Jul 2026

Related posts