Skip to main content
Glama
kukapay

crypto-pegmon-mcp

get_supported_stablecoins

Retrieve a Markdown-formatted table of USD-pegged stablecoins, including their symbols and descriptions, to simplify tracking and analysis.

Instructions

Fetch the list of supported USD-pegged stablecoins with their symbols and descriptions.

Returns:
    str: A Markdown-formatted table listing stablecoin symbols and their descriptions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • main.py:87-103 (handler)
    The handler function decorated with @mcp.tool(), implementing the logic to return a Markdown table of supported USD-pegged stablecoins using pandas and the STABLECOINS dictionary.
    @mcp.tool()
    def get_supported_stablecoins() -> str:
        """
        Fetch the list of supported USD-pegged stablecoins with their symbols and descriptions.
    
        Returns:
            str: A Markdown-formatted table listing stablecoin symbols and their descriptions.
        """
        # Create DataFrame for stablecoins and descriptions
        df = pd.DataFrame([
            {"Symbol": coin.upper(), "Description": STABLECOINS[coin]["description"]}
            for coin in STABLECOINS.keys()
        ])
        
        # Convert to Markdown table
        markdown_table = df.to_markdown(index=False)
        return f"**Supported USD-Pegged Stablecoins**:\n\n{markdown_table}"
  • main.py:15-84 (helper)
    Global dictionary defining all supported stablecoins with CoinGecko IDs and descriptions, directly used by the get_supported_stablecoins handler.
    STABLECOINS = {
        "usdt": {
            "id": "tether",
            "description": "Tether's USD-pegged stablecoin, centrally issued."
        },
        "usdc": {
            "id": "usd-coin",
            "description": "Circle's USD-backed stablecoin, widely used in DeFi."
        },
        "dai": {
            "id": "dai",
            "description": "Decentralized stablecoin by MakerDAO, collateralized by crypto."
        },
        "busd": {
            "id": "binance-usd",
            "description": "Binance's USD-pegged stablecoin, centrally managed."
        },
        "tusd": {
            "id": "true-usd",
            "description": "TrueUSD, a USD-backed stablecoin by TrustToken."
        },
        "frax": {
            "id": "frax",
            "description": "Fractional-algorithmic USD stablecoin by Frax Finance."
        },
        "usdd": {
            "id": "usdd",
            "description": "TRON's USD-pegged stablecoin, centrally issued."
        },
        "usds": {
            "id": "usds",
            "description": "USD-pegged stablecoin, focused on stability."
        },
        "susds": {
            "id": "susds",
            "description": "Staked USDS, yield-bearing stablecoin."
        },
        "eusde": {
            "id": "ethena-staked-usde",
            "description": "Ethena's staked USD stablecoin, yield-bearing."
        },
        "usdy": {
            "id": "ondo-us-dollar-yield",
            "description": "Ondo's USD yield stablecoin, designed for returns."
        },
        "pyusd": {
            "id": "paypal-usd",
            "description": "PayPal's USD-pegged stablecoin for payments."
        },
        "gusd": {
            "id": "gemini-dollar",
            "description": "Gemini Dollar, USD-backed by Gemini Trust."
        },
        "usdp": {
            "id": "paxos-standard",
            "description": "Paxos Standard, a regulated USD stablecoin."
        },
        "aave-usdc": {
            "id": "aave-usdc",
            "description": "Aave's USD-pegged stablecoin for lending."
        },
        "curve-usd": {
            "id": "curve-usd",
            "description": "Curve Finance's USD stablecoin for DeFi pools."
        },
        "mim": {
            "id": "magic-internet-money",
            "description": "Magic Internet Money, a decentralized USD stablecoin."
        }
    }
  • main.py:87-87 (registration)
    The @mcp.tool() decorator registers the get_supported_stablecoins function as an MCP tool.
    @mcp.tool()
Install Server

Other Tools

Related Tools

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/kukapay/crypto-pegmon-mcp'

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