Skip to main content
Glama
tdnupe3

Coin Railz MCP Server

by tdnupe3

bridge_tokens

Get bridge quotes and routes for cross-chain token transfers between blockchains, including fees and estimated time.

Instructions

Get bridge quote and route for cross-chain token transfer.

Args: from_chain: Source blockchain to_chain: Destination blockchain token_address: Token to bridge amount: Amount to bridge recipient: Optional different recipient address

Returns: Bridge route, fees, and estimated time.

Price: $0.50

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
from_chainYes
to_chainYes
token_addressYes
amountYes
recipientNo

Implementation Reference

  • The implementation of the `bridge_tokens` MCP tool, which calls the `seamless-chain-bridge` service.
    @mcp.tool()
    async def bridge_tokens(
        from_chain: str,
        to_chain: str,
        token_address: str,
        amount: str,
        recipient: str = None
    ) -> str:
        """
        Get bridge quote and route for cross-chain token transfer.
        
        Args:
            from_chain: Source blockchain
            to_chain: Destination blockchain
            token_address: Token to bridge
            amount: Amount to bridge
            recipient: Optional different recipient address
        
        Returns:
            Bridge route, fees, and estimated time.
        
        Price: $0.50
        """
        payload = {
            "fromChain": from_chain,
            "toChain": to_chain,
            "tokenAddress": token_address,
            "amount": amount
        }
        if recipient:
            payload["recipient"] = recipient
        result = await call_coinrailz_service("seamless-chain-bridge", payload)
        return json.dumps(result, indent=2)

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/tdnupe3/mcp-server-coinrailz'

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