mcpbeat Sign in

BagOS MCP Server

by edycutjong Your server? Claim it
local only

BagOS runs on your own machine — the client starts it, so there is no endpoint to ping. 192 installs a week from npm. Last commit 26 Sep 2026.

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

Installs per day peak 867 · avg 60 · -86% w/w
a month agotoday
192
Installs / week
npm · bagos-mcp-server
1
Stars
0 open issues
26 Sep 2026
Last commit
17 releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 4 d ago · rules 995398eba69f

A tool parameter reaches a dangerous call

A value the model can set ends up inside a file or shell call. That is not a flaw by itself — for a terminal server it is the job — but it is where things go wrong when it is not.

A tool parameter reaches a file or shell call bags_authenticate.privateKeyPath → src/tools/AuthenticateTool.ts:120
               fs.writeFileSync(credPath, JSON.stringify(credentials, null, 2));

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

A tool parameter here reaches a dangerous call

That is not a flaw by itself — but it is where things go wrong when it is not the job. We re-read this code on every release. Watch it and you hear from us the day another one appears.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add bagos -e 'BAGS_API_KEY=<BAGS_API_KEY>' -- npx -y bagos-mcp-server
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "bagos": {
      "command": "npx",
      "args": [
        "-y",
        "bagos-mcp-server"
      ],
      "env": {
        "BAGS_API_KEY": "<BAGS_API_KEY>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.bagos]
command = "npx"
args = ["-y", "bagos-mcp-server"]
env = { BAGS_API_KEY = "<BAGS_API_KEY>" }
.cursor/mcp.json
{
  "mcpServers": {
    "bagos": {
      "command": "npx",
      "args": [
        "-y",
        "bagos-mcp-server"
      ],
      "env": {
        "BAGS_API_KEY": "<BAGS_API_KEY>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "bagos": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "bagos-mcp-server"
      ],
      "env": {
        "BAGS_API_KEY": "<BAGS_API_KEY>"
      }
    }
  }
}

Put your own value in place of <BAGS_API_KEY> (Bags API key from dev.bags.fm. Required for all tools). The author’s registry entry marks it as required.

Optional settings from the registry entry, left out of the block above: BAGS_NETWORK (Solana cluster: devnet (default) or mainnet. Writes on mainnet move real funds), SOLANA_RPC_URL (Custom Solana RPC endpoint. Defaults to the public RPC for BAGS_NETWORK), BAGS_KEYPAIR_PATH (Path to a Solana keypair JSON file. Only required for write tools), BAGS_MAX_SOL_PER_TX (Hard cap on SOL spent by any single transaction. Default 0.1), BAGS_MAX_SOL_PER_SESSION (Hard cap on total SOL spent across one server session. Default 1.0), BAGS_ALLOW_UNCONFIRMED (Set true to skip the two-step confirmation on writes. Default false), BOS_TOKEN_MINT (Mint address of the BOS token used for gating write tools), BOS_REQUIRED_BALANCE (Minimum BOS balance required to call write tools. Default 10000), BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS (Permit non-SOL-input swaps, which the SOL-denominated caps cannot limit), USE_MOCK_DATA (Makes bags_get_claimable_fees return fabricated data instead of calling the API. Default false).

Alternatives to BagOS

same job, measured the same way
Scanduro
by sssnl-nl

Remote MCP server for Scanduro QR codes, scan analytics and controlled code actions.

answering
Wspr MCP
by qso-graph

WSPR beacon analytics MCP server. Band openings, path analysis, solar correlation.

2 431 installs/wk local only
AI Workbench MCP
by hrishikesh-thakre

Goose-first MCP server for Workbench-owned acceptance evidence, validation gates, and analytics.

116 installs/wk local only
Google Search Console
by ni-c

MCP server for Google Search Console: properties, sitemaps, search analytics and URL inspection

153 installs/wk local only
Opn MCP
by ysalitrynskyi

MCP server for opn.onl: shorten links, analytics, branded QR codes, and link management.

45 installs/wk local only
Google Analytics 4
by getmcpads

Google Analytics 4 MCP server: 27 read tools, no write tools.

571 installs/wk local only
Google Search Console MCP
by a1-x-tech

MCP server for the Google Search Console API: search analytics, sitemaps, URL inspection, sites.

96 installs/wk local only
Orionbelt Analytics
by ralfbecher

Ontology-based MCP server for database schema analysis and RDF/OWL ontology generation

657 installs/wk local only

BagOS — questions

Answers built from our own checks of this server.

Why is there no uptime for BagOS?
BagOS runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package bagos-mcp-server was installed 192 times last week.
How do I connect BagOS?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls bagos-mcp-server straight from npm; nothing to host, nothing to sign up for.
How many people use BagOS?
The npm package bagos-mcp-server was installed 192 times in the last week. Week over week that is -86%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is BagOS open source?
Yes — it is published under the MIT licence, written in TypeScript and 1 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.