# bagos-mcp-server

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

- **Type:** MCP server
- **Trust:** 85/100 (A), scored on the package rubric
- **Verification:** verified (build provenance)
- **Version:** 3.0.7
- **Author:** io.github.edycutjong
- **License:** MIT
- **npm:** bagos-mcp-server
- **Source:** https://github.com/edycutjong/bagos
- **Compatible clients:** claude-code, cursor, copilot, gemini (basis: transport)

## Trust

85/100 (A), scored on the package rubric
- Publisher verified: no
- Build provenance: verified attestation
- npm trusted publishing (OIDC): yes
- Install scripts: nothing suspicious found
- Prompt-injection scan: not run
- Obfuscation scan: not run
- Evidence age: 51 days

## Security scan

- **Status:** warnings
- **Scanned:** 2026-08-15T09:37:13.484Z
- **Version scanned:** 2.2.0
- **CVEs:** none found by OSV at scan time

## Tools

11 declared. Statically extracted from the shipped source — a floor on the surface, not a census.
- `bags_authenticate`
- `bags_get_claimable_fees`
- `bags_get_creators`
- `bags_get_partner_stats`
- `bags_get_token_analytics`
- `bags_get_token_claim_events`
- `bags_get_token_claim_stats`
- `bags_get_token_creators`
- `bags_get_trade_quote`
- `bags_heartbeat`
- `bags_resolve_launch_wallet`

## Install

**Verdict: install** — No blocking findings and no open coverage gaps — safe to install as configured.
**Config** (claude-code):
```json
"{\n  \"mcpServers\": {\n    \"bagos-mcp-server\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"bagos-mcp-server\"\n      ],\n      \"env\": {\n        \"BAGS_API_KEY\": \"<YOUR_BAGS_API_KEY>\",\n        \"SOLANA_RPC_URL\": \"<YOUR_SOLANA_RPC_URL>\",\n        \"BAGS_MAX_SOL_PER_SESSION\": \"<YOUR_BAGS_MAX_SOL_PER_SESSION>\"\n      }\n    }\n  }\n}"
```
**Credentials it will ask for** (names only — Forge never holds a value):
- `BAGS_API_KEY` — Bags API Key (required)
- `SOLANA_RPC_URL` — Solana Rpc URL (optional)
- `BAGS_MAX_SOL_PER_SESSION` — Bags Max Sol Per Session (optional)
Placeholders only. Forge never holds, brokers, or transmits a credential value — replace each <YOUR_NAME> in your own config file. Do not send a value back to Forge; no Forge endpoint accepts one.
- This entry needs 3 credentials (1 required). The generated config carries placeholders, so it will fail in the editor rather than at runtime if they are left unset.

## Blast radius

Moderate blast radius — holds an api key; runs on your machine.
- Floor 26, ceiling 26 (tier: moderate)
- This is impact, not likelihood. A high radius is not a defect: a filesystem server is supposed to write files. It is never part of the trust score.

## Machine-readable views of this entry

- Signed JSON: https://forgeregistry.com/api/v1/packages/bagos-mcp-server
- Install plan: https://forgeregistry.com/api/v1/packages/bagos-mcp-server/install-plan
- Alternatives: https://forgeregistry.com/api/v1/alternatives/bagos-mcp-server
- HTML page: https://forgeregistry.com/registry/bagos-mcp-server
- MCP: POST https://forgeregistry.com/api/mcp → `forge_get_package` / `forge_install_plan`

## About this document

Generated by Forge (https://forgeregistry.com) — a compact rendering of the same record served, signed, at the JSON URL above. Trust and scan facts are the registry's own measurements; anything Forge did not measure is named as unmeasured rather than omitted.
