Skip to content
LangChain

helius mcp for LangChain

io.github.mrfentmen/helius-mcp

Helius Solana API: balances, transactions, NFTs, token metadata.

client:LangChain transport:stdio runtime:npm

Install helius mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "helius-mcp": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@mrfentmen/helius-mcp"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

helius mcp in other clients