Metaplex Agent Registry
io.github.nirholas由 GitHub 帳號 nirholas 發布v0.2.1更新於 Oct 27, 2026
Deploy AI agents on-chain on Solana with an EIP-8004 identity. Deploy fee funds $THREE buybacks.
概覽
在 Solana 上把 AI 代理鑄造並註冊到 Metaplex Agent Registry,附帶 EIP-8004 身分,可從任何 MCP 用戶端呼叫。
- 可以做什麼
- 鑄造與註冊代理:鑄造 Metaplex Core 資產及其 EIP-8004 身分,可用本機金鑰簽署,或產生交易交由外部錢包簽署後廣播。
- 登記既有資產:把已鑄造的 Core 資產註冊進 Agent Registry。
- 讀取代理:查詢已註冊資產的外掛、解碼後的中繼資料與註冊文件、身分 PDA 及內建錢包餘額。
- 查詢錢包:查看資產的內建錢包或已設定簽署者的位址與即時 SOL 餘額。
- 產生文件與列出部署:離線產生 EIP-8004 註冊 JSON,並從 three.ws 資料來源列出最新註冊紀錄。
- 估算費用:顯示費用規則、某錢包的 $THREE 餘額與等級,以及公開的回購帳本。
- 適用情境
- 適合讓助理在 Solana 上發布帶 Metaplex Core 資產與 EIP-8004 身分的 AI 代理,或檢視、估算既有的註冊項目。支援 devnet,可在主網部署前免費完整演練。
- 執行需求
- 透過 npx 在本機執行,需要 Node 20+。鑄造需要目標網路上的 SOL(主網每個代理約 0.027 SOL,持有者減免後約 0.007;devnet 免費)。金鑰簽署方式可選填 SOLANA_SECRET_KEY,外部錢包方式不需金鑰。SOLANA_RPC_URL 預設使用公用端點,且必須為 HTTPS。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Metaplex Agent Registry,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@three-ws/metaplex-agent-mcp
Deploy AI agents on-chain into the Metaplex Agent Registry on Solana, from any MCP client.
One flow mints a Metaplex Core asset and registers its EIP-8004 agent identity (a single atomic transaction when it fits Solana's 1232-byte limit, create + register in sequence otherwise, exactly how the Genesis 333 landed), so the agent shows up on metaplex.com/agents with its own built-in wallet, reputation surface, and explorer pages. The default output reproduces the exact shape of the three.ws Genesis 333 mints, verified byte-for-byte against the live assets:
- asset metadata as a self-contained
data:application/json;base64URI (name,image,animation_urlGLB) - Royalties plugin (5% to the owner), VerifiedCreators (the signing wallet), ImmutableMetadata
- AgentIdentity plugin carrying the
eip-8004#registration-v1document (model.uri,active,x402Support,registrations,supportedTrust)
Two signing lanes, both self-custodial:
- Agents sign with their own keypair (
SOLANA_SECRET_KEY):mint_onchain_agent. - People sign with Phantom, Solflare, Backpack, Ledger, or any Solana wallet:
prepare_agent_mintbuilds the transaction, the wallet signs it,send_signed_transactionbroadcasts it. No key ever touches the server.
A mainnet deploy pays a flat 0.02 SOL fee, in the same transaction as the mint, and that fee funds $THREE buybacks. Hold $THREE and it halves, then disappears; devnet never pays it. Every preview shows the number and its recipient before anything is signed. See $THREE: the deploy fee and the holder waiver.
Nothing is mocked: real Metaplex programs, real Solana, and devnet support for free end-to-end rehearsal.
Install
Setup
Claude Code:
Cursor / any MCP client (mcp.json):
SOLANA_SECRET_KEY is optional: every read tool and the whole Phantom/Solflare flow works without it.
Quick start
Rehearse on devnet for free, then go to mainnet:
A mainnet deploy costs ~0.027 SOL: ~0.007 in Core rent, identity PDA rent, and network fees, plus a flat 0.02 SOL deploy fee that funds $THREE buybacks. Holding $THREE halves that fee and then waives it, and devnet is free. See $THREE.
Tools
$THREE: the deploy fee and the holder waiver
A mainnet deploy carries a flat 0.02 SOL fee. Three things about it matter:
- It rides in the same transaction that creates the asset. A deploy that fails, is rejected, or expires moves no money. There is no separate payment step and nothing to reconcile.
- It is disclosed before anything is signed. Every
mint_onchain_agentpreview and everyprepare_agent_mintresponse returnsdeploy_fee_solanddeploy_fee_to, with the tier that produced them. - It funds $THREE buybacks. The fee is paid to the wallet the three.ws
$THREE buyback lane spends from
(
FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpumpis the mint), and the public ledger of what that lane has bought is at/api/three-token/stats. Deploys are the only revenue this package has.
Holding $THREE makes it cheaper, then free:
The balance is read live from the chain when the transaction is built. Nothing is staked, escrowed, locked, or spent to earn it: hold the tokens in your own wallet and keep them, and the waiver applies to every agent you deploy. Devnet always pays zero, so a full end-to-end rehearsal stays free.
Self-hosting a fork with different economics is DEPLOY_FEE_SOL, DEPLOY_FEE_WALLET, and
DEPLOY_FEE_ENABLED.
Customization
Every field the mint touches is a parameter: owner, collection, royalty basis points and splits, verified creator, immutable metadata, on-chain Attributes, permanent freeze/transfer/burn delegates, AddBlocker, off-chain metadata attributes, external_url, services, trust models, registration entries, and full metadata_uri / registration_uri overrides for documents you host yourself. The defaults are the Genesis 333 values, so calling with just name, description, image, and model_url produces an asset indistinguishable in shape from the originals.
Safety
mint_onchain_agentandregister_agent_identitybroadcast only withconfirm: true(setREQUIRE_CONFIRM=falseto opt out); previews cost nothing.- Keys stay yours:
SOLANA_SECRET_KEYor a per-callsecret, never a custodial wallet. The wallet lane needs no key at all. - Balances are checked before spending, RPC endpoints must be HTTPS, and devnet is a first-class target for rehearsal.
Environment variables
Library use
The builders are exported for direct embedding (web apps, scripts):
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. When atomic is false, combinedBuilder still holds the whole mint: compiled as a Solana transaction v1 (4,096-byte limit) it lands create + register in one atomic transaction, which is what /deploy-onchain does for any wallet that advertises v1 signing.
Requirements
- Node 20+
- SOL on the target network for minting (~0.027 SOL per agent on mainnet, or ~0.007 with the holder waiver; devnet is free via faucet)
Links
- three.ws: https://three.ws
- $THREE: https://three.ws/three
- Live deployments feed: https://three.ws/deployments
- Metaplex Agent Registry: https://www.metaplex.com/agents
- Metaplex docs: https://www.metaplex.com/docs/agents
- Source: https://github.com/nirholas/three.ws/tree/main/packages/metaplex-agent-mcp
來源:packages/metaplex-agent-mcp/README.md,提交 c8f2cde
工具
0版本歷史
2- v0.2.1最新Oct 10, 2026
- v0.2.0Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分