SuperAPIAI Directory

BagOS

github.com · AI developer platforms

BagOS is an MCP server for the Bags token launch platform on Solana, allowing AI assistants to read Bags/Solana token data and, after explicit user confirmation, execute swaps and claim creator fees. All write operations are disabled by default, restricted to mainnet, and the first call does not sign but returns a preview and a one-time token, ensuring the AI cannot spend funds on its own.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

BagOS is a server based on the MCP protocol, designed for the Bags token launch platform on the Solana blockchain. It enables AI assistants to read token data from Bags and Solana and, after explicit user confirmation, execute transactions and claim creator fees. The core feature of Bags is creator fee sharing: token trading fees are distributed on-chain to launchers and promoters and can be claimed at any time. BagOS automates the workflow of "who profits from a token, how much can be claimed, and claiming it."

Main capabilities include: read tools (such as bags_heartbeat, bags_get_creators, bags_get_trade_quote, etc.) and write tools (such as bags_execute_trade, bags_prepare_token_metadata, etc.). Write operations are disabled by default and require configuring environment variables such as BAGS_API_KEY, BAGS_KEYPAIR_PATH and BOS_TOKEN_MINT to enable them. Writes are restricted to mainnet, but the server uses devnet by default to prevent unconfigured installations from spending real funds.

Usage: install via npm (npx bagos-mcp-server) and configure an MCP client such as Claude Desktop. The first call to a write tool does not sign but returns a preview and a one-time token; the token is bound to the tool name and exact parameters, is valid for 5 minutes and is single-use. After successful execution, the real signature and a block explorer link are returned. BAGS_ALLOW_UNCONFIRMED=true can be set to skip the preview, but spending limits still apply. By default, the per-transaction limit is 0.1 SOL and the per-session limit is 1 SOL.

Use cases: AI assistant-assisted Solana token trading, creator fee claiming, token metadata preparation, etc. Limitations: HTTP mode has no authentication and is not recommended for use with a wallet holding funds; the session limit counts transactions with unknown results; BOS_TOKEN_MINT serves both as the gating token and the default output mint, which is a known issue, so it is recommended to pass outputMint explicitly. The project is under the MIT license and provides detailed security documentation and a list of known issues.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools