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(mcp): correct the metaplex-agent library example for the adaptive mint result

nirholase7d7b0b36dfd
diff --git a/packages/metaplex-agent-mcp/README.md b/packages/metaplex-agent-mcp/README.md
index 5e51f6be7..1d4cd616f 100644
--- a/packages/metaplex-agent-mcp/README.md
+++ b/packages/metaplex-agent-mcp/README.md
@@ -100,7 +100,7 @@ Every field the mint touches is a parameter: owner, collection, royalty basis po
The builders are exported for direct embedding (web apps, scripts):
```js
-import { buildAgentMint, buildUmi } from '@three-ws/metaplex-agent-mcp/lib';
+import { buildAgentMint, sendAgentMint, buildUmi, toBase58Signature } from '@three-ws/metaplex-agent-mcp/lib';
const umi = buildUmi({ network: 'devnet', secret: process.env.SOLANA_SECRET_KEY });
const mint = buildAgentMint(umi, {
@@ -112,9 +112,11 @@ const mint = buildAgentMint(umi, {
modelUrl: 'https://example.com/astra.glb',
x402Support: true,
});
-await mint.builder.sendAndConfirm(umi);
+const { signatures, atomic } = await sendAgentMint(umi, mint, { toBase58Signature });
```
+The registration and metadata builders are also importable on their own (dependency-free, browser-safe) from `@three-ws/metaplex-agent-mcp/lib/registration`, and the transaction builders from `@three-ws/metaplex-agent-mcp/lib/mint`. The three.ws `/deploy-onchain` page runs on exactly these.
+
## Requirements
- Node 20+