Skip to main content
Glama
nirholas

@three-ws/metaplex-agent-mcp

by nirholas

@three-ws/metaplex-agent-mcp

모든 MCP 클라이언트에서 Solana의 Metaplex Agent Registry 에 AI 에이전트를 온체인으로 배포하세요.

하나의 흐름이 Metaplex Core 자산을 발행하고 EIP-8004 에이전트 신원을 등록합니다(Solana의 1232바이트 제한에 맞으면 단일 원자 트랜잭션, 그렇지 않으면 생성 + 등록을 순차적으로 수행하며, 이는 Genesis 333이 배포된 방식과 정확히 동일합니다). 따라서 에이전트는 자체 내장 지갑, 평판 표면, 탐색기 페이지와 함께 metaplex.com/agents에 표시됩니다. 기본 출력은 three.ws Genesis 333 발행의 정확한 형태를 재현하며, 라이브 자산과 바이트 단위로 검증됩니다:

  • 자체 포함된 data:application/json;base64 URI(name, image, animation_url GLB) 형태의 자산 메타데이터

  • Royalties 플러그인(소유자에게 5%), VerifiedCreators(서명 지갑), ImmutableMetadata

  • eip-8004#registration-v1 문서(model.uri, active, x402Support, registrations, supportedTrust)를 담은 AgentIdentity 플러그인

두 가지 서명 경로, 모두 자가 보관 방식:

  • 에이전트는 자체 키페어(SOLANA_SECRET_KEY)로 서명합니다: mint_onchain_agent.

  • 사람은 Phantom, Solflare, Backpack, Ledger 또는 모든 Solana 지갑으로 서명합니다: prepare_agent_mint가 트랜잭션을 구성하고, 지갑이 서명하며, send_signed_transaction이 브로드캐스트합니다. 어떤 키도 서버에 닿지 않습니다.

아무것도 모의가 아닙니다: 실제 Metaplex 프로그램, 실제 Solana, 그리고 무료 엔드투엔드 리허설을 위한 devnet 지원.

설치

npm install -g @three-ws/metaplex-agent-mcp
# or run ad hoc
npx -y @three-ws/metaplex-agent-mcp

Related MCP server: AgentWallet MCP Server

설정

Claude Code:

claude mcp add metaplex-agent -e SOLANA_SECRET_KEY=<base58> -- npx -y @three-ws/metaplex-agent-mcp

Cursor / 모든 MCP 클라이언트(mcp.json):

{
	"mcpServers": {
		"metaplex-agent": {
			"command": "npx",
			"args": ["-y", "@three-ws/metaplex-agent-mcp"],
			"env": { "SOLANA_SECRET_KEY": "<base58 secret key>" }
		}
	}
}

SOLANA_SECRET_KEY는 선택 사항입니다: 모든 읽기 도구와 Phantom/Solflare 흐름 전체가 이 키 없이 작동합니다.

빠른 시작

devnet에서 무료로 리허설한 후 mainnet으로 이동하세요:

1. agent_wallet {}                                → confirm the signer is funded
2. mint_onchain_agent { name: "Astra", description: "…",
     image: "https://…png", model_url: "https://…glb",
     x402_support: true, network: "devnet" }      → preview (nothing broadcast)
3. …same call with confirm: true                  → minted + registered, links returned
4. get_onchain_agent { asset: "<returned asset>", network: "devnet" }

발행 비용은 mainnet에서 ~0.007 SOL입니다(Core 임대료 + 신원 PDA 임대료 + 수수료).

도구

도구

기능

mint_onchain_agent

발행 + 등록, 키로 서명(맞으면 원자적, 그렇지 않으면 자동 분할). confirm:true가 지출을 제어하며, 그 외에는 전체 미리보기를 반환합니다.

prepare_agent_mint

외부 지갑(wallet 매개변수)이 서명하도록 구성된 동일한 발행. 새 자산 키페어로 이미 공동 서명된 txs_base64를 반환하며, signTransaction / signAllTransactions로 서명하세요.

send_signed_transaction

지갑 서명 트랜잭션을 순서대로 브로드캐스트하고, 각각을 확인까지 폴링하며 생성/등록 전파 경쟁을 흡수합니다.

register_agent_identity

이미 발행된 Core 자산을 Agent Registry에 등록합니다(멱등적이며, 서명자는 자산 권한자여야 합니다).

