Skip to main content
Glama
@three-ws/metaplex-agent-mcp

@three-ws/metaplex-agent-mcp

by nirholas

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
THREE_MINTNo$THREE mint address. Only to track an updated canonical contract.
THREE_FREE_ATNo$THREE balance that waives the deploy fee.250000
THREE_WS_BASENoHost for the deployments feed and the $THREE ledger.https://three.ws
DEPLOY_FEE_SOLNoMainnet deploy fee, in SOL.0.02
SOLANA_RPC_URLNoHTTPS RPC endpoint. Defaults to the public endpoint; bring your own for production traffic.
REQUIRE_CONFIRMNoGate spends behind confirm: true. Set REQUIRE_CONFIRM=false to opt out.true
DEPLOY_FEE_WALLETNoWhere the deploy fee is paid. Defaults to the three.ws buyback wallet.
SOLANA_SECRET_KEYNoBase58 secret key or JSON byte array for the minting wallet.
DEPLOY_FEE_ENABLEDNoSet false to build a fork that charges nothing.true
THREE_HALF_PRICE_ATNo$THREE balance that halves the deploy fee.50000
METAPLEX_AGENT_NETWORKNoDefault cluster (mainnet or devnet); every tool takes a per-call network too.mainnet

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Metaplex Agent Registry MCP by three.ws: put an AI agent on-chain on Solana with its own wallet, identity, and reputation surface, Genesis-333 style. mint_onchain_agent is the self-custody path (one atomic tx, signed by SOLANA_SECRET_KEY, ~0.007 SOL, gated by confirm:true). prepare_agent_mint + send_signed_transaction are the SAME mint for a human wallet (Phantom, Solflare, anything) with no key configured. register_agent_identity enrols an existing Core asset. get_onchain_agent, agent_wallet, build_registration, list_onchain_agents, and three_status are read-only. Every Core plugin and metadata field is customizable; the defaults reproduce the three.ws Genesis mint shape exactly. A mainnet deploy also carries a flat SOL deploy fee that funds $THREE buybacks, always disclosed in the preview before anything is signed; holding $THREE halves it and then waives it, and devnet is free. three_status prices it against any wallet.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
preview_agent_mintA

Preview mint_onchain_agent before it runs: both JSON documents, the paying wallet and its live SOL balance, every cost line including the deploy fee and its recipient, and whether the balance covers it. Broadcasts nothing. Show it to the user, get a clear yes, then call mint_onchain_agent with the same arguments, the returned preview_id and confirm_spend: true. Use this before mint_onchain_agent every time, so the person sees the full cost before any SOL moves.

mint_onchain_agentA

Deploy an AI agent on-chain, Genesis-333 style: mints a Metaplex Core asset (data: URI metadata, verified creator, royalties, immutable metadata) AND registers its EIP-8004 Agent Identity, so it appears on metaplex.com/agents with its own built-in wallet. Runs as ONE atomic transaction when it fits Solana's 1232-byte limit, otherwise as create followed by register (how the Genesis 333 landed). Signs with the configured SOLANA_SECRET_KEY (or a per-call secret) and spends ~0.007 SOL in rent + fees, plus a flat SOL deploy fee on mainnet that funds $THREE buybacks (holding $THREE halves it, then waives it; devnet is free; see three_status). The fee rides in the same transaction as the mint, so a failed mint pays nothing. Without confirm:true it returns a full preview (both JSON documents, the paying wallet, every cost line including the fee and its recipient) and broadcasts NOTHING. Use this when the server holds the paying key and the person approved the preview_agent_mint cost; for Phantom/Solflare users, use prepare_agent_mint instead.

prepare_agent_mintA

Build the exact Genesis-style mint+register flow (Metaplex Core asset + Agent Identity) for an EXTERNAL Solana wallet: Phantom, Solflare, Backpack, Ledger, anything. Needs no secret key. Returns unsigned transactions base64 in txs_base64 (already co-signed by the new asset keypair) with wallet as the fee payer: one atomic tx when it fits Solana's size limit, else create + register to sign together via signAllTransactions. The wallet signs and broadcasts, or hands the signed array to send_signed_transaction. Includes the same mainnet deploy fee as mint_onchain_agent, priced against the wallet's live $THREE balance and returned as deploy_fee_sol/deploy_fee_to before anything is signed. Broadcasts nothing itself. The blockhash expires after roughly a minute, so sign promptly and re-prepare if a wallet reports an expired transaction. Use this instead of mint_onchain_agent when the person pays from their own browser or hardware wallet.

send_signed_transactionA

Broadcast one or more fully signed Solana transactions (base64) IN ORDER, polling each to confirmation before the next. Use it to complete the prepare_agent_mint flow: pass the wallet-signed txs_base64 array and the create/register sequencing (including the propagation race) is handled. Whatever the transactions do on-chain happens for real, so only send bytes you built and inspected.

