MCP server for Bags on Solana: token analytics, trade quotes, and gated write operations.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
An MCP server that lets an AI assistant trade on Solana β and signs nothing until you say so.
Claude Desktop β ~/Library/Application Support/Claude/claude_desktop_config.json
(macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Claude Code:
Restart the client, then ask it: "show me the top Bags creators". The server prints a configuration report to stderr on startup; if something is missing it tells you which variable and why.
An API key alone gives you 8 of the 11 read tools. Three of them β bags_heartbeat,
bags_get_claimable_fees and bags_authenticate β report on your wallet, so they also
need BAGS_KEYPAIR_PATH and will error without it. Writes stay off until you configure
them (Getting Started).
Full threat model, disclosure policy and the limits of each control: .github/SECURITY.md.
v2.0.0 corrects a serious defect. In 1.x the write tools built transactions, discarded them, and reported success β nothing was ever signed or submitted. If you used 1.x and believed a trade or claim executed, it did not. See CHANGELOG.md.
2.x is live on npm and is what
npx bagos-mcp-serverinstalls β see the latest release. Every release ships with npm provenance β the tarball is cryptographically attested to this repository and the commit that built it. 1.x is deprecated on npm. If you are still on it, upgrade.
An MCP server that can move money gives an AI assistant a signing key. The assistant decides, and the transaction is already on chain by the time a human reads about it. Nothing in the protocol makes the model pause, and nothing bounds what a single misunderstood instruction can spend.
Bags is a Solana token launchpad whose defining feature is creator fee sharing: a token's trading fees are split on-chain between the people who launched and promote it, claimable at any time. That makes "who earns from this token, how much is claimable, and claim it" a real workflow β and the one BagOS automates.
BagOS lets an AI assistant read Bags/Solana token data and β with explicit confirmation β execute swaps and claim creator fees from your wallet. Writes are off unless you configure them, they are mainnet-only, and the first call to a write tool signs nothing: it returns a preview and a single-use token that only authorizes the exact arguments it was issued for.
Every write goes through this:
| Tool | Type | What it does |
|---|---|---|
bags_heartbeat | read | Server status and wallet reachability |
bags_get_token_analytics | read | Lifetime fee data for a token mint |
bags_get_creators | read | Top token creators by lifetime fees |
bags_get_trade_quote | read | Price quote for a swap. Does not trade. |
bags_get_claimable_fees | read | Fees currently claimable by your wallet |
bags_get_partner_stats | read | Partner config claim statistics |
bags_get_token_claim_stats | read | Per-creator claim totals β the royalty roster with amounts claimed |
bags_get_token_claim_events | read | The claim audit trail for a token, paginated |
bags_get_token_creators | read | Who shares a token's fees, and in what proportion |
bags_resolve_launch_wallet | read | Social handle (twitter/tiktok/kick/github) β fee-share wallet |
bags_authenticate | read | Verify wallet ownership via Ed25519 signature |
bags_prepare_token_metadata | gated | Creates token info + metadata. Does not launch a token. |
bags_execute_trade | write | Swap tokens. Signs and submits. |
bags_claim_fees | write | Claim creator/LP fees. Signs and submits. |
bags_prepare_token_metadata reserves a mint and uploads metadata. Completing a
launch also requires a Meteora fee-share config, whose fee-claimer split has to
be your decision β so this server does not implement that step rather than
guessing at it. Finish the launch at bags.fm.
Writes are off unless you configure them, and they are mainnet-only.
Bags has no devnet deployment. Its API endpoint and its Meteora/fee-share program IDs are all mainnet. This server nonetheless defaults to devnet, so an unconfigured install cannot spend real money. Calling a write tool on devnet returns an explanation, not a cryptic program error.
The first call to a write tool signs nothing. It returns a preview and a single-use token:
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/bagos)<a href="https://allmcps.com/mcp/bagos"><img src="https://allmcps.com/api/badge/bagos?style=directory" alt="BagOS on AllMCPs" /></a>