Back to Browse

Bagos MCP Server

Developer ToolsModerate6.0MCP 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

6.0
Moderate6.0Moderate Risk

BagOS is a well-architected MCP server for Solana token operations with strong security controls. Write operations are properly gated with confirmation tokens, spend caps, and token-based access control. The codebase demonstrates high engineering rigor with 100% test coverage, mutation-tested security guards, and comprehensive CI/CD safeguards. One moderate concern exists around an unpatched transitive dependency (bigint-buffer GHSA-3gc7-fjrx-p6mg), though the maintainers are aware and have documented this limitation. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 2 high severity). Package verification found 1 issue.

5 files analyzed · 7 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.

env_vars

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

HTTP Network Access

Connects to external APIs or services over the internet.

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

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",
        "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!