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.
We read the source, 4 d ago · rules 995398eba69f
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.
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.
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.
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.
claude mcp add bagos -e 'BAGS_API_KEY=<BAGS_API_KEY>' -- npx -y bagos-mcp-server
{
"mcpServers": {
"bagos": {
"command": "npx",
"args": [
"-y",
"bagos-mcp-server"
],
"env": {
"BAGS_API_KEY": "<BAGS_API_KEY>"
}
}
}
}
[mcp_servers.bagos]
command = "npx"
args = ["-y", "bagos-mcp-server"]
env = { BAGS_API_KEY = "<BAGS_API_KEY>" }
{
"mcpServers": {
"bagos": {
"command": "npx",
"args": [
"-y",
"bagos-mcp-server"
],
"env": {
"BAGS_API_KEY": "<BAGS_API_KEY>"
}
}
}
}
{
"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).
Remote MCP server for Scanduro QR codes, scan analytics and controlled code actions.
WSPR beacon analytics MCP server. Band openings, path analysis, solar correlation.
Goose-first MCP server for Workbench-owned acceptance evidence, validation gates, and analytics.
MCP server for Google Search Console: properties, sitemaps, search analytics and URL inspection
MCP server for opn.onl: shorten links, analytics, branded QR codes, and link management.
Google Analytics 4 MCP server: 27 read tools, no write tools.
MCP server for the Google Search Console API: search analytics, sitemaps, URL inspection, sites.
Ontology-based MCP server for database schema analysis and RDF/OWL ontology generation
Answers built from our own checks of this server.