Skip to content
Cline

BagOS for Cline

io.github.edycutjong/bagos

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

client:Cline transport:stdio runtime:npm

Install BagOS in Cline

~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json · windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "bagos": {
      "command": "npx",
      "args": [
        "-y",
        "bagos-mcp-server"
      ],
      "env": {
        "BAGS_API_KEY": "<BAGS_API_KEY>",
        "BAGS_NETWORK": "<BAGS_NETWORK>",
        "SOLANA_RPC_URL": "<SOLANA_RPC_URL>",
        "BAGS_KEYPAIR_PATH": "<BAGS_KEYPAIR_PATH>",
        "BAGS_MAX_SOL_PER_TX": "<BAGS_MAX_SOL_PER_TX>",
        "BAGS_MAX_SOL_PER_SESSION": "<BAGS_MAX_SOL_PER_SESSION>",
        "BAGS_ALLOW_UNCONFIRMED": "<BAGS_ALLOW_UNCONFIRMED>",
        "BOS_TOKEN_MINT": "<BOS_TOKEN_MINT>",
        "BOS_REQUIRED_BALANCE": "<BOS_REQUIRED_BALANCE>",
        "BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS": "<BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS>",
        "USE_MOCK_DATA": "<USE_MOCK_DATA>"
      }
    }
  }
}

Cline's MCP Servers pane edits this file for you if you would rather not find it. Cline docs

BagOS in other clients