What is the BagOS MCP server?
MCP server for Bags on Solana: token analytics, trade quotes, and gated write operations.
How to install BagOS
Copy-paste configuration for popular MCP clients.
BAGS_API_KEYrequiredsecretBags API key from dev.bags.fm. Required for all tools.
BAGS_NETWORKSolana cluster: devnet (default) or mainnet. Writes on mainnet move real funds.
SOLANA_RPC_URLsecretCustom Solana RPC endpoint. Defaults to the public RPC for BAGS_NETWORK.
BAGS_KEYPAIR_PATHPath to a Solana keypair JSON file. Only required for write tools.
BAGS_MAX_SOL_PER_TXHard cap on SOL spent by any single transaction. Default 0.1.
BAGS_MAX_SOL_PER_SESSIONHard cap on total SOL spent across one server session. Default 1.0.
BAGS_ALLOW_UNCONFIRMEDSet true to skip the two-step confirmation on writes. Default false.
BOS_TOKEN_MINTMint address of the BOS token used for gating write tools.
BOS_REQUIRED_BALANCEMinimum BOS balance required to call write tools. Default 10000.
BAGS_ALLOW_UNCAPPED_TOKEN_SWAPSPermit non-SOL-input swaps, which the SOL-denominated caps cannot limit.
USE_MOCK_DATAMakes bags_get_claimable_fees return fabricated data instead of calling the API. Default false.
Related MCP servers

zzop
Deterministic repository oracle for AI agents: inventory, dependency graph, frontend-backend join.
MCP server for Festo/CODESYS PLCs: IEC 61131-3 ST + validated PLCopen XML generation.
Agents talk for free, then register, search for work, or list a service.
MCP server for data engineering: validation, transformation, visualization, and APIs.

AI video generation via the Vivideo API: auto or manual mode, avatars, voices, brand kits.
