Skip to content
LangChain

GUM Trading CLI & MCP for LangChain

io.github.jupnet/gum-cli

Trade spot tokens, tokenized stocks, and up to 50x perps across chains on GUM by Jupiter.

client:LangChain transport:stdio runtime:npm

Install GUM Trading CLI & MCP in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "gum-cli": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@gumag/cli"],
        }
})

tools = await client.get_tools()

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

GUM Trading CLI & MCP in other clients