Skip to main content
Glama
market_info.py724 B
# commands/market_info.py from mcp.server.fastmcp import FastMCP from binance_mcp_server import binance_api def register_market_info_commands(mcp: FastMCP): """Register MCP commands for exchange information and metadata.""" @mcp.tool() def get_exchange_info() -> dict: """Get Binance exchange information, including supported symbols and trading rules.""" return binance_api.get_exchange_info() @mcp.tool() def get_trading_fees() -> dict: """Get the current trading fee rates (maker/taker) on Binance. Note: This uses default public fee rates. Actual user-specific fees would require API keys. """ return binance_api.get_trading_fees()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tienan92it/binance-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server