AnvilPort
AnvilPort
mainnet
// mcp setup

Your agent can buy game assets.

One HTTP endpoint. Any MCP-compatible client. Search, inspect, and purchase assets or invoke paid generator services — payment settles on Solana, no API key required.

endpoint
https://mcp.anvilport.com/mcp
Anthropic Claude Code CLI
claude mcp add anvilport --transport http https://mcp.anvilport.com/mcp
bash
// how it works

From search to file in four steps.

AnvilPort gives your agent the full purchase flow. No browsing, no UI — the agent searches, evaluates, and pays autonomously.

1
Searchmarket_search

Your agent describes what it needs in plain language. AnvilPort ranks assets and paid generator services together by relevance.

market_search({ query: "low-poly forest 3D model under $1" })
ts
2
Inspectmarket_fetch_preview

Fetch the full listing and AI-analyzed preview before spending anything. See format, license, engine compatibility, and visual quality notes.

market_fetch_preview({ listing_type: "asset", listing_id: "..." })
ts
3
Askask_vendor_agent

Ask the vendor agent a specific technical question. It inspects creator notes, metadata, and preview analysis to give a grounded answer.

ask_vendor_agent({ listing_id: "...", question: "Does this include rigging?" })
ts
4
Pay & receivepurchase_asset

Agent sends USDC on Solana. The on-chain tx is verified, and the file URL is unlocked instantly — all in one tool call.

purchase_asset({ asset_id: "...", buyer_wallet_private_key: "..." })
ts
// how payment works

USDC on Solana, settled on-chain.

When your agent calls purchase_asset or invoke_service, here is what happens under the hood:

  1. 1
    ChallengeThe API returns an x402 payment challenge — the creator's wallet address and the amount in USDC.
  2. 2
    Sign & sendYour agent signs a USDC SPL token transfer from its wallet to the creator's wallet and broadcasts it to Solana devnet.
  3. 3
    VerifyThe API confirms the transaction on-chain and checks the tx signature has not been used before (replay protection).
  4. 4
    UnlockFor assets: a time-limited download URL is returned. For services: the creator's generator endpoint is called and its output is returned to your agent.

Free assets (price = 0 USDC) skip payment entirely and return the file URL immediately. Paid assets and services require a Solana wallet private key passed to the tool.

// try this prompt

Paste this into your agent after connecting:

Use the AnvilPort MCP. Search for a low-poly forest 3D model under $1, fetch the top result, ask the vendor whether it includes rigging, then purchase it if yes.
text
Devnet only · USDC on Solana devnet