Metaplex Agent Registry

v0.2.1
io.github.nirholas/metaplex-agent Checked 1 hour ago Published 1 month ago

Deploy AI agents on-chain on Solana with an EIP-8004 identity.

Values you need

VariableWhat it is
SOLANA_SECRET_KEYoptional secret Base58 secret key (or JSON byte array) for the minting wallet. Optional: read tools and the Phantom/Solflare prepare/send flow work without it.
SOLANA_RPC_URLoptional HTTPS Solana RPC endpoint. Defaults to the public endpoint for the configured network; bring your own (Helius / Quicknode / Triton) for production.
METAPLEX_AGENT_NETWORKoptional Default cluster: mainnet or devnet. Defaults to mainnet; every tool also takes a per-call network. Default: mainnet
REQUIRE_CONFIRMoptional Refuse to broadcast a mint or registration until the call is re-issued with confirm=true. Default true. Default: true
DEPLOY_FEE_SOLoptional Mainnet deploy fee, in SOL, paid to DEPLOY_FEE_WALLET in the same transaction as the mint. Default 0.02. Default: 0.02
DEPLOY_FEE_WALLEToptional Wallet the deploy fee is paid to. Defaults to the three.ws $THREE buyback wallet; override only when self-hosting a fork.
DEPLOY_FEE_ENABLEDoptional Set false to build a fork that charges no deploy fee. Default true. Default: true
THREE_HALF_PRICE_AToptional $THREE balance in the paying wallet that halves the deploy fee. Default 50000. Default: 50000
THREE_FREE_AToptional $THREE balance in the paying wallet that waives the deploy fee entirely. Default 250000. Default: 250000

npm (npx) verified

Requires Node.js 18+

Run in a terminal
claude mcp add metaplex-agent -- npx -y @three-ws/metaplex-agent-mcp@0.2.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "metaplex-agent": {
      "args": [
        "-y",
        "@three-ws/metaplex-agent-mcp@0.2.1"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "metaplex-agent": {
      "args": [
        "-y",
        "@three-ws/metaplex-agent-mcp@0.2.1"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "metaplex-agent": {
      "args": [
        "-y",
        "@three-ws/metaplex-agent-mcp@0.2.1"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.metaplex-agent]
command = "npx"
args = ["-y", "@three-ws/metaplex-agent-mcp@0.2.1"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: mint_onchain_agent, prepare_agent_mint, send_signed_transaction, register_agent_identity, get_onchain_agent, agent_wallet, build_registration, list_onchain_agents, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json