labs
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@labslaunch a token called MyCoin on pump.fun with a 1 SOL buy"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Why people use it
π Your keys stay yours | Every create and buy is built unsigned. You sign in Phantom. labs cannot move the funds. |
β‘ One atomic bundle | The create and the opening buys land together on Jito, or none of it does. |
πͺ No launch fee | labs does not add a treasury payment. You pay the network, and any buy you include. |
π€ Talk to it | No dashboard to learn. Ask your assistant for a launch. It hands back a signing link. |
π³οΈ No subscription | Nothing to provision per user. The creator's signature is the authorisation. |
Related MCP server: bonk-mcp
Connect in 30 seconds
https://labs.levercoin.lol/mcpStreamable HTTP. No API key.
Claude β Settings β Connectors β Add custom connector
ChatGPT β Settings β Connectors β Advanced β Add
Grok β add it as a custom MCP server
Then: βLaunch a token on pump.fun called β¦β
Tools
Tool | What it does |
| Builds a launch and returns a signing link |
| Who still has to sign, and whether the bundle landed |
| Price, market cap, graduation progress |
| SOL balance, to size a launch before signing |
| Quote assets a pump.fun launch can pair against, from the live on-chain registry |
| Quote tokens a StonkFun launch can pair against |
| Opens a two-sided quoting session |
| Position, last bid and ask, fills, time left |
| Ends a session, needs the maker wallet's signature |
| StonkFun listings, with sort, search, page, and pair category |
| SOL, ETH, and BTC mark and 24h change |
| A wallet's open perps and working limits |
| Market buy or sell of a pump.fun or StonkFun mint against SOL through Jupiter, returns a signing link |
| Limit, stop, take-profit/stop, or DCA on either venue through Jupiter, returns a signing link |
| Long or short SOL, ETH, or BTC, returns a signing link |
| Closes one perp position back to USDC |
| Sets or cancels a take profit, stop, or limit |
How a launch works
launch_token builds the create and up to three extra buys. The transactions
are stored unsigned. The blockhash is replaced when a signer clicks Sign, so it
has not expired by the time Phantom simulates or Jito receives the bundle.
# | Transaction |
0 | Create the token, plus the creator's own opening buy, in one transaction |
1β3 | One buy per additional wallet the creator controls |
They go out as a single Jito bundle, which lands all-or-none. A Jito bundle holds five transactions, and launches stay capped at three extra buyers.
On pump.fun the create uses the same address lookup table as pump.fun's own
creates, which is what keeps the creator buy inside the create. Phantom can
then simulate the SOL leaving the wallet. The sign page loads that table before
asking for a signature. The wallet signs first (signTransaction). The mint
key labs generated co-signs the same message afterwards. It is sealed with
LABS_SESSION_SECRET, holds no funds, and is never a wallet key.
You open /sign/<bundleId>, connect each wallet in turn, and sign. Phantom may
refresh the blockhash, insert a priority fee or a higher compute budget, and
add Lighthouse assertions anywhere in the transaction. The mint, the fee payer,
and the create and buy instructions (program, data, and account order) stay
the ones that were built. The mint key co-signs that signed message, and the
wallet's signature is checked against it before the bundle is sent. A signer
can refuse, but cannot change who is paid or how much.
The two venues
pump.fun is built in-process with the official @pump-fun/pump-sdk.
The create is a create_v2 (Token-2022). The creator's opening buy rides in
that same transaction. Each extra wallet gets its own buy, which runs after the
create inside the bundle. npm run simulate:pump builds one of these against
mainnet and simulates it, and does not send it.
quoteMint defaults to wSOL. Any other mint has to be one pump_pairs returns.
That tool reads Global's whitelist and the QuoteControl account, which is the
registry create_v2 consults: xStocks, crypto, metals, PUMP, USDC, and eligible
parent coins, whatever is listed on-chain at that moment. The create and the
buys are built against that asset. creatorBuySol and each extra buy are then
amounts of the quote asset, and the wallet has to hold it already. A swap from
SOL into the quote asset does not fit in the same transaction as the create and
the creator buy (that transaction is already about 1100 bytes, and a packet holds
1232), and a swap in an earlier transaction cannot be simulated by the wallet.
npm run simulate:pump:pairs builds one xStock pair and one non-xStock pair
from that live list and simulates both, and does not send them.
StonkFun has no launch endpoint β paidLaunchesEnabled is off, and
launchLabEnabled is on. So labs builds the Raydium LaunchLab
initialize_with_token_2022 itself against StonkFun's platform id, and StonkFun
adopts the pool about a minute later. Standard mode only: a reward-mode launch
writes a transfer-fee extension whose withheld tax cannot be recovered if the
pool is never adopted. Call stonks_pairs first β a StonkFun token trades
against another token, not necessarily SOL.
Metadata
pump.fun's /api/ipfs no longer accepts uploads and answers server-side
requests with a block page, so metadata is resolved one of three ways:
a
metadataUriyou pass in, used as-is;pinned to IPFS via Pinata, if
LABS_PINATA_JWTis set β use this in production;otherwise served by labs at
/api/metadata/<id>, which only lasts as long as this deployment does.
The URI is written into the token permanently, so option 3 returns a warning, and
labs refuses the launch if it cannot fetch its own URI back β that catches a
misconfigured LABS_SITE_URL before a token is minted pointing at nothing.
An optional bannerUrl (or bannerImageUrl) is fetched and pinned the same way
as imageUrl: recommended 1500Γ500 (3:1), image or GIF, max about 5MB, which is
also the fetch limit. The pinned URL is stored as banner in the metadata JSON.
pump.fun's create_v2 instruction has no banner argument β it only stores the
metadata URI. The banner on the coin page is a separate pump.fun record, set
only at creation by POST https://frontend-api-v3.pump.fun/coins/add-banner
with { mint, banner }, and it cannot be changed later. labs does not call
that endpoint. A caller-supplied metadataUri is used as-is, so a banner has
to already be inside that JSON if you want it there.
Buying and selling
trade_swap and trade_order buy or sell a mint against SOL. The mint can be a
pump.fun coin, including one still on the bonding curve, or a StonkFun coin.
Jupiter builds the route. A pump.fun bonding-curve swap is Jupiter's Pump.fun
route: the sign page calls /order, the wallet signs, and labs submits that
same quote to /execute. labs does not sell through the pump SDK.
venue is optional: pump or stonks. It labels the sign page. Callers that
omit it keep working. labs does not look the mint up and does not refuse a pump
mint. Any mint Jupiter can route is accepted. The wallet named on the call signs
at /sign/trade/<id>. Phantom may refresh the blockhash, insert a priority
fee or a higher compute budget, and add Lighthouse assertions. Those edits are
kept. The Jupiter instructions themselves β program, data, and account order β
and the stored request id are not. Submit forwards the transaction the wallet
signed, not a replacement quote. The link lasts 15 minutes, and a wallet is
limited to 20 trade intents a minute.
trade_order is a Jupiter Trigger order: limit, stop (a price, or a trail from
0.5% to 90%), take-profit and stop as one OCO, or DCA. The wallet signs
Jupiter's challenge, then the deposit. Funds sit in a Jupiter vault until fill
or cancel. labs seals that session with LABS_SESSION_SECRET and does not
return it to the browser.
trade_board is the StonkFun board. The maker quotes pump.fun only.
The quoter
Off unless LABS_MAKER_ENABLED=true.
One disclosed wallet holds a bid and an ask around its own fair-value anchor. It buys when the price falls through the bid, sells when it rises through the ask, and does nothing in between β so the band has to be crossed before anything trades. Spread is floored at 50 bps, refresh at 15 seconds, duration at 24 hours. Inventory caps shrink size on whichever side the wallet is already heavy and stop that side at the cap.
It runs as a Vercel Workflow: one "use step" quote pass, then a durable
sleep, so a 24-hour session costs nothing while it waits and survives a deploy.
The workflow function itself touches no Node modules β it only orchestrates.
The maker approves a session in the browser. A throwaway quoting key is generated
there, the wallet signs a plain-text approval naming the exact mint, spread and
SOL cap, and only that key reaches the server, encrypted with LABS_SESSION_SECRET.
It expires, and stop_maker discards it early.
The same secret seals a Jupiter trigger session after the wallet signs the
challenge. The browser never receives that bearer. Set LABS_SESSION_SECRET in
Vercel before deploying, or limit, stop, take-profit, and DCA signing fails closed.
Running it
npm install
cp .env.example .env.local
npm run dev
npx workflow web # inspect quoter runsLABS_SITE_URL must be the public URL in production; it is baked into signing
links and into metadata URIs. Launch bundles fall back to in-memory storage
without Redis, which is fine for next dev, but maker sessions refuse to start
without it because each workflow step resumes in a new invocation.
Deploy to Vercel as its own project with its own env; it shares nothing with the levercoin marketing site.
Checking what is live
Production is main only, and main takes pull requests: direct pushes are
rejected, and every PR runs typecheck and next build.
Three surfaces report the same commit, so nobody has to trust the badges:
Where | What it says |
version, commit, tool count, whether Redis is backing launches, whether the quoter is on | |
the same values as JSON, | |
|
curl -s https://labs.levercoin.lol/api/status | jq '{version, sha, store}'Take the sha and open https://github.com/koynlabs/labs-mcp/commit/<sha>. If
it resolves to a commit on main, the deployment is this source.
Status is read from the running process β the build's commit and the env it
booted with. It is deliberately not an HTTP probe of /mcp: that would pay a
cold start on the heaviest route in the app every time a badge refreshed.
The Grok bot Rive lives at public/demo and is served at
/demo after deploy.
Known limits
Three extra buyer wallets per launch.
StonkFun launches are standard mode only.
The quoter supports pump.fun only. StonkFun quoting is refused rather than guessed at, because an existing LaunchLab pool's state is not in the launch-time pricing response.
Market buys, sells, and trigger orders go through Jupiter for both pump.fun and StonkFun. There is no pump-sdk sell.
A launch is refused before you sign if the create transaction fails simulation. Buys that follow the create in the same bundle spend a mint that does not exist yet, so they cannot be simulated on their own.
License
MIT. The code is public so you can verify that a launch is signed by
your wallet and that the server never holds that key. Secrets (LABS_PINATA_JWT,
LABS_SESSION_SECRET, Redis) stay in the deployment env and
are not in this repo.
This server cannot be deployed
Maintenance
Related MCP Connectors
Prepare pump.fun token launches from your AI agent. You review and sign each one in your own wallet.
Launch pump.fun tokens whose fees pay callers in USDC. Find paying pools, register calls, claim.
Swap quotes + unsigned txs on 8 EVM chains, plus Solana data: boards, candles, wallet PnL. No key.
Non-custodial Solana toolkit: rug-checks, swaps, portfolios, token minting, multisig, Arweave.
Related MCP Servers
- FlicenseBqualityDmaintenanceImplements Solana blockchain functionality for the LetsBonk launchpad, enabling users to launch and trade tokens on letsbonk.fun.115-
- FlicenseNot gradedqualityNot gradedmaintenanceEnables interaction with the LetsBonk launchpad on Solana blockchain to launch new tokens and trade (buy/sell) existing tokens on letsbonk.fun.-

trade-router-mcpofficial
AlicenseBqualityCmaintenanceNon-custodial Solana swap & limit order engine for AI agents. 21 tools - swap, limit, trailing, TWAP, DCA, combo orders - across Raydium, PumpSwap, Orca, Meteora. Jito MEV-protected execution. Ed25519-verified server messages. Private key never leaves the process.21101 npm3MIT- FlicenseBqualityDmaintenanceEnables token launching and trading on the Solana blockchain via the LetsBonk launchpad.6-