mcp
v0.3.3Pay for x402 paywalls, datasets, and store checkouts on Solana, behind hard spending caps.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
wallet_status
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.
spend_authority_status
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.
| Parameter | Type | Description |
|---|---|---|
owner | string | Base58 wallet address of the funds owner to inspect. Omit to use the configured SOLINKIFY_OWNER_WALLET. |
gate_find_endpoints
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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of endpoints to return, 1 to 100. Defaults to 20. |
max_price_usd | number | Drop endpoints priced above this many USD per request. Omit to see every price. |
query | string | Free-text filter matched against title, description and tags. Omit to list everything. Plain keywords work best; there is no query syntax. |
gate_get_price
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.
| Parameter | Type | Description |
|---|---|---|
url * | string | Absolute https:// URL of the gated page or API endpoint to inspect, e.g. https://example.com/api/report. If the URL is not paywalled the tool says so instead of returning a price. |
gate_fetch
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.
| Parameter | Type | Description |
|---|---|---|
url * | string | Absolute https:// URL to retrieve. If it answers HTTP 402 the paywall is paid automatically, so check the price with gate_get_price first when the cost matters. |
gate_check_delivery
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.
| Parameter | Type | Description |
|---|---|---|
payment_id * | string | The payment id returned by gate_fetch. Only payments settled through an escrow have one; prepaid and subscription access do not. |
gate_prepaid_balance
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.
| Parameter | Type | Description |
|---|---|---|
token | string | Stablecoin whose pre-paid balance to read. Balances are tracked per token, so USDC and USDT are separate pots. Defaults to USDC. |
gate_prepaid_deposit
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.
| Parameter | Type | Description |
|---|---|---|
amount_usd * | number | Amount to deposit, in whole currency units (1.5 means $1.50, not 1500000 base units). Must be positive and within the remaining daily cap. |
token | string | Stablecoin to deposit. Must match the token the target endpoints price in, since balances do not convert between tokens. Defaults to USDC. |
gate_subscribe
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.
| Parameter | Type | Description |
|---|---|---|
creator_wallet * | string | The creator's Solana wallet address in base58 (the endpoint owner, not the agent's own wallet). Shown in the 402 manifest returned by gate_get_price. |
endpoint_id * | string | Identifier the creator gave the endpoint, e.g. "premium-api". Also comes from the 402 manifest; it is not a URL. |
datahub_search
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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of listings to return, 1 to 50. Defaults to 10. |
query | string | Free-text filter matched against title, author, description, category and format. Omit to browse everything. Plain keywords work best; there is no query syntax. |
datahub_buy
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.
| Parameter | Type | Description |
|---|---|---|
book_id * | string | The dataset id returned by datahub_search (a uuid), not its title. Buying the same dataset twice pays twice; use datahub_download to re-fetch something already owned. |
token | string | Stablecoin to pay with. The agent wallet must hold this token and a little SOL for fees. Defaults to USDC. |
datahub_review
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.
| Parameter | Type | Description |
|---|---|---|
book_id * | string | Id of a dataset this wallet has already bought. Reviewing without a purchase receipt is rejected. |
rating * | integer | Star rating from 1 (worst) to 5 (best), whole numbers only. |
comment | string | Optional review text, up to 2000 characters. Published publicly next to the rating. |
datahub_subscribe
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.
| Parameter | Type | Description |
|---|---|---|
book_id * | string | Id of a dataset that offers a subscription plan. datahub_search reports one under "subscription"; datasets without a plan must be bought with datahub_buy instead. |
datahub_download
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.
| Parameter | Type | Description |
|---|---|---|
book_id * | string | Id of a dataset this wallet already owns through datahub_buy or datahub_subscribe. Fails if there is no receipt and no active subscription. |
pay_get_session
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.
| Parameter | Type | Description |
|---|---|---|
session * | string | Either the session id (a uuid) or the full checkout URL such as https://solinkify.com/checkout/<id>. Both forms are accepted; the id is extracted from the URL. |
pay_checkout
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.
| Parameter | Type | Description |
|---|---|---|
session * | string | Session id (uuid) or full checkout URL of a session whose status is still "pending". The amount and token are fixed by the merchant and cannot be overridden here. |
social_get_blink
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.
| Parameter | Type | Description |
|---|---|---|
url * | string | Any form the link circulates in: a share link (https://solinkify.com/book/<id>), an Actions URL (…/api/actions/buy/<id>), or the raw product id. The id is extracted automatically. |
social_buy_blink
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.
| Parameter | Type | Description |
|---|---|---|
url * | string | Share link, Actions URL, or raw product id of the Blink to buy, in the same forms social_get_blink accepts. |
email | string | Optional buyer e-mail for the receipt. Leave it out to buy anonymously; the download link is returned either way. |