Metaplex Agent Registry for LangChain
io.github.nirholas/metaplex-agent
Deploy AI agents on-chain on Solana with an EIP-8004 identity. Deploy fee funds $THREE buybacks.
client:LangChain
transport:stdio
runtime:npm
Install Metaplex Agent Registry in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"metaplex-agent": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@three-ws/metaplex-agent-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs