BagOS MCP Server

MCP server for Bags on Solana: token analytics, trade quotes, and gated write operations.

Local serverstdio

What is the BagOS MCP Server?

BagOS is an MCP integration. MCP server for Bags on Solana: token analytics, trade quotes, and gated write operations.

Packages and local setup

The published npm package is bagos-mcp-server, version 3.0.7. Its declared MCP transport is stdio.

The package declares BAGS_API_KEY (required): Bags API key from dev.bags.fm. Required for all tools.; BAGS_NETWORK: Solana cluster: devnet (default) or mainnet. Writes on mainnet move real funds.; SOLANA_RPC_URL: Custom Solana RPC endpoint. Defaults to the public RPC for BAGS_NETWORK.; BAGS_KEYPAIR_PATH: Path to a Solana keypair JSON file. Only required for write tools.; BAGS_MAX_SOL_PER_TX: Hard cap on SOL spent by any single transaction. Default 0.1.; BAGS_MAX_SOL_PER_SESSION: Hard cap on total SOL spent across one server session. Default 1.0.; BAGS_ALLOW_UNCONFIRMED: Set true to skip the two-step confirmation on writes. Default false.; BOS_TOKEN_MINT: Mint address of the BOS token used for gating write tools.; BOS_REQUIRED_BALANCE: Minimum BOS balance required to call write tools. Default 10000.; BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS: Permit non-SOL-input swaps, which the SOL-denominated caps cannot limit.; USE_MOCK_DATA: Makes bags_get_claimable_fees return fabricated data instead of calling the API. Default false..

Before connecting

Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.

Project and source

View the publisher’s registry entry · Project repository · Project website. This profile uses version 3.0.7 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.

Browse related analytics & reporting MCP servers for tools that cover the same kind of work.

Configuration

VariableDescriptionRequired
BAGS_API_KEYBags API key from dev.bags.fm. Required for all tools.Yes
BAGS_NETWORKSolana cluster: devnet (default) or mainnet. Writes on mainnet move real funds.Optional
SOLANA_RPC_URLCustom Solana RPC endpoint. Defaults to the public RPC for BAGS_NETWORK.Optional
BAGS_KEYPAIR_PATHPath to a Solana keypair JSON file. Only required for write tools.Optional
BAGS_MAX_SOL_PER_TXHard cap on SOL spent by any single transaction. Default 0.1.Optional
BAGS_MAX_SOL_PER_SESSIONHard cap on total SOL spent across one server session. Default 1.0.Optional
BAGS_ALLOW_UNCONFIRMEDSet true to skip the two-step confirmation on writes. Default false.Optional
BOS_TOKEN_MINTMint address of the BOS token used for gating write tools.Optional
BOS_REQUIRED_BALANCEMinimum BOS balance required to call write tools. Default 10000.Optional
BAGS_ALLOW_UNCAPPED_TOKEN_SWAPSPermit non-SOL-input swaps, which the SOL-denominated caps cannot limit.Optional
USE_MOCK_DATAMakes bags_get_claimable_fees return fabricated data instead of calling the API. Default false.Optional