arka-mcp

v0.7.0
arka-mcp Checked 1 day ago Published 1 month ago

MCP server for Arka on Elysium: read and trade Arka's launchpad, and every launchpad's tokens on Elysium mainnet through the Arka terminal.

An MCP server that lets an agent read the Arka launchpad and trade on it, and trade every other launchpad's tokens on Elysium mainnet through the Arka terminal. It never sends your key anywhere. Reads go to the indexer over HTTP; writes are built as unsigned calldata, signed locally with the key in your environment, and broadcast straight to the chain. Arka cannot sign for you, freeze you, or front you. One command finds Claude Desktop, Claude Code, Cursor and Windsurf on this machine and adds Arka to each of them:

Summary extracted from the README.

Arka MCP

An MCP server that lets an agent read the Arka launchpad and trade on it, and trade every other launchpad's tokens on Elysium mainnet through the Arka terminal.

It never sends your key anywhere. Reads go to the indexer over HTTP; writes are built as unsigned calldata, signed locally with the key in your environment, and broadcast straight to the chain. Arka cannot sign for you, freeze you, or front you.

Install

One command finds Claude Desktop, Claude Code, Cursor and Windsurf on this machine and adds Arka to each of them:

npx arka-mcp install --key 0x… --max-spend 0.05

Leave out --key to install it read-only.

It installs the agent's manual too: a skill describing every tool, how to scan the market, how to check a coin and its dev before trading, the red flags, and how to report back. It goes to ~/.claude/skills/arka/SKILL.md, where Claude Code reads it (--no-skill leaves it out). To put it somewhere else, or update it on its own:

npx arka-mcp skill --dir <folder>   # or --print, for an agent that takes a prompt

It is also at arkapad.fun/arka-skill.md. By hand, the entry is:

{
  "mcpServers": {
    "arka": {
      "command": "npx",
      "args": ["-y", "arka-mcp"],
      "env": {
        "ARKA_API": "https://arkapad.fun/api",
        "ARKA_CHAIN_ID": "99901",
        "ARKA_PRIVATE_KEY": "0x…",
        "ARKA_MAX_SPEND": "0.05"
      }
    }
  }
}

Or, with Claude Code:

claude mcp add arka --env ARKA_PRIVATE_KEY=0x… -- npx -y arka-mcp
Variable Default What it does
ARKA_API https://arkapad.fun/api Which indexer to read the market from.
ARKA_RPC https://rpc.thekleos.xyz/ Where Arka's launchpad is read.
ARKA_SEND_RPC https://rpc-live.elyspump.com Where signed transactions for Arka's launchpad and staking are sent: a relay that passes them on and cannot change them.
ARKA_CHAIN_ID 99901 Kinetiq's Elysium mainnet, where gas and every launch's pairing are HYPE. An older install's 99801, the retired testnet, is read as 99901.
ARKA_STAKING the deployed staking The ARKA staking contract.
ARKA_LIMITS the deployed LimitIntents The limit order contract.
ARKA_CURVES the deployed ArkaCurves The terminal's curve router, for coins still on their launcher's curve.
ARKA_PRIVATE_KEY — The agent's own key. Omit it and the write tools return calldata instead of sending anything, which is the right setting until you trust what the agent is doing.
ARKA_MAX_SPEND 0.05 Most this server spends in total, for as long as it runs, in the chain's native coin. Counted separately on arka and on elysium, each up to this.
ARKA_MAINNET_API https://arkapad.fun/api-mainnet The terminal's indexer: every launchpad on Elysium mainnet.
ARKA_MAINNET_RPC https://rpc.thekleos.xyz/ Where mainnet is read. Kinetiq has published no public RPC yet; this is Kleos's node, which publishes no transactions.
ARKA_MAINNET_SEND_RPC https://rpc-live.elyspump.com Where signed mainnet transactions are sent: a relay that passes them on and cannot change them.
ARKA_TERMINAL the deployed terminal The Arka terminal contract on Elysium mainnet.

Amounts named _eth — amount_eth, balance_eth and the rest — are in the chain's native coin, which on Elysium is HYPE. The names predate the chain and are kept so existing callers keep working; status reports the symbol.

About the spend limit

It is a cap, not a confirmation, and the distinction matters. There is no way to ask a person mid-tool-call, so the only protection that can exist is a number set before the agent starts. Set it to the most you are willing to lose to a misplaced decimal point, because that is the failure it is there for.

It is cumulative. The server keeps a running total of everything it has broadcast — native value plus any token a step commits — and refuses the call that would take that total past the limit. It used to be checked per call, which stopped one mistake and not a loop: an agent retrying a buy it thought had failed spent the whole limit again on every attempt (audit L-3). The total is reserved before the first transaction of a call goes out, so two calls racing each other cannot both fit under it, and only steps that were never broadcast are handed back. A transaction that reverts after broadcasting stays counted. status and every write report what is left.

