mcp
Launch and trade BSC tokens on Market Mayhem. Your own wallet signs; dry run by default; spend caps.
사용해야 할까요
품질 및 안전성
발견 사항 (4)
- HIGH
- MEDIUMprepare_launch에서
- LOWget_token에서
- LOWreferral_link에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"@marketmayhem/mcp"
]
}
}
}실행 가능한 패키지
0.1.1stdio원격 엔드포인트
https://marketmayhem.co/api/mcpstreamable-http할 수 있는 일
도구 목록
도구 (16)
⚪what_can_you_do
What this server can and cannot do, and how a trade or launch gets signed. Call this if unsure.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_settings
The live network (chainId 56 = BSC mainnet, 97 = testnet), contracts, fees and pair currencies.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪new_launches(after, limit)
Tokens launched on Market Mayhem, newest first. Pass `after` (the previous answer's `next`) for only what launched since.
입력 스키마
{
"type": "object",
"properties": {
"after": {
"type": "integer"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_token(token)
One token: symbol, name, pool, fee tier, pair currency, creator. Use quote for a price.
입력 스키마
{
"type": "object",
"properties": {
"token": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
}
},
"required": [
"token"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢quote(token, side, amount, slippageBps)
What a buy or a sale would get right now: amounts, minimum after slippage, site fee and price impact. Sends nothing.
입력 스키마
{
"type": "object",
"properties": {
"token": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"side": {
"type": "string",
"enum": [
"buy",
"sell"
]
},
"amount": {
"type": "string",
"pattern": "^\\d+(\\.\\d+)?$",
"description": "buy: pair currency to spend (e.g. BNB); sell: whole tokens"
},
"slippageBps": {
"type": "integer",
"minimum": 1,
"maximum": 5000
}
},
"required": [
"token",
"side",
"amount"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪prepare_buy(token, amount, slippageBps, referrer)
Prepare a buy for the person to sign on marketmayhem.co. Returns a link and a summary; nothing is bought until they confirm in their own wallet.
입력 스키마
{
"type": "object",
"properties": {
"token": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"amount": {
"type": "string",
"pattern": "^\\d+(\\.\\d+)?$",
"description": "how much of the pair currency to spend, e.g. \"0.1\" BNB"
},
"slippageBps": {
"type": "integer",
"minimum": 1,
"maximum": 5000
},
"referrer": {
"$ref": "#/properties/token",
"description": "a registered referrer (e.g. the app or agent that brought them) earns the referral share"
}
},
"required": [
"token",
"amount"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪prepare_sell(token, amount, percent, slippageBps, referrer)
Prepare a sale for the person to sign on marketmayhem.co: `amount` in whole tokens or `percent` of what their wallet holds. Nothing is sold until they confirm.
입력 스키마
{
"type": "object",
"properties": {
"token": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"amount": {
"type": "string",
"pattern": "^\\d+(\\.\\d+)?$"
},
"percent": {
"type": "number",
"minimum": 0.01,
"maximum": 100
},
"slippageBps": {
"type": "integer",
"minimum": 1,
"maximum": 5000
},
"referrer": {
"$ref": "#/properties/token"
}
},
"required": [
"token"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪prepare_launch(name, symbol, marketCapUsd, marketCapPair, pair, ...)
Prepare a token launch for the person to sign on marketmayhem.co. Needs a name, a ticker, an opening market cap and a logo link. Optional first buy in the same transaction (so nobody buys before them), split across up to 8 wallets; the dead address 0x000000000000000000000000000000000000dEaD burns that part. burnPct sends the creator royalty to buy back and burn. Nothing launches until they confirm.
입력 스키마
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"symbol": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"marketCapUsd": {
"type": "string",
"pattern": "^\\d+(\\.\\d+)?$",
"description": "the opening market cap in dollars"
},
"marketCapPair": {
"$ref": "#/properties/marketCapUsd",
"description": "or in the pair currency"
},
"pair": {
"type": "string",
"description": "\"BNB\" (default), a listed symbol like \"USDT\", or any BEP20 address"
},
"supply": {
"$ref": "#/properties/marketCapUsd",
"description": "whole tokens, default 1000000000"
},
"firstBuy": {
"$ref": "#/properties/marketCapUsd",
"description": "a first buy in the pair currency, inside the launch"
},
"firstBuyTo": {
"type": "array",
"items": {
"type": "object",
"properties": {
"wallet": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"pct": {
"type": "number",
"exclusiveMinimum": 0
}
},
"required": [
"wallet",
"pct"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 8
},
"burnPct": {
"type": "number",
"minimum": 0,
"maximum": 100,
"description": "share of the creator royalty that buys back and burns, for ever (100 = all)"
},
"royaltyTo": {
"$ref": "#/properties/firstBuyTo/items/properties/wallet",
"description": "send the royalty to another wallet (only with burnPct 0)"
},
"shape": {
"anyOf": [
{
"type": "string",
"enum": [
"flat",
"stepped",
"steep"
]
},
{
"type": "array",
"items": {
"type": "object",
"properties": {
"fromPct": {
"type": "number",
"minimum": 0
},
"toPct": {
"type": "number",
"exclusiveMinimum": 0
},
"bps": {
"type": "integer",
"exclusiveMinimum": 0
}
},
"required": [
"fromPct",
"toPct",
"bps"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 4
}
],
"description": "how the supply is laid out: \"flat\" (default), \"stepped\", \"steep\", or 1 to 4 custom ranges { fromPct, toPct, bps } measured from the top of the platform curve, bps adding to 10000"
},
"image": {
"type": "string",
"format": "uri",
"description": "an https:// link to the logo (PNG, JPG, GIF or WebP, up to 5 MB). Required: ask the person for one"
},
"description": {
"type": "string",
"maxLength": 1000
},
"website": {
"type": "string",
"format": "uri"
},
"x": {
"type": "string",
"format": "uri"
},
"telegram": {
"type": "string",
"format": "uri"
},
"wallet": {
"$ref": "#/properties/firstBuyTo/items/properties/wallet",
"description": "the person's wallet, if they told you; the sign page checks it is the one that signs"
},
"referrer": {
"$ref": "#/properties/firstBuyTo/items/properties/wallet"
}
},
"required": [
"name",
"symbol",
"image"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪intent_status(id)
Whether a prepared request was signed: open (waiting for the person), sent (with the transaction and whether it is confirmed), or expired (prepare a new one).
입력 스키마
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{32}$"
}
},
"required": [
"id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪tx_status(hash)
Where a transaction is: pending, failed, confirmed or indexed.
입력 스키마
{
"type": "object",
"properties": {
"hash": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$"
}
},
"required": [
"hash"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪twap_orders(owner, token)
TWAP orders (a buy or sale spread over time in slices) by wallet or by token, newest first, with progress and whether the keeper has paused one (price past its limit, needs gas).
입력 스키마
{
"type": "object",
"properties": {
"owner": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"token": {
"$ref": "#/properties/owner"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪twap_order(vault)
One TWAP order's history: each slice (amounts, fees, transaction), slots skipped and why, cancels and changes.
입력 스키마
{
"type": "object",
"properties": {
"vault": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
}
},
"required": [
"vault"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪token_locks(token, owner)
Token locks by token or by wallet, with live balances. By token it also says how much of the supply is locked: only locks paid for by their own owner and holding at least 0.01% count, because anyone can lock dust or lock for someone else.
입력 스키마
{
"type": "object",
"properties": {
"token": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"owner": {
"$ref": "#/properties/token"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪token_lock(id)
One token lock: owner, cliff, end, withdrawn, balance, claimable now, and its history.
입력 스키마
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^\\d+$"
}
},
"required": [
"id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪referral_link(address, path)
A referral link for a wallet: people who trade through it pay that wallet a share of the fee, for life. The wallet must be registered or a creator to earn.
입력 스키마
{
"type": "object",
"properties": {
"address": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"path": {
"type": "string",
"description": "a page of the site, e.g. /t/<token>"
}
},
"required": [
"address"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪referral_earnings(address)
What a wallet has earned as a referrer (instant and lifetime), its links, and any weeks waiting to be claimed.
입력 스키마
{
"type": "object",
"properties": {
"address": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
}
},
"required": [
"address"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}커뮤니티
증거