GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
Deploy AI agents on-chain on Solana with an EIP-8004 identity. Deploy fee funds $THREE buybacks.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
SOLANA_SECRET_KEY, SOLANA_RPC_URL, METAPLEX_AGENT_NETWORK, REQUIRE_CONFIRM, DEPLOY_FEE_SOL, DEPLOY_FEE_WALLET, DEPLOY_FEE_ENABLED, THREE_HALF_PRICE_AT, THREE_FREE_AT标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"metaplex-agent": {
"command": "npx",
"args": [
"-y",
"@three-ws/metaplex-agent-mcp"
],
"env": {
"SOLANA_SECRET_KEY": "your-value",
"SOLANA_RPC_URL": "your-value",
"METAPLEX_AGENT_NETWORK": "your-value",
"REQUIRE_CONFIRM": "your-value",
"DEPLOY_FEE_SOL": "your-value",
"DEPLOY_FEE_WALLET": "your-value",
"DEPLOY_FEE_ENABLED": "your-value",
"THREE_HALF_PRICE_AT": "your-value",
"THREE_FREE_AT": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add metaplex-agent --env SOLANA_SECRET_KEY=your-value --env SOLANA_RPC_URL=your-value --env METAPLEX_AGENT_NETWORK=your-value --env REQUIRE_CONFIRM=your-value --env DEPLOY_FEE_SOL=your-value --env DEPLOY_FEE_WALLET=your-value --env DEPLOY_FEE_ENABLED=your-value --env THREE_HALF_PRICE_AT=your-value --env THREE_FREE_AT=your-value -- npx -y @three-ws/metaplex-agent-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"metaplex-agent": {
"command": "npx",
"args": [
"-y",
"@three-ws/metaplex-agent-mcp"
],
"env": {
"SOLANA_SECRET_KEY": "your-value",
"SOLANA_RPC_URL": "your-value",
"METAPLEX_AGENT_NETWORK": "your-value",
"REQUIRE_CONFIRM": "your-value",
"DEPLOY_FEE_SOL": "your-value",
"DEPLOY_FEE_WALLET": "your-value",
"DEPLOY_FEE_ENABLED": "your-value",
"THREE_HALF_PRICE_AT": "your-value",
"THREE_FREE_AT": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"metaplex-agent": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@three-ws/metaplex-agent-mcp"
],
"env": {
"SOLANA_SECRET_KEY": "your-value",
"SOLANA_RPC_URL": "your-value",
"METAPLEX_AGENT_NETWORK": "your-value",
"REQUIRE_CONFIRM": "your-value",
"DEPLOY_FEE_SOL": "your-value",
"DEPLOY_FEE_WALLET": "your-value",
"DEPLOY_FEE_ENABLED": "your-value",
"THREE_HALF_PRICE_AT": "your-value",
"THREE_FREE_AT": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
SOLANA_RPC_URL envMETAPLEX_AGENT_NETWORK envREQUIRE_CONFIRM envDEPLOY_FEE_SOL envDEPLOY_FEE_WALLET envDEPLOY_FEE_ENABLED envTHREE_HALF_PRICE_AT envTHREE_FREE_AT env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 nirholas 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:SOLANA_SECRET_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.2.1)于27天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Deploy AI agents on-chain into the [Metaplex Agent Registry](https://www.metaplex.com/agents) 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:
data:application/json;base64 URI (name, image, animation_url GLB)eip-8004#registration-v1 document (model.uri, active, x402Support, registrations, supportedTrust)Two signing lanes, both self-custodial:
SOLANA_SECRET_KEY): mint_onchain_agent.prepare_agent_mint builds the transaction, the wallet signs it, send_signed_transaction broadcasts 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](https://three.ws/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.
npm install -g @three-ws/metaplex-agent-mcp
npx -y @three-ws/metaplex-agent-mcp
Claude Code:
claude mcp add metaplex-agent -e SOLANA_SECRET_KEY=<base58> -- npx -y @three-ws/metaplex-agent-mcp
Cursor / any MCP client (mcp.json):
{
"mcpServers": { "metaplex-agent": { "command": "npx", "args": ["-y", "@three-ws/metaplex-agent-mcp"], "env": { "SOLANA_SECRET_KEY": " " } } } }
SOLANA_SECRET_KEY is optional: every read tool and the whole Phantom/Solflare flow works without it.
Rehearse on devnet for free, then go to mainnet:
1. agent_wallet {} → confirm the signer is funded
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.
| Tool | What it does |
|---|---|
mint_onchain_agent | Mint + register, signed by your key (atomic when it fits, auto-split otherwise). confirm:true gates the spend; anything else returns a full preview. |
prepare_agent_mint | The same mint, built for an external wallet (wallet param) to sign. Returns txs_base64, already co-signed by the new asset keypair; sign with signTransaction / signAllTransactions. |
send_signed_transaction | Broadcast wallet-signed transactions in order, polling each to confirmation and absorbing the create/register propagation race. |
register_agent_identity | Enrol an already-minted Core asset in the Agent Registry (idempotent; the signer must be the asset authority). |
get_onchain_agent | Read any registered agent: asset, plugins, decoded metadata + registration documents, identity PDA, built-in wallet + balance. |
agent_wallet | An asset's built-in wallet (mpl-core Asset Signer PDA), any address, or the configured signer, with live SOL balance. |
build_registration | The EIP-8004 registration JSON + data: URI, fully offline. |
list_onchain_agents | Latest registrations from the live three.ws /api/deployments feed (Solana by default, all_chains:true for EVM ERC-8004 too). |
three_status | Prices your next deploy: fee schedule, a wallet's live $THREE balance and tier, and the public buyback ledger. |
A mainnet deploy carries a flat 0.02 SOL fee. Three things about it matter:
mint_onchain_agent preview and every prepare_agent_mint response returns deploy_fee_sol and deploy_fee_to, with the tier that produced them.FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump is 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:
| $THREE in the paying wallet | Deploy fee |
|---|---|
| under 50,000 | 0.02 SOL |
| 50,000 or more | 0.01 SOL |
| 250,000 or more | 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.
three_status {} → what your next deploy costs and why
three_status { wallet: " " } → price it for someone else's wallet
Self-hosting a fork with different economics is DEPLOY_FEE_SOL, DEPLOY_FEE_WALLET, and DEPLOY_FEE_ENABLED.
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.
mint_onchain_agent and register_agent_identity broadcast only with confirm: true (set REQUIRE_CONFIRM=false to opt out); previews cost nothing.SOLANA_SECRET_KEY or a per-call secret, never a custodial wallet. The wallet lane needs no key at all.| Variable | Default | Meaning |
|---|---|---|
SOLANA_SECRET_KEY | unset | Base58 secret key or JSON byte array for the minting wallet. |
SOLANA_RPC_URL | public endpoint | HTTPS RPC. Bring your own for production traffic. |
METAPLEX_AGENT_NETWORK | mainnet | Default cluster (mainnet or devnet); every tool takes a per-call network too. |
REQUIRE_CONFIRM | true | Gate spends behind confirm: true. |
THREE_WS_BASE | https://three.ws | Host for the deployments feed and the $THREE ledger. |
DEPLOY_FEE_SOL | 0.02 | Mainnet deploy fee, in SOL. |
DEPLOY_FEE_WALLET | three.ws buyback wallet | Where the deploy fee is paid. |
DEPLOY_FEE_ENABLED | true | Set false to build a fork that charges nothing. |
THREE_HALF_PRICE_AT / THREE_FREE_AT | 50000 / 250000 | $THREE balances that halve, then waive, the fee. |
THREE_MINT | $THREE mint | Only to track an updated canonical contract. |
The builders are exported for direct embedding (web apps, scripts):
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, { network: 'devnet', creator: umi.identity.publicKey.toString(), name: 'Astra', description: 'An autonomous 3D agent', image: 'https://example.com/astra.png', modelUrl: 'https://example.com/astra.glb', x402Support: true, }); 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. 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.