preview_agent_identityA

Preview register_agent_identity before it runs: the identity PDA, whether the asset is already registered, the paying wallet, the cost, and the exact registration document that would be written. Broadcasts nothing. Show it to the user, get a clear yes, then call register_agent_identity with the same arguments, the returned preview_id and confirm_spend: true. Use this before register_agent_identity every time, so the person sees the cost and the document before any SOL moves.

register_agent_identityA

Give an ALREADY-MINTED Metaplex Core asset its Agent Identity: writes the EIP-8004 registration document (as a self-contained data: URI) onto the asset and creates its identity PDA, after which it appears on metaplex.com/agents. The signing wallet must be the asset authority (or the collection authority for collection-bound assets). Registration is one-time per asset and costs ~0.003 SOL; an already-registered asset returns already_registered without spending. Without confirm:true it returns a spend-nothing preview. Use this when the Core asset already exists and only needs its identity; to mint a NEW agent, use mint_onchain_agent or prepare_agent_mint instead.

get_onchain_agentA

Fetch a Metaplex Agent Registry agent by its Core asset address: name, owner, update authority, plugins (royalties, verified creators, immutable metadata, attributes), the decoded asset metadata and EIP-8004 registration documents, whether the identity PDA exists, and the built-in agent wallet (Asset Signer PDA) with its live SOL balance. Read-only. Works on any registered agent, e.g. the three.ws Genesis mints. Use this to inspect one agent by its asset address; to discover recent agents call list_onchain_agents.

agent_walletA

Show a wallet address and its live SOL balance. Pass asset to derive an on-chain agent's built-in wallet (the Metaplex Core Asset Signer PDA, the wallet shown on metaplex.com/agents). Pass address to inspect any wallet. Pass neither to see the configured signing wallet, e.g. to confirm it is funded before mint_onchain_agent. On mainnet it also reports the wallet $THREE balance and the deploy-fee tier that balance earns (see three_status). Use this to check a balance before a mint or after funding a wallet. Read-only; never moves funds.

build_registrationA

Build the Genesis-style EIP-8004 registration-v1 JSON document and its self-contained data:application/json;base64 URI, without touching Solana. Use it to preview exactly what mint_onchain_agent / register_agent_identity will write on-chain, or to host the document yourself and pass it back as registration_uri.

list_onchain_agentsA

The latest agents to land on-chain in the Metaplex Agent Registry, newest first, from the live three.ws /api/deployments feed (which also indexes registrations minted outside three.ws). Each entry carries the Core asset address, name, description, image, owner, 3D and x402 flags, and explorer links. Set all_chains:true to include EVM ERC-8004 registrations in the same stream. Use this to discover recent registrations; call get_onchain_agent on an address for the full record. Read-only.

three_statusA

What the next on-chain deploy costs and why. Returns the deploy-fee schedule (a flat SOL fee on mainnet, free on devnet), the live $THREE balance of a wallet and the tier it earns (half price, then free), the wallet the fee is paid to, and the live $THREE market + buyback figures from the public three.ws ledger. Pass wallet to price a specific payer, or omit it to price the configured signer. Read-only: it moves nothing and needs no key. Use this before a mint to tell the person what the deploy fee will be and how holding $THREE lowers it.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 11 tools

Disambiguation4/5

The two primary paths (server-held key vs. external browser/hardware wallet) are clearly separated by mint_onchain_agent, prepare_agent_mint, and send_signed_transaction, and the descriptions explicitly say which tool to pick when. The main blur is that mint_onchain_agent and register_agent_identity both have built-in preview modes that duplicate the standalone preview_agent_mint and preview_agent_identity tools, and build_registration overlaps with the JSON shown in those previews, so an agent has to decide between two ways to inspect before spending.

Naming Consistency3/5

Everything is snake_case and readable, but verb patterns and vocabulary drift: preview_agent_mint / mint_onchain_agent / prepare_agent_mint use three different phrasings for the same mint domain, and 'agent' vs. 'onchain_agent' vs. 'agent_identity' is inconsistent. Two tools (agent_wallet, three_status) are bare nouns with no verb at all.

Tool Count5/5

11 tools is comfortably within the 3-15 range, and each one maps to a distinct step of the mint/register/discover lifecycle rather than padding. The preview tooling is heavier than strictly necessary, but nothing feels gratuitous for a full mint-and-register surface.

Completeness4/5

The surface covers preview, two signing models, broadcasting, identity registration, single-agent reads, listing, wallet balance, document building, and fee status, so end-to-end workflows are achievable. Gaps are around post-mint lifecycle operations (metadata update, transfer/authority changes, deregistration) which are largely constrained by Core's immutable metadata, so agents can mostly work around them.

Maintenance

ActivityNo data
ResponsivenessOutdated data