Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

docs(metaplex-mcp): spell out the deploy fee in the mint tool descriptions

nirholas69bf395eab59
diff --git a/packages/metaplex-agent-mcp/src/tools/mint-onchain-agent.js b/packages/metaplex-agent-mcp/src/tools/mint-onchain-agent.js
index 7496e0601..9af1425c2 100644
--- a/packages/metaplex-agent-mcp/src/tools/mint-onchain-agent.js
+++ b/packages/metaplex-agent-mcp/src/tools/mint-onchain-agent.js
@@ -45,9 +45,11 @@ export const def = {
'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. Without confirm:true it ' +
- 'returns a full preview (both JSON documents, the paying wallet, the cost) and broadcasts NOTHING. ' +
- 'For Phantom/Solflare users, use prepare_agent_mint instead.',
+ '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. For Phantom/Solflare users, use prepare_agent_mint.',
inputSchema: {
...mintShape,
secret: z.string().optional().describe('Per-call signing key (base58 secret key or JSON byte array). Overrides SOLANA_SECRET_KEY.'),
diff --git a/packages/metaplex-agent-mcp/src/tools/prepare-agent-mint.js b/packages/metaplex-agent-mcp/src/tools/prepare-agent-mint.js
index 3cefaac40..72e97fed5 100644
--- a/packages/metaplex-agent-mcp/src/tools/prepare-agent-mint.js
+++ b/packages/metaplex-agent-mcp/src/tools/prepare-agent-mint.js
@@ -30,7 +30,9 @@ export const def = {
'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. Broadcasts nothing itself. The blockhash expires after roughly a minute, so sign ' +
+ '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.',
inputSchema: {
...mintShape,