Restarting the server starts the total from zero. That is deliberate: raising an agent's budget should take a person, not a tool call.

Use a wallet funded for this and nothing else. The key can sign anything the launchpad and the router accept, which is every trade, every launch and every fee withdrawal — not your other positions, but everything in this one.

Two markets

Both are on Elysium mainnet, for real HYPE. Every tool that reads or trades takes network:

  • arka, the default: Arka's own launchpad. Everything below works here, including launching tokens, claiming fees and forfeits.
  • elysium: every launchpad on Elysium (ELYXA, Kleos, ElysPump, BOXA, Chainzy, Supercolony, Olympad, Uniswap, and pools nobody has named, listed as Other). list_tokens takes launchpad to filter. quote, buy and sell go through the Arka terminal into the launchpad's own pool; the terminal takes 0.5% of the HYPE side of each trade, and all of it buys back and burns Arka's token. The launchpad's pool fee and hook are charged on top, and are already inside every quote: a quote is the terminal's own answer to the exact trade, simulated against the pool as it stands.

The older names still work: testnet means arka and mainnet means elysium.

An elysium sell approves the terminal first; signing, the server sends the approval, then quotes and sells. Launching is on Arka's launchpad. Transactions reach Elysium through a queue on HyperEVM and usually land within a few minutes; a write tool waits up to half an hour for its receipt. A token whose pool sits on a factory the terminal has not been allowed to trade is listed and charted, and quote says so instead of reverting.

Tools

Read: status, list_tokens, get_token, get_trades, get_candles, get_holders, get_dev_wallets, get_wallet, get_wallet_stats, get_risk, get_market_stats, get_leaderboard, get_buybacks, get_staking, list_limits, quote. None of them needs a key.

  • get_dev_wallets lists the wallets tied to an Elysium coin's creator by HYPE or by the coin passing between them, with why and what they hold together, and what the creator made: the creator fees the launchpad paid or owes them, plus their trading. with_linked_made adds the tied wallets' trading.
  • get_wallet_stats is any wallet's record, on either network: portfolio and PnL in dollars, volume, buys and sells, win rate, best and worst coin, first and last trade, a split by launchpad, closed positions, the coins it launched with what they earned, recent trades and realised profit over time.
  • get_risk scores one of Arka's coins and explains each factor: the largest holders, the creator's stake, launch snipers, bundles.
  • get_market_stats gives volume, trades, traders and launches by day, today against yesterday, with Arka's buybacks on arka and the terminal's burn vault on elysium.
  • get_leaderboard ranks traders by realised profit and creators by fees; get_buybacks shows the current buyback round and the latest buybacks.
  • get_token includes the pool's current fee step and whether the creator has forfeited their fees, or how much of their own buy they still hold. get_candles takes 1m, 5m, 1h, 1d and the rest as labels or seconds. get_wallet lists the wallet's open positions with what each cost and is worth now, besides what it is owed.

The same data is plain JSON at https://arkapad.fun/api (Arka's launchpad) and https://arkapad.fun/api-mainnet (every launchpad on Elysium mainnet), listed on arkapad.fun/api.

Write: buy, sell, launch_token, claim_fees, share_fees_with_holders, graduate, forfeit_creator_fees, place_limit, cancel_limit, stake_arka, leave_stake, withdraw_stake, claim_staking_rewards. Every one takes dry_run, which returns the transaction it would have sent. A sell or a stake approves first, and an approval belongs to one wallet, so with no key configured sell and stake_arka take wallet, the address that will sign, and return the steps unsigned.

Limit orders: place_limit buys once a coin's market cap falls to market_cap_usd, or sells once it rises to it, on Arka's coins and on every coin the terminal trades, in a pool or still on its launcher's own bonding curve. The order holds its HYPE (plus a 0.0005 HYPE tip for whoever fills it) or its coins at an address of its own until Arka's desk fills it, which the contract allows only at the limit or better; the limit allows for what a trade really costs, read off a live quote. cancel_limit hands everything back at once.

Staking: ARKA staked earns HYPE, streamed to stakers over a week. A flexible stake leaves through a seven-day wait (leave_stake, then withdraw_stake); one locked for 30, 90 or 180 days weighs 1.25, 1.5 or 2 times and comes out with withdraw_stake when the lock ends. Staking spends no HYPE but gas, so it does not count against ARKA_MAX_SPEND.

forfeit_creator_fees is permissionless and costs only gas: when a creator holds less than half of what they bought on their own curve, it sends their share of every future fee on that token to its holders. It is refused, with the creator's current holding, when they are above the line.

launch_token is refused before anything is signed when the ticker is taken — one coin per ticker, case-insensitive — or is one of the reserved majors.

Amounts are decimal strings in whole units — amount_eth: "0.01", amount_tokens: "25000" — never wei. sell also takes percent.

Development

npm install
ARKA_API=http://127.0.0.1:8810 npm start

It speaks MCP over stdio, so running it in a terminal looks like it has hung. It has not; it is waiting for a client.