Gate MCP for LangChain
io.github.gateio-dev/gate-mcp
Public Gate market data MCP for spot, futures, margin, options, delivery, earn, and alpha.
client:LangChain
transport:streamable-http
tools:63
Install Gate MCP in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"gate-mcp": {
"transport": "streamable_http",
"url": "https://api.gatemcp.ai/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
- cex_activity_list_activity_types
- cex_alpha_list_alpha_currencies
- cex_alpha_list_alpha_tickers
- cex_alpha_list_alpha_tokens
- cex_dc_get_dc_contract
- cex_dc_list_dc_candlesticks
- cex_dc_list_dc_contracts
- cex_dc_list_dc_insurance_ledger
- cex_dc_list_dc_order_book
- cex_dc_list_dc_risk_limit_tiers
- cex_dc_list_dc_tickers
- cex_dc_list_dc_trades
- cex_earn_list_dual_investment_plans
- cex_earn_list_earn_fixed_term_products
- cex_earn_list_earn_fixed_term_products_by_asset
- cex_earn_list_uni_currencies
- cex_fx_get_fx_candlesticks
- cex_fx_get_fx_contract
- cex_fx_get_fx_funding_rate
- cex_fx_get_fx_order_book
- cex_fx_get_fx_premium_index
- cex_fx_get_fx_risk_limit_table
- cex_fx_get_fx_tickers
- cex_fx_get_fx_trades