DexSQL
SQL for Android APK and DEX files: classes, methods, strings, references and smali.
MCP server for Bags on Solana: token analytics, trade quotes, and gated write operations.
使っているAIアプリを選んで、設定をコピーしてください。
チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月14日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
BagOS のキーが必要です(提供元のサイトで作成) · 設定を 2 項目入力 (BAGS_KEYPAIR_PATH, BOS_REQUIRED_BALANCE) · 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude に MCP server BagOS を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "bagos": { "command": "npx", "args": [ "-y", "bagos-mcp-server" ], "env": { "BAGS_API_KEY": "your-value", "BAGS_KEYPAIR_PATH": "your-value", "BOS_TOKEN_MINT": "your-value", "BOS_REQUIRED_BALANCE": "10000", "BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) BAGS_API_KEY, BOS_TOKEN_MINT, BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS, BAGS_KEYPAIR_PATH, BOS_REQUIRED_BALANCE は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、BagOS のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -vMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v
一度入れれば、Node.js を使うすべてのツールで使えます
これはプログラムの設定でキーではありません。登録は不要で、作者の説明どおりに入力します。
BAGS_KEYPAIR_PATH Path to a Solana keypair JSON file. Only required for write tools.BOS_REQUIRED_BALANCE Minimum BOS balance required to call write tools. Default 10000. · 初期値 10000説明は英語の原文のままです。
SettingsDeveloperEdit Config
{
"mcpServers": {
"bagos": {
"command": "npx",
"args": [
"-y",
"bagos-mcp-server"
],
"env": {
"BAGS_API_KEY": "your-value",
"BAGS_KEYPAIR_PATH": "your-value",
"BOS_TOKEN_MINT": "your-value",
"BOS_REQUIRED_BALANCE": "10000",
"BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS": "your-value"
}
}
}
}キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
BagOS を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が BagOS を使っていると言うか、回答に BagOS のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
BAGS_NETWORK Solana cluster: devnet (default) or mainnet. Writes on mainnet move real funds. · 初期値 devnetSOLANA_RPC_URL Custom Solana RPC endpoint. Defaults to the public RPC for BAGS_NETWORK.BAGS_MAX_SOL_PER_TX Hard cap on SOL spent by any single transaction. Default 0.1. · 初期値 0.1BAGS_MAX_SOL_PER_SESSION Hard cap on total SOL spent across one server session. Default 1.0. · 初期値 1.0BAGS_ALLOW_UNCONFIRMED Set true to skip the two-step confirmation on writes. Default false. · 初期値 falseUSE_MOCK_DATA Makes bags_get_claimable_fees return fabricated data instead of calling the API. Default false. · 初期値 false説明は英語の原文のままです。
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ BagOS につなげません
BagOS はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
A · BagOS につなげるアプリを使う
B · 暗号資産・ブロックチェーン の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
Claude Code につなげますが、先に準備が必要です
BagOS のキーが必要です(提供元のサイトで作成) · 設定を 2 項目入力 (BAGS_KEYPAIR_PATH, BOS_REQUIRED_BALANCE) · 先にパソコンへ Node.js を入れてください(1 回だけ)
このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude Code に MCP server BagOS を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user bagos --env BAGS_API_KEY=your-value --env BAGS_KEYPAIR_PATH=your-value --env BOS_TOKEN_MINT=your-value --env BOS_REQUIRED_BALANCE=10000 --env BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS=your-value -- npx -y bagos-mcp-server 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) BAGS_API_KEY, BOS_TOKEN_MINT, BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS, BAGS_KEYPAIR_PATH, BOS_REQUIRED_BALANCE は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、BagOS のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -vMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v
一度入れれば、Node.js を使うすべてのツールで使えます
これはプログラムの設定でキーではありません。登録は不要で、作者の説明どおりに入力します。
BAGS_KEYPAIR_PATH Path to a Solana keypair JSON file. Only required for write tools.BOS_REQUIRED_BALANCE Minimum BOS balance required to call write tools. Default 10000. · 初期値 10000説明は英語の原文のままです。
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
claude mcp add --scope user bagos --env BAGS_API_KEY=your-value --env BAGS_KEYPAIR_PATH=your-value --env BOS_TOKEN_MINT=your-value --env BOS_REQUIRED_BALANCE=10000 --env BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS=your-value -- npx -y bagos-mcp-serverEnter の前に「your-value」を自分のキーに書き換えてください
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
BagOS が一覧にあり、接続済みと表示されれば OK です
BagOS を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が BagOS を使っていると言うか、回答に BagOS のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
BAGS_NETWORK Solana cluster: devnet (default) or mainnet. Writes on mainnet move real funds. · 初期値 devnetSOLANA_RPC_URL Custom Solana RPC endpoint. Defaults to the public RPC for BAGS_NETWORK.BAGS_MAX_SOL_PER_TX Hard cap on SOL spent by any single transaction. Default 0.1. · 初期値 0.1BAGS_MAX_SOL_PER_SESSION Hard cap on total SOL spent across one server session. Default 1.0. · 初期値 1.0BAGS_ALLOW_UNCONFIRMED Set true to skip the two-step confirmation on writes. Default false. · 初期値 falseUSE_MOCK_DATA Makes bags_get_claimable_fees return fabricated data instead of calling the API. Default false. · 初期値 false説明は英語の原文のままです。
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
BagOS のキーが必要です(提供元のサイトで作成) · 設定を 2 項目入力 (BAGS_KEYPAIR_PATH, BOS_REQUIRED_BALANCE) · 先にパソコンへ Node.js を入れてください(1 回だけ)
このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Cursor に MCP server BagOS を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "bagos": { "command": "npx", "args": [ "-y", "bagos-mcp-server" ], "env": { "BAGS_API_KEY": "your-value", "BAGS_KEYPAIR_PATH": "your-value", "BOS_TOKEN_MINT": "your-value", "BOS_REQUIRED_BALANCE": "10000", "BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) BAGS_API_KEY, BOS_TOKEN_MINT, BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS, BAGS_KEYPAIR_PATH, BOS_REQUIRED_BALANCE は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、BagOS のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -vMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v
一度入れれば、Node.js を使うすべてのツールで使えます
これはプログラムの設定でキーではありません。登録は不要で、作者の説明どおりに入力します。
BAGS_KEYPAIR_PATH Path to a Solana keypair JSON file. Only required for write tools.BOS_REQUIRED_BALANCE Minimum BOS balance required to call write tools. Default 10000. · 初期値 10000説明は英語の原文のままです。
BagOS の設定で BAGS_API_KEY, BOS_TOKEN_MINT, BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS, BAGS_KEYPAIR_PATH, BOS_REQUIRED_BALANCE が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
BagOS を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が BagOS を使っていると言うか、回答に BagOS のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
BAGS_NETWORK Solana cluster: devnet (default) or mainnet. Writes on mainnet move real funds. · 初期値 devnetSOLANA_RPC_URL Custom Solana RPC endpoint. Defaults to the public RPC for BAGS_NETWORK.BAGS_MAX_SOL_PER_TX Hard cap on SOL spent by any single transaction. Default 0.1. · 初期値 0.1BAGS_MAX_SOL_PER_SESSION Hard cap on total SOL spent across one server session. Default 1.0. · 初期値 1.0BAGS_ALLOW_UNCONFIRMED Set true to skip the two-step confirmation on writes. Default false. · 初期値 falseUSE_MOCK_DATA Makes bags_get_claimable_fees return fabricated data instead of calling the API. Default false. · 初期値 false説明は英語の原文のままです。
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
BagOS のキーが必要です(提供元のサイトで作成) · 設定を 2 項目入力 (BAGS_KEYPAIR_PATH, BOS_REQUIRED_BALANCE) · 先にパソコンへ Node.js を入れてください(1 回だけ)
このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの VS Code に MCP server BagOS を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "bagos": { "type": "stdio", "command": "npx", "args": [ "-y", "bagos-mcp-server" ], "env": { "BAGS_API_KEY": "your-value", "BAGS_KEYPAIR_PATH": "your-value", "BOS_TOKEN_MINT": "your-value", "BOS_REQUIRED_BALANCE": "10000", "BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS": "your-value" } } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) BAGS_API_KEY, BOS_TOKEN_MINT, BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS, BAGS_KEYPAIR_PATH, BOS_REQUIRED_BALANCE は "your-value" のままにして、本当の値は私がファイルかアプリの入力欄に自分で貼るよう伝える。チャットにキーを書かせない。5) 了承した内容を実行し、BagOS のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -vMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v
一度入れれば、Node.js を使うすべてのツールで使えます
これはプログラムの設定でキーではありません。登録は不要で、作者の説明どおりに入力します。
BAGS_KEYPAIR_PATH Path to a Solana keypair JSON file. Only required for write tools.BOS_REQUIRED_BALANCE Minimum BOS balance required to call write tools. Default 10000. · 初期値 10000説明は英語の原文のままです。
BagOS の設定で BAGS_API_KEY, BOS_TOKEN_MINT, BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS, BAGS_KEYPAIR_PATH, BOS_REQUIRED_BALANCE が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
BagOS を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が BagOS を使っていると言うか、回答に BagOS のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
BAGS_NETWORK Solana cluster: devnet (default) or mainnet. Writes on mainnet move real funds. · 初期値 devnetSOLANA_RPC_URL Custom Solana RPC endpoint. Defaults to the public RPC for BAGS_NETWORK.BAGS_MAX_SOL_PER_TX Hard cap on SOL spent by any single transaction. Default 0.1. · 初期値 0.1BAGS_MAX_SOL_PER_SESSION Hard cap on total SOL spent across one server session. Default 1.0. · 初期値 1.0BAGS_ALLOW_UNCONFIRMED Set true to skip the two-step confirmation on writes. Default false. · 初期値 falseUSE_MOCK_DATA Makes bags_get_claimable_fees return fabricated data instead of calling the API. Default false. · 初期値 false説明は英語の原文のままです。
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください
JSON 設定は下の「開発者向け」にあります
Claude Code
claude mcp add --scope user bagos --env BAGS_API_KEY=your-value --env BAGS_KEYPAIR_PATH=your-value --env BOS_TOKEN_MINT=your-value --env BOS_REQUIRED_BALANCE=10000 --env BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS=your-value -- npx -y bagos-mcp-serverClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"bagos": {
"command": "npx",
"args": [
"-y",
"bagos-mcp-server"
],
"env": {
"BAGS_API_KEY": "your-value",
"BAGS_KEYPAIR_PATH": "your-value",
"BOS_TOKEN_MINT": "your-value",
"BOS_REQUIRED_BALANCE": "10000",
"BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"bagos": {
"command": "npx",
"args": [
"-y",
"bagos-mcp-server"
],
"env": {
"BAGS_API_KEY": "your-value",
"BAGS_KEYPAIR_PATH": "your-value",
"BOS_TOKEN_MINT": "your-value",
"BOS_REQUIRED_BALANCE": "10000",
"BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"bagos": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"bagos-mcp-server"
],
"env": {
"BAGS_API_KEY": "your-value",
"BAGS_KEYPAIR_PATH": "your-value",
"BOS_TOKEN_MINT": "your-value",
"BOS_REQUIRED_BALANCE": "10000",
"BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS": "your-value"
}
}
}
}BAGS_API_KEY 秘密 必須 envBAGS_NETWORK envSOLANA_RPC_URL 秘密 envBAGS_KEYPAIR_PATH 必須 envBAGS_MAX_SOL_PER_TX envBAGS_MAX_SOL_PER_SESSION envBAGS_ALLOW_UNCONFIRMED envBOS_TOKEN_MINT 秘密 必須 envBOS_REQUIRED_BALANCE 必須 envBAGS_ALLOW_UNCAPPED_TOKEN_SWAPS 秘密 必須 envUSE_MOCK_DATA env説明は英語の原文のままです。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
npm: bagos-mcp-serverこのサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月16日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント edycutjong で確認済みです
コードの最終更新:3 日前
MITを使用
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
OSV.dev に bagos-mcp-server@3.0.7 の登録はありません
このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月15日
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
まだレビューはありません
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:BAGS_API_KEY, BOS_TOKEN_MINT, BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は3 日前、最新バージョン(3.0.7)がレジストリに届いたのは2 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:DexSQL, PayRam, DexPaprika, Alchemy MCP Server, X402 List MCP
同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
SQL for Android APK and DEX files: classes, methods, strings, references and smali.
Install, configure, operate and integrate self-hosted PayRam crypto payment gateways.
DEX and on-chain data: liquidity pools, token prices, swaps, and trading volume.
Blockchain data across 100+ chains: token prices, NFTs, transfers, simulation, traces, Solana DAS
Find and vet x402 payment APIs before your agent pays one: uptime, price, on-chain volume.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
BagOS 🚦 An MCP server that lets an AI assistant trade on Solana — and signs nothing until you say so.
npx bagos-mcp-server
Claude Desktop — ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": { "bagos": { "command": "npx", "args": ["-y", "bagos-mcp-server"], "env": { "BAGS_API_KEY": "your-key-here" } } } }
Claude Code:
claude mcp add bagos --env BAGS_API_KEY=your-key-here -- npx -y bagos-mcp-server
Restart the client, then ask it: *"show me the top Bags creators"*. The server prints a configuration report to stderr on startup; if something is missing it tells you which variable and why.
An API key alone gives you 8 of the 11 read tools. Three of them — bags_heartbeat, bags_get_claimable_fees and bags_authenticate — report on *your* wallet, so they also need BAGS_KEYPAIR_PATH and will error without it. Writes stay off until you configure them (Getting Started).
Full threat model, disclosure policy and the limits of each control: [.github/SECURITY.md](.github/SECURITY.md).
⚠️ If you used 1.x — v2.0.0 corrected a serious defect
v2.0.0 corrects a serious defect. In 1.x the write tools built
transactions, discarded them, and reported success — nothing was ever signed
or submitted. If you used 1.x and believed a trade or claim executed, it did
not. See CHANGELOG.md.
2.x is live on npm and is what
npx bagos-mcp-serverinstalls — see the
latest release. Every release ships with
the tarball is cryptographically attested to this repository and the commit that built it.
1.x is deprecated on npm. If you are still on it, upgrade.
An MCP server that can move money gives an AI assistant a signing key. The assistant decides, and the transaction is already on chain by the time a human reads about it. Nothing in the protocol makes the model pause, and nothing bounds what a single misunderstood instruction can spend.
Bags is a Solana token launchpad whose defining feature is creator fee sharing: a token's trading fees are split on-chain between the people who launched and promote it, claimable at any time. That makes "who earns from this token, how much is claimable, and claim it" a real workflow — and the one BagOS automates.
BagOS lets an AI assistant read Bags/Solana token data and — with explicit confirmation — execute swaps and claim creator fees from your wallet. Writes are off unless you configure them, they are mainnet-only, and the first call to a write tool signs nothing: it returns a preview and a single-use token that only authorizes the exact arguments it was issued for.
Every write goes through this:
token gate → spend caps → confirmation → simulate → sign → send → confirm
| Tool | Type | What it does |
|---|---|---|
bags_heartbeat | read | Server status and wallet reachability |
bags_get_token_analytics | read | Lifetime fee data for a token mint |
bags_get_creators | read | Top token creators by lifetime fees |
bags_get_trade_quote | read | Price quote for a swap. Does not trade. |
bags_get_claimable_fees | read | Fees currently claimable by your wallet |
bags_get_partner_stats | read | Partner config claim statistics |
bags_get_token_claim_stats | read | Per-creator claim totals — the royalty roster with amounts claimed |
bags_get_token_claim_events | read | The claim audit trail for a token, paginated |
bags_get_token_creators | read | Who shares a token's fees, and in what proportion |
bags_resolve_launch_wallet | read | Social handle (twitter/tiktok/kick/github) → fee-share wallet |
bags_authenticate | read | Verify wallet ownership via Ed25519 signature |
bags_prepare_token_metadata | gated | Creates token info + metadata. Does not launch a token. |
bags_execute_trade | write | Swap tokens. Signs and submits. |
bags_claim_fees | write | Claim creator/LP fees. Signs and submits. |
bags_prepare_token_metadata reserves a mint and uploads metadata. Completing a launch also requires a Meteora fee-share config, whose fee-claimer split has to be your decision — so this server does not implement that step rather than guessing at it. Finish the launch at bags.fm.
Writes are off unless you configure them, and they are mainnet-only.
Bags has no devnet deployment. Its API endpoint and its Meteora/fee-share program IDs are all mainnet. This server nonetheless defaults to devnet, so an unconfigured install cannot spend real money. Calling a write tool on devnet returns an explanation, not a cryptic program error.
The first call to a write tool signs nothing. It returns a preview and a single-use token:
⚠️ CONFIRMATION REQUIRED — nothing has been signed or sent.
Action: Swap 0.05 of So1111…1112 for EkJuyY…dBAGS expect 4823917722 (min 4679199990) slippage 3% network 🔴 MAINNET — real funds
Spend: 0.05 SOL Caps: 0.1 SOL/tx · 0/1 SOL used this session
To execute, call bags_execute_trade again with the identical arguments plus: confirm: "kR3nT9xQm2vP"
The token is a fingerprint of the tool name plus the exact arguments, so one issued for a 0.01 SOL swap cannot authorize a 10 SOL one. It expires in five minutes and is consumed on every outcome, so it cannot be replayed.
On success you get a real signature and explorer link — never a success message for a transaction that did not land.
Set BAGS_ALLOW_UNCONFIRMED=true to skip the preview. Spend caps still apply.
The caps only bind on SOL. A swap whose input is some other token cannot be valued in SOL, so no cap can limit it. Those swaps are refused by default; set BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS=true to permit them, and the preview will say plainly that the trade is uncapped.
A real transaction, landed through the production write path and re-fetched from the chain rather than trusted from a return value:
| Signature | 2kvu25xW…U5Dm |
| Cluster | devnet |
| Slot | 484219564 |
| Status | err: null |
| Captured | 2026-08-16 |
Reproduce it yourself with npm run proof:devnet — it funds a throwaway keypair from the faucet, pushes a transfer through the same simulate → sign → send → confirm path the write tools use, then re-fetches the signature from the chain. A function returning success is a claim; a signature you can open on an explorer is evidence. Full method in DEMO.md.
418 tests. The bypass tests around the spend caps and the confirmation step are load-bearing; treat a change there as a security change. They were checked by hand against deliberate mutations: deleting the cap guard, the confirmation check, the decimals lookup, or the spend recorder each makes the suite fail. That was a manual exercise, not an automated mutation-testing stage — there is no mutation config in this repo to re-run.
| Layer | Status | Details |
|---|
| Real default path | ✅ | No kill-switch flag in any documented command. USE_MOCK_DATA defaults off; when on, it affec