mcp
v0.1.1Launch and trade BSC tokens on Market Mayhem.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_settings
The live network, contracts, fees and pair currencies Market Mayhem uses. Read this first.
new_launches
Tokens launched on Market Mayhem, newest first. Pass `after` (a block from the previous answer's `next`) to get only what launched since.
| Parameter | Type | Description |
|---|---|---|
after | integer | |
limit | integer |
get_token
One token: its symbol, name, pool, fee tier, pair currency and creator. Use quote for a price.
| Parameter | Type | Description |
|---|---|---|
token * | string |
quote
What a buy or a sell would get right now, with the price impact and the site fee. Sends nothing.
| Parameter | Type | Description |
|---|---|---|
amount * | string | buy: the pair currency to spend; sell: whole tokens to sell |
side * | string | |
token * | string | |
slippageBps | integer |
buy
Buy a token with its pair currency (BNB for most). DRY RUN unless the owner set MM_LIVE=1; always within the owner's caps and allowlist.
| Parameter | Type | Description |
|---|---|---|
amount * | string | how much of the pair currency to spend |
token * | string | |
referrer | ||
slippageBps | integer |
sell
Sell a token for its pair currency. Give `amount` (whole tokens) or `percent` of what the wallet holds. DRY RUN unless MM_LIVE=1.
| Parameter | Type | Description |
|---|---|---|
token * | string | |
amount | string | |
percent | number | |
slippageBps | integer |
launch_token
Launch a new token on Market Mayhem (a PancakeSwap V3 pool, liquidity locked for ever). Optional first buy in the same transaction, split across up to 8 wallets (e.g. the dead address to burn). DRY RUN unless MM_LIVE=1.
| Parameter | Type | Description |
|---|---|---|
marketCapUsd * | string | the opening market cap in dollars |
name * | string | |
symbol * | string | |
burnPct | number | share of the creator royalty that buys back and burns the token, for ever (100 = all) |
description | string | |
firstBuy | string | a first buy in the pair currency, in the launch transaction |
firstBuyTo | array | |
image | string | an https:// link to the logo |
pair | string | "BNB" (default) or a pair-currency symbol or address |
telegram | string | |
website | string | |
x | string |
tx_status
Where a transaction is: pending, mined, or indexed (visible on the site and in the API).
| Parameter | Type | Description |
|---|---|---|
hash * | string |
my_referral_earnings
What a wallet has earned as a referrer: paid inside trades, and the lifetime weekly share. Defaults to the agent's wallet.
| Parameter | Type | Description |
|---|---|---|
address | string |
referral_link
A referral link for a wallet: anyone who trades through it pays that wallet a share of the fee, for life. Defaults to the agent's wallet.
| Parameter | Type | Description |
|---|---|---|
address | string | |
path | string | a page on the site, e.g. /t/<token> |