Back to Browse

Bagos MCP Server

Developer ToolsModerate5.6MCP RegistryLocal
Free

Server data from the Official MCP Registry

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

About

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

Security Report

5.6
Moderate5.6Moderate Risk

BagOS is a well-engineered MCP server for Solana trading with strong security controls. The codebase demonstrates high quality with comprehensive testing (100% coverage, 337 tests), proper authentication via API keys and token gating, and careful confirmation workflows for financial transactions. Permissions align with its purpose (network access for APIs, file I/O for keypairs, environment variables for configuration). One known dependency issue exists but is acknowledged and documented with no available remediation, and some low-severity code quality patterns are present but do not impact the security posture. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 2 high severity). Package verification found 1 issue.

4 files analyzed · 9 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

File System Write

Writes or modifies files on your machine. Check that this is expected for the tool.

process_spawn

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Bags API key from dev.bags.fm. Required for all tools.Required

Environment variable: BAGS_API_KEY

Solana cluster: devnet (default) or mainnet. Writes on mainnet move real funds.Optional

Environment variable: BAGS_NETWORK

Custom Solana RPC endpoint. Defaults to the public RPC for BAGS_NETWORK.Required

Environment variable: SOLANA_RPC_URL

Path to a Solana keypair JSON file. Only required for write tools.Optional

Environment variable: BAGS_KEYPAIR_PATH

Hard cap on SOL spent by any single transaction. Default 0.1.Optional

Environment variable: BAGS_MAX_SOL_PER_TX

Hard cap on total SOL spent across one server session. Default 1.0.Optional

Environment variable: BAGS_MAX_SOL_PER_SESSION

Set true to skip the two-step confirmation on writes. Default false.Optional

Environment variable: BAGS_ALLOW_UNCONFIRMED

Mint address of the BOS token used for gating write tools.Optional

Environment variable: BOS_TOKEN_MINT

Minimum BOS balance required to call write tools. Default 10000.Optional

Environment variable: BOS_REQUIRED_BALANCE

Permit non-SOL-input swaps, which the SOL-denominated caps cannot limit.Optional

Environment variable: BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS

Makes bags_get_claimable_fees return fabricated data instead of calling the API. Default false.Optional

Environment variable: USE_MOCK_DATA

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-edycutjong-bagos": {
      "env": {
        "BAGS_API_KEY": "your-bags-api-key-here",
        "BAGS_NETWORK": "your-bags-network-here",
        "USE_MOCK_DATA": "your-use-mock-data-here",
        "BOS_TOKEN_MINT": "your-bos-token-mint-here",
        "SOLANA_RPC_URL": "your-solana-rpc-url-here",
        "BAGS_KEYPAIR_PATH": "your-bags-keypair-path-here",
        "BAGS_MAX_SOL_PER_TX": "your-bags-max-sol-per-tx-here",
        "BOS_REQUIRED_BALANCE": "your-bos-required-balance-here",
        "BAGS_ALLOW_UNCONFIRMED": "your-bags-allow-unconfirmed-here",
        "BAGS_MAX_SOL_PER_SESSION": "your-bags-max-sol-per-session-here",
        "BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS": "your-bags-allow-uncapped-token-swaps-here"
      },
      "args": [
        "-y",
        "bagos-mcp-server"
      ],
      "command": "npx"
    }
  }
}

Reviews

No reviews yet

Be the first to review this server!