get_onchain_agent

등록된 모든 에이전트 읽기: 자산, 플러그인, 디코딩된 메타데이터 + 등록 문서, 신원 PDA, 내장 지갑 + 잔액.

agent_wallet

자산의 내장 지갑(mpl-core Asset Signer PDA), 모든 주소 또는 구성된 서명자, 실시간 SOL 잔액 포함.

build_registration

EIP-8004 등록 JSON + data: URI, 완전히 오프라인.

list_onchain_agents

라이브 three.ws /api/deployments 피드의 최신 등록(Solana 기본, all_chains:true로 EVM ERC-8004도 포함).

사용자 지정

발행이 다루는 모든 필드는 매개변수입니다: 소유자, 컬렉션, 로열티 기준 포인트 및 분할, 검증된 크리에이터, 불변 메타데이터, 온체인 Attributes, 영구 동결/전송/소각 위임, AddBlocker, 오프체인 메타데이터 속성, external_url, 서비스, 신뢰 모델, 등록 항목, 그리고 직접 호스팅하는 문서에 대한 전체 metadata_uri / registration_uri 재정의. 기본값은 Genesis 333 값이므로 name, description, image, model_url만으로 호출하면 원본과 형태가 구분되지 않는 자산이 생성됩니다.

안전

  • mint_onchain_agentregister_agent_identity오직 confirm: true로만 브로드캐스트합니다(REQUIRE_CONFIRM=false로 옵트아웃 가능); 미리보기는 비용이 들지 않습니다.

  • 키는 사용자 소유로 유지됩니다: SOLANA_SECRET_KEY 또는 호출별 secret, 절대 수탁 지갑이 아닙니다. 지갑 경로는 키가 전혀 필요 없습니다.

  • 지출 전에 잔액을 확인하고, RPC 엔드포인트는 HTTPS여야 하며, devnet은 리허설을 위한 일급 대상입니다.

환경 변수

변수

기본값

의미

SOLANA_SECRET_KEY

설정 안 됨

발행 지갑의 Base58 비밀 키 또는 JSON 바이트 배열.

SOLANA_RPC_URL

공개 엔드포인트

HTTPS RPC. 프로덕션 트래픽에는 자체 RPC를 사용하세요.

METAPLEX_AGENT_NETWORK

mainnet

기본 클러스터(mainnet 또는 devnet); 모든 도구는 호출별 network도 지원합니다.

REQUIRE_CONFIRM

true

지출을 confirm: true 뒤에 게이트합니다.

THREE_WS_BASE

https://three.ws

배포 피드의 호스트.

라이브러리 사용

빌더는 직접 임베딩(웹 앱, 스크립트)을 위해 내보내집니다:

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 });

등록 및 메타데이터 빌더는 @three-ws/metaplex-agent-mcp/lib/registration에서 독립적으로 가져올 수 있으며(의존성 없음, 브라우저 안전), 트랜잭션 빌더는 @three-ws/metaplex-agent-mcp/lib/mint에서 가져올 수 있습니다. three.ws /deploy-onchain 페이지는 정확히 이 빌더들로 실행됩니다.

요구 사항

  • Node 20+

  • 발행을 위한 대상 네트워크의 SOL(mainnet에서 에이전트당 ~0.007 SOL; devnet은 faucet을 통해 무료)

링크

이 저장소 정보

이것은 @three-ws/metaplex-agent-mcp의 독립형 홈입니다. 개발은 three.ws 모노레포에서 이루어지며 릴리스는 여기에 미러링되므로, 이 저장소는 항상 npm 및 공식 MCP 레지스트리(io.github.nirholas/metaplex-agent)에 게시된 것과 일치합니다. 이슈와 PR은 두 곳 모두에서 환영합니다.

Install Server
F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Provides permissionless wallet infrastructure for AI agents to manage wallets, sign transactions, and handle tokens across Solana and all EVM-compatible chains. It includes 29 specialized tools for on-chain operations, featuring built-in security guards and automated x402 payment processing without KYC requirements.
    29
    334
    3
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI agents to read chain data, execute transactions, swap tokens, and manage wallets on Solana through 38 tools across 7 modules. Supports write operations with a private key and includes built-in prompts for common workflows.
    38
    1
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nirholas/metaplex-agent-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server