We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tistaharahap/binance-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
client.py•396 B
from functools import lru_cache
from binance.client import Client
from binance_mcp.settings import mcp_settings
@lru_cache(1)
def get_binance_client() -> Client:
"""
Create and return a Binance client instance.
Returns:
Client: An instance of the Binance client.
"""
return Client(api_key=mcp_settings.binance_api_key, api_secret=mcp_settings.binance_api_secret)