Koskamo

BagOS MCP

An MCP server for Bags on Solana that allows AI assistants to perform token analytics, trade quotes, and gated write operations. It enforces safety by requiring single-use confirmation for transactions, capping SOL spend, and preventing signing until explicit user approval.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

BagOS MCP logo, by edycutjongCommunity listingLocal stdioSource reviewed; not executedPublished by edycutjong
You need:An API key alone gives you 8 of the 11 read tools.
Vendor documentation

Checks and signals

Each line is separate evidence, not a trust score.

  • Popularity 1 GitHub star

What you can do with it

  • Show top Bags creators
  • Perform token analytics on Solana
  • Execute gated write operations with single-use confirmation

Source and maintenance

Community listingRegistry 3.0.7MIT
Last repository push
Latest release
v3.0.7
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

bagos-mcp-server 3.0.7

npmnpx
bagos-mcp-server package definition
{
  "version": "3.0.7",
  "transport": "stdio",
  "identifier": "bagos-mcp-server",
  "runtimeHint": "npx",
  "registryType": "npm",
  "registryBaseUrl": "https://registry.npmjs.org",
  "environmentVariables": [
    {
      "name": "BAGS_API_KEY",
      "format": "string",
      "isRequired": true,
      "description": "Bags API key from dev.bags.fm. Required for all tools."
    },
    {
      "name": "BAGS_NETWORK",
      "format": "string",
      "choices": [
        "devnet",
        "mainnet"
      ],
      "default": "devnet",
      "description": "Solana cluster: devnet (default) or mainnet. Writes on mainnet move real funds."
    },
    {
      "name": "SOLANA_RPC_URL",
      "format": "string",
      "description": "Custom Solana RPC endpoint. Defaults to the public RPC for BAGS_NETWORK."
    },
    {
      "name": "BAGS_KEYPAIR_PATH",
      "format": "filepath",
      "description": "Path to a Solana keypair JSON file. Only required for write tools."
    },
    {
      "name": "BAGS_MAX_SOL_PER_TX",
      "format": "number",
      "default": "0.1",
      "description": "Hard cap on SOL spent by any single transaction. Default 0.1."
    },
    {
      "name": "BAGS_MAX_SOL_PER_SESSION",
      "format": "number",
      "default": "1.0",
      "description": "Hard cap on total SOL spent across one server session. Default 1.0."
    },
    {
      "name": "BAGS_ALLOW_UNCONFIRMED",
      "format": "boolean",
      "default": "false",
      "description": "Set true to skip the two-step confirmation on writes. Default false."
    },
    {
      "name": "BOS_TOKEN_MINT",
      "format": "string",
      "description": "Mint address of the BOS token used for gating write tools."
    },
    {
      "name": "BOS_REQUIRED_BALANCE",
      "format": "number",
      "default": "10000",
      "description": "Minimum BOS balance required to call write tools. Default 10000."
    },
    {
      "name": "BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS",
      "format": "boolean",
      "default": "false",
      "description": "Permit non-SOL-input swaps, which the SOL-denominated caps cannot limit."
    },
    {
      "name": "USE_MOCK_DATA",
      "format": "boolean",
      "default": "false",
      "description": "Makes bags_get_claimable_fees return fabricated data instead of calling the API. Default false."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · repository · passed · metadata changed · updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "bagos-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "bagos-mcp-server@3.0.7"
      ],
      "env": {
        "BAGS_API_KEY": "<YOUR_BAGS_API_KEY>",
        "BAGS_NETWORK": "<YOUR_BAGS_NETWORK>",
        "SOLANA_RPC_URL": "<YOUR_SOLANA_RPC_URL>",
        "BAGS_KEYPAIR_PATH": "<YOUR_BAGS_KEYPAIR_PATH>",
        "BAGS_MAX_SOL_PER_TX": "<YOUR_BAGS_MAX_SOL_PER_TX>",
        "BAGS_MAX_SOL_PER_SESSION": "<YOUR_BAGS_MAX_SOL_PER_SESSION>",
        "BAGS_ALLOW_UNCONFIRMED": "<YOUR_BAGS_ALLOW_UNCONFIRMED>",
        "BOS_TOKEN_MINT": "<YOUR_BOS_TOKEN_MINT>",
        "BOS_REQUIRED_BALANCE": "<YOUR_BOS_REQUIRED_BALANCE>",
        "BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS": "<YOUR_BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS>",
        "USE_MOCK_DATA": "<YOUR_USE_MOCK_DATA>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "bagos-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "bagos-mcp-server@3.0.7"
      ],
      "env": {
        "BAGS_API_KEY": "<YOUR_BAGS_API_KEY>",
        "BAGS_NETWORK": "<YOUR_BAGS_NETWORK>",
        "SOLANA_RPC_URL": "<YOUR_SOLANA_RPC_URL>",
        "BAGS_KEYPAIR_PATH": "<YOUR_BAGS_KEYPAIR_PATH>",
        "BAGS_MAX_SOL_PER_TX": "<YOUR_BAGS_MAX_SOL_PER_TX>",
        "BAGS_MAX_SOL_PER_SESSION": "<YOUR_BAGS_MAX_SOL_PER_SESSION>",
        "BAGS_ALLOW_UNCONFIRMED": "<YOUR_BAGS_ALLOW_UNCONFIRMED>",
        "BOS_TOKEN_MINT": "<YOUR_BOS_TOKEN_MINT>",
        "BOS_REQUIRED_BALANCE": "<YOUR_BOS_REQUIRED_BALANCE>",
        "BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS": "<YOUR_BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS>",
        "USE_MOCK_DATA": "<YOUR_USE_MOCK_DATA>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "bagos-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "bagos-mcp-server@3.0.7"
      ],
      "env": {
        "BAGS_API_KEY": "<YOUR_BAGS_API_KEY>",
        "BAGS_NETWORK": "<YOUR_BAGS_NETWORK>",
        "SOLANA_RPC_URL": "<YOUR_SOLANA_RPC_URL>",
        "BAGS_KEYPAIR_PATH": "<YOUR_BAGS_KEYPAIR_PATH>",
        "BAGS_MAX_SOL_PER_TX": "<YOUR_BAGS_MAX_SOL_PER_TX>",
        "BAGS_MAX_SOL_PER_SESSION": "<YOUR_BAGS_MAX_SOL_PER_SESSION>",
        "BAGS_ALLOW_UNCONFIRMED": "<YOUR_BAGS_ALLOW_UNCONFIRMED>",
        "BOS_TOKEN_MINT": "<YOUR_BOS_TOKEN_MINT>",
        "BOS_REQUIRED_BALANCE": "<YOUR_BOS_REQUIRED_BALANCE>",
        "BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS": "<YOUR_BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS>",
        "USE_MOCK_DATA": "<YOUR_USE_MOCK_DATA>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "bagos-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "bagos-mcp-server@3.0.7"
      ],
      "env": {
        "BAGS_API_KEY": "<YOUR_BAGS_API_KEY>",
        "BAGS_NETWORK": "<YOUR_BAGS_NETWORK>",
        "SOLANA_RPC_URL": "<YOUR_SOLANA_RPC_URL>",
        "BAGS_KEYPAIR_PATH": "<YOUR_BAGS_KEYPAIR_PATH>",
        "BAGS_MAX_SOL_PER_TX": "<YOUR_BAGS_MAX_SOL_PER_TX>",
        "BAGS_MAX_SOL_PER_SESSION": "<YOUR_BAGS_MAX_SOL_PER_SESSION>",
        "BAGS_ALLOW_UNCONFIRMED": "<YOUR_BAGS_ALLOW_UNCONFIRMED>",
        "BOS_TOKEN_MINT": "<YOUR_BOS_TOKEN_MINT>",
        "BOS_REQUIRED_BALANCE": "<YOUR_BOS_REQUIRED_BALANCE>",
        "BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS": "<YOUR_BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS>",
        "USE_MOCK_DATA": "<YOUR_USE_MOCK_DATA>"
      }
    }
  }
}

Let your agent find its tools

Find servers like BagOS MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.