@three-ws/metaplex-agent-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| THREE_MINT | No | $THREE mint address. Only to track an updated canonical contract. | |
| THREE_FREE_AT | No | $THREE balance that waives the deploy fee. | 250000 |
| THREE_WS_BASE | No | Host for the deployments feed and the $THREE ledger. | https://three.ws |
| DEPLOY_FEE_SOL | No | Mainnet deploy fee, in SOL. | 0.02 |
| SOLANA_RPC_URL | No | HTTPS RPC endpoint. Defaults to the public endpoint; bring your own for production traffic. | |
| REQUIRE_CONFIRM | No | Gate spends behind confirm: true. Set REQUIRE_CONFIRM=false to opt out. | true |
| DEPLOY_FEE_WALLET | No | Where the deploy fee is paid. Defaults to the three.ws buyback wallet. | |
| SOLANA_SECRET_KEY | No | Base58 secret key or JSON byte array for the minting wallet. | |
| DEPLOY_FEE_ENABLED | No | Set false to build a fork that charges nothing. | true |
| THREE_HALF_PRICE_AT | No | $THREE balance that halves the deploy fee. | 50000 |
| METAPLEX_AGENT_NETWORK | No | Default 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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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 |
| 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 |
| 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 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 11 tools
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.
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.
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.
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.