What this kind of tool is for
- Query, inspect, or seed a database without writing a one-off script.
- Let your agent look up schema details before it writes migration code.
- Move a small dataset between tools without leaving the terminal.
How to compare servers like this
- Engine match:
- Confirm it speaks your exact database and version, not just the family.
- Access scope:
- Read-only connections are the safe default — start there before granting writes.
- Safety rails:
- Check whether destructive statements need an explicit confirmation before they run.
- Maintenance signal:
- Database drivers change; a recently updated tool is less likely to break mid-query.
This page carries your copy-paste config: pick your MCP client in the install section on this page and use the copy button.
What is the BagOS MCP server?
MCP server for Bags on Solana: token analytics, trade quotes, and gated write operations.
How to install BagOS
Copy-paste configuration for popular MCP clients.
BAGS_API_KEYrequiredsecretBags API key from dev.bags.fm. Required for all tools.
BAGS_NETWORKSolana cluster: devnet (default) or mainnet. Writes on mainnet move real funds.
SOLANA_RPC_URLsecretCustom Solana RPC endpoint. Defaults to the public RPC for BAGS_NETWORK.
BAGS_KEYPAIR_PATHPath to a Solana keypair JSON file. Only required for write tools.
BAGS_MAX_SOL_PER_TXHard cap on SOL spent by any single transaction. Default 0.1.
BAGS_MAX_SOL_PER_SESSIONHard cap on total SOL spent across one server session. Default 1.0.
BAGS_ALLOW_UNCONFIRMEDSet true to skip the two-step confirmation on writes. Default false.
BOS_TOKEN_MINTMint address of the BOS token used for gating write tools.
BOS_REQUIRED_BALANCEMinimum BOS balance required to call write tools. Default 10000.
BAGS_ALLOW_UNCAPPED_TOKEN_SWAPSPermit non-SOL-input swaps, which the SOL-denominated caps cannot limit.
USE_MOCK_DATAMakes bags_get_claimable_fees return fabricated data instead of calling the API. Default false.
{
"mcpServers": {
"bagos": {
"command": "npx",
"args": [
"-y",
"bagos-mcp-server"
],
"env": {
"BAGS_API_KEY": "<YOUR_BAGS_API_KEY>",
"BAGS_NETWORK": "<YOUR_BAGS_NETWORK>",
"SOLANA_RPC_URL": "<YOUR_SOLANA_RPC_URL>",
"BAGS_KEYPAIR_PATH": "<YOUR_BAGS_KEYPAIR_PATH>",
"BAGS_MAX_SOL_PER_TX": "<YOUR_BAGS_MAX_SOL_PER_TX>",
"BAGS_MAX_SOL_PER_SESSION": "<YOUR_BAGS_MAX_SOL_PER_SESSION>",
"BAGS_ALLOW_UNCONFIRMED": "<YOUR_BAGS_ALLOW_UNCONFIRMED>",
"BOS_TOKEN_MINT": "<YOUR_BOS_TOKEN_MINT>",
"BOS_REQUIRED_BALANCE": "<YOUR_BOS_REQUIRED_BALANCE>",
"BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS": "<YOUR_BAGS_ALLOW_UNCAPPED_TOKEN_SWAPS>",
"USE_MOCK_DATA": "<YOUR_USE_MOCK_DATA>"
}
}
}
}Related MCP servers
MCP server for data engineering: validation, transformation, visualization, and APIs.

RentRollAPI
Extract verified data from CRE rent rolls and T12 operating statements (PDF, Excel, CSV, scans)
Crypto data & trading MCP with 43 tools: prices, DeFi, NFTs, Solana swaps. 11 tools free.
View repository →Crypto MCP with 21 tools for market data, DeFi, analytics, and sentiment. Post-paid USDC billing.
View repository →
zzop
Deterministic repository oracle for AI agents: inventory, dependency graph, frontend-backend join.

