Skip to main content
Glama
sand0vvv

mayan-mcp

by sand0vvv

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MAYAN_API_KEYNoLifts Mayan's per-IP rate limit. Request one from support@mayan.finance.
SOLANA_RPC_URLNoSolana RPC endpoint for building Solana-source swaps. Without it the server falls back to the public mainnet endpoint, which throttles hard.
MAYAN_MCP_DEBUGNoSet to '1' for verbose logging on stderr.
MAYAN_MAX_RETRIESNoMaximum number of retries. Retries are full-jitter backoff, reads only.3
MAYAN_REFERRER_EVMNoAttaches a fee-split referrer to quotes for EVM chains.
MAYAN_RPC_URL_BASENoPer-chain EVM endpoint, e.g., MAYAN_RPC_URL_BASE. The variable name is MAYAN_RPC_URL_<CHAIN> where <CHAIN> is a supported chain name (ethereum, base, arbitrum, optimism, polygon, bsc, avalanche).
MAYAN_HTTP_TIMEOUT_MSNoHTTP timeout in milliseconds.30000
MAYAN_REFERRER_SOLANANoAttaches a fee-split referrer to quotes for Solana.
MAYAN_TOKEN_CACHE_TTL_MSNoToken cache TTL in milliseconds.600000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_quoteA

Quote a cross-chain swap through Mayan Finance. Returns every available route with the expected output, the guaranteed minimum after slippage, fees and ETA. Read-only: this builds nothing and moves nothing.

build_swapA

Build the transaction for a Mayan cross-chain swap and return it UNSIGNED. This server holds no private keys and cannot sign or broadcast — the caller signs with their own wallet. Quote terms (minimum received, slippage, route, ETA) are returned alongside the payload so the signer can see what they are approving. EVM sources also return the ERC20 approval that must be sent first.

list_tokensA

List the tokens Mayan can route on a given chain, with their addresses and decimals. Use this to find an exact token address when a symbol is ambiguous. Read-only.

track_orderA

Look up the status of a Mayan swap by its source-chain transaction hash. Read-only.

list_chainsA

List the chains this server can quote and build for, with their EVM chain ids and native token sentinels. Local — makes no network call.

estimate_gasA

Estimate the gas cost of an unsigned EVM transaction produced by build_swap. Read-only: nothing is signed or sent.

check_allowanceA

Read how much of an ERC20 token the Mayan forwarder is currently allowed to spend on someone's behalf, and whether that covers a swap. Read-only: performs an eth_call and nothing else. Requires MAYAN_RPC_URL_ to be configured for the chain.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/sand0vvv/mayan-mcp'

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