BagOS logo

BagOS

Reads Bags and Solana token data, provides swap quotes, and gates fee claims and trades behind confirmation.

Install BagOS

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "bagos": {
      "command": "npx",
      "args": [
        "-y",
        "bagos-mcp-server"
      ],
      "env": {
        "BAGS_API_KEY": "YOUR_VALUE_HERE",
        "BAGS_KEYPAIR_PATH": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env BAGS_API_KEY=YOUR_VALUE_HERE --env BAGS_KEYPAIR_PATH=YOUR_VALUE_HERE --transport stdio bagos -- npx -y bagos-mcp-server

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

The install command started, but didn't respond the way we expected when we tried to talk to it.

npx -y bagos-mcp-server

initialize succeeded but no response to tools/list.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The BagOS MCP server connects AI assistants to Bags on Solana for token analytics, creator and fee data, trade quotes, and wallet-based actions. It exposes read tools plus gated metadata preparation, token swaps, and creator-fee claims through MCP over stdio or HTTP. Write operations remain disabled until wallet and write settings are configured, and each write requires a preview, confirmation, simulation, signing, submission, and confirmation flow. Reach for it when an agent needs to inspect Bags activity or perform explicitly approved Solana trading and fee-claim workflows.

Use cases

  • Inspect lifetime fee activity for a Bags token
  • Compare creators and fee-sharing proportions
  • Request a Solana swap quote without trading
  • Claim creator fees after explicit confirmation
  • Prepare token metadata before completing a launch on Bags

Key features

  • Bags token analytics and creator statistics
  • Trade quotes without transaction execution
  • Wallet-specific claim and authentication tools
  • Preview-and-confirm gates for writes
  • Per-transaction and per-session SOL caps
  • Solana swap and fee-claim execution

Tools14

What BagOS lets your agent do. Expand a tool for its parameters.

Verified live~1.7k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

18/18 checks healthy over the last 84d

What it can do

From the 14 tools this server returned when we ran it.

Runs commands · 1Handles credentials · 8Makes network requests · 1Read-only tools · 13
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age191 days
Maintainers1

Observed 2026-10-30 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · bagos-mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads416Package downloads in the last 30 days.
Last commit22d agoMost recent push to the default branch.
Install checkInconclusiveStarted but did not complete the MCP handshake in our test.
Tools exposed14Callable tools this server registers over MCP.

How BagOS works

What the BagOS MCP server does

The BagOS MCP server gives an MCP client access to Bags and related Solana data. It can retrieve token analytics, creator fee shares, claim totals, claim events, partner statistics, claimable wallet fees, and trade quotes. It also resolves launch-related social handles to fee-share wallets and can verify wallet ownership with an Ed25519 signature.

The server includes write paths for swapping tokens and claiming creator or liquidity-provider fees. A separate gated operation prepares token information and metadata, but it does not complete a token launch. The remaining launch configuration must be completed through Bags.

How it works

Read operations can use the Bags API key. Wallet-specific reads, including heartbeat, claimable-fee lookup, and authentication, also require access to the configured keypair. Write operations are disabled until the required wallet and write configuration is present.

For a write, the first request produces a preview and a single-use authorization token tied to the requested arguments. The action proceeds only after the token is supplied for confirmation. The documented execution sequence applies spend limits, simulates the transaction, signs it, submits it, and waits for confirmation.

Default controls limit spending to 0.1 SOL per transaction and 1 SOL per session. Writes use mainnet only, while the default setup is devnet-oriented and does not enable spending without configuration.

Setup and configuration

The BagOS MCP server can be started with:

Terminal
npx bagos-mcp-server

Set BAGS_API_KEY in the MCP client's server configuration. Add BAGS_KEYPAIR_PATH when using wallet-specific read tools or any workflow that needs a wallet. The README provides configuration examples for Claude Desktop and a claude mcp add command for Claude Code. Restart the client after adding the server. On startup, the process reports configuration problems to stderr and identifies missing variables.

Tools and capabilities

The available read tools cover:

  • Server and wallet reachability
  • Token lifetime fee analytics
  • Top creators and token fee-sharing proportions
  • Trade quotes without executing a swap
  • Claimable fees, partner statistics, claim totals, and paginated claim events
  • Launch-wallet resolution and wallet authentication

The gated metadata tool creates token information and uploads metadata. bags_execute_trade signs and submits swaps, while bags_claim_fees signs and submits fee claims after confirmation.

Limitations and notes

The BagOS MCP server does not implement the full token-launch flow. In particular, it does not create the Meteora fee-share configuration or choose the fee-claimer split; that decision and the remaining launch steps must be completed at Bags.

The README warns that 1.x incorrectly reported write success without signing or submitting transactions. Use the current 2.x package installed by npx bagos-mcp-server, rather than the deprecated 1.x release. Review the project's security documentation before enabling wallet-backed writes, and treat transaction confirmation and spend caps as controls rather than a substitute for human review.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about BagOS

BagOS is an MCP server that connects AI assistants to Bags and Solana. Its main tools read token analytics, creator and fee data, claimable balances, and trade quotes, while gated tools can prepare metadata, execute swaps, and claim fees after wallet configuration and explicit confirmation.

Install it by running `npx bagos-mcp-server` and adding the command to your MCP client configuration. Set `BAGS_API_KEY`, restart the client, and use the provided Claude Desktop or Claude Code configuration format.

Yes, BagOS works with Claude Desktop through an MCP server entry that runs `npx -y bagos-mcp-server`. Add `BAGS_API_KEY` in the entry's environment, restart Claude Desktop, and provide `BAGS_KEYPAIR_PATH` for wallet-specific tools.

BagOS requires a two-step write flow. The first call returns a preview and a single-use token tied to the exact arguments; the transaction is then checked against spend caps, simulated, signed, submitted, and confirmed only after the follow-up confirmation.

No, BagOS does not complete the full launch. Its gated metadata tool creates token information and uploads metadata, but Meteora fee-share configuration and the fee-claimer split must be completed separately at bags.fm.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewBagOS AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/bagos?style=directory)](https://allmcps.com/mcp/bagos)
HTML Embed
<a href="https://allmcps.com/mcp/bagos"><img src="https://allmcps.com/api/badge/bagos?style=directory" alt="BagOS on AllMCPs" /></a>