token operations for LangChain
dev.xroot/token-operations
Read-only Solana and Robinhood Chain tools: wallet recovery, token safety, unlocks, upgrades, fees.
client:LangChain
transport:streamable-http
tools:18
Install token operations in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"token-operations": {
"transport": "streamable_http",
"url": "https://api.xroot.dev/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs
What LangChain can do once it is connected
- check_wallet
- check_reclaimable_rent
- check_wrapped_sol
- check_token_delegates
- check_failed_deploys
- check_closable_programs
- check_lookup_tables
- check_lp_fees
- check_dlmm_positions
- check_subscriptions
- check_token_tax
- check_frozen_tokens
- audit_token
- check_token_unlocks
- search_tokens
- list_upgrades
- check_approvals
- get_fee_estimate