FlashBank for LangChain
io.github.rotwang9000/flashbank
Fixed-fee P2P term loans (no oracles) and flash loans on Ethereum, Base, Arbitrum and Sepolia.
client:LangChain
transport:stdio
runtime:npm
Install FlashBank in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"flashbank": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@flashbank/mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs