Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BAGS_API_KEYYesYour Bags API key from dev.bags.fm.
BAGS_NETWORKNoNetwork to use: devnet or mainnet. Writes need mainnet.devnet
BOS_TOKEN_MINTNoGating token mint address. Required for writes.
SOLANA_RPC_URLNoSolana RPC URL. Must agree with BAGS_NETWORK or the server refuses to start.
BAGS_KEYPAIR_PATHNoPath to your Solana keypair file (JSON byte array). Required for writes.~/.config/bags/keypair.json
BAGS_MAX_SOL_PER_TXNoPer-transaction spend cap in SOL.0.1
BOS_REQUIRED_BALANCENoMinimum gating-token balance. Set to 0 to disable gate.10000
BAGS_ALLOW_UNCONFIRMEDNoSet to true to skip the confirmation step.false
BAGS_MAX_SOL_PER_SESSIONNoPer-process spend cap in SOL.1.0
BAGS_ALLOW_UNCAPPED_TOKEN_SWAPSNoSet to true to permit swaps whose input is not SOL (uncapped).false

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
bags_authenticateA

Authenticate with Bags API utilizing the V2 signature challenge flow. Automatically loads local wallet.

bags_claim_feesA

GATED WRITE: Claim pending creator/LP fees for the given token mints. Requires $BOS. Two-step: the first call previews and returns a confirmation token; call again with it to sign and submit. Returns confirmed on-chain signatures.

bags_execute_tradeA

GATED WRITE: Swap tokens on Bags pools. Requires $BOS. Two-step: the first call returns a preview and a confirmation token; call again with that token to sign and submit. Returns a confirmed on-chain signature. SOL mint: So11111111111111111111111111111111111111112.

bags_get_claimable_feesA

Query all claimable creator/LP fees for a wallet. Free read-only tier.

bags_get_creatorsB

Query top creators by lifetime fees on Bags. Free read-only tier.

bags_get_partner_statsA

View partner referral earnings for the configured wallet. Free read-only tier.

bags_get_token_analyticsA

Get pool info, claim stats, and bonding curve progress for a token. Free read-only tier.

bags_get_token_claim_eventsA

Get the fee-claim audit trail for a token: who claimed, how much, when, and the transaction signature. Paginated via limit/offset. Free read-only tier.

bags_get_token_claim_statsA

Get per-creator claim totals for a token: each fee-share creator with their royalty split and total claimed amount. Free read-only tier.

bags_get_token_creatorsA

Get the royalty split for a token: every creator sharing its fees, their wallet, social provider, and share in basis points. Free read-only tier.

bags_get_trade_quoteA

Get a swap quote to trade SOL and any Bags ecosystem token. Free read-only tier. SOL mint: So11111111111111111111111111111111111111112. Default BOS token mint: EkJuyYyD3to61CHVPJn6wHb7xANxvqApnVJ4o2SdBAGS.

bags_heartbeatA

Periodic health check combining basic node status with an earnings/balance summary. Free read-only tier.

bags_prepare_token_metadataA

GATED: Create token info and metadata on Bags, returning the reserved mint address and metadata URL. Requires $BOS. This PREPARES a launch — it does not launch the token and does not send an on-chain transaction.

bags_resolve_launch_walletA

Resolve a social handle (twitter, tiktok, kick, or github) to its Bags fee-share launch wallet. Free read-only tier.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/edycutjong/BagOS'

If you have feedback or need assistance with the MCP directory API, please join our Discord server