gasrescue for LangChain
io.github.gasrescue/gasrescue
Rescue USDC, USDT and USDG from wallets with no gas: send or swap them on EVM, Solana and Tron.
client:LangChain
transport:stdio
runtime:npm
Install gasrescue in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"gasrescue": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "gasrescue-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs