🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

bostrom-mcp

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bostrom-mcp

MCP server for the Bostrom blockchain: read chain state and sign transactions as an autonomous agent

latest
Source
npmnpm
Version
0.8.1
Version published
Weekly downloads
46
-28.12%
Maintainers
1
Weekly downloads
 
Created
Source

bostrom-mcp

MCP server for the Bostrom blockchain — knowledge graph, economy, lithium mining, governance, infrastructure, and autonomous agent capabilities.

85 tools: 45 read + 40 write. Read tools work with zero configuration. Write tools require a wallet mnemonic. Built-in CPU miner for Lithium proof-of-work.

Installation

Option 1: Build from source

cd rust
cargo build --release

Binary: rust/target/release/bostrom-mcp

Option 2: Claude Code (CLI)

claude mcp add bostrom -- /path/to/bostrom-mcp

With write tools:

claude mcp add bostrom \
  -e BOSTROM_MNEMONIC="your twelve word mnemonic phrase here ..." \
  -- /path/to/bostrom-mcp

Option 3: Claude Desktop

Open Settings > Developer > Edit Config and add:

{
  "mcpServers": {
    "bostrom": {
      "command": "/path/to/bostrom-mcp",
      "env": {
        "BOSTROM_MNEMONIC": "your twelve word mnemonic phrase here ..."
      }
    }
  }
}

Option 4: Cursor

Add to .cursor/mcp.json in your project:

{
  "mcpServers": {
    "bostrom": {
      "command": "/path/to/bostrom-mcp",
      "env": {
        "BOSTROM_MNEMONIC": "your twelve word mnemonic phrase here ..."
      }
    }
  }
}

Option 5: Any MCP client

The binary communicates over stdio using the Model Context Protocol. Any MCP-compatible client can connect to it.

Getting a wallet

Write tools require a Bostrom wallet mnemonic. If you don't have one:

  • Install cyb.ai or any Cosmos wallet (Keplr, Cosmostation)
  • Create a new wallet and save the mnemonic phrase
  • Fund it with BOOT tokens (needed for gas fees)
  • Set BOSTROM_MNEMONIC in your MCP client config

Without a mnemonic, all 45 read tools work normally — you can explore the knowledge graph, check balances, view proposals, mine proofs, and more.

Environment variables

VariableDefaultDescription
BOSTROM_MNEMONICWallet mnemonic for write tools. Without it, only read tools are available.
BOSTROM_RPChttps://rpc.bostrom.cybernode.aiRPC endpoint
BOSTROM_LCDhttps://lcd.bostrom.cybernode.aiLCD/REST endpoint
BOSTROM_IPFS_APIhttps://io.cybernode.aiIPFS API for pinning content
BOSTROM_GAS_PRICE0.01bootGas price
BOSTROM_GAS_MULTIPLIER1.4Gas estimate multiplier
BOSTROM_MIN_GAS100000Minimum gas limit
BOSTROM_MAX_SEND_AMOUNTCircuit breaker: max amount per send (optional)

Tools

Infrastructure (3)

ToolDescription
infra_chain_statusLatest block height, time, chain ID, sync status
infra_tx_searchSearch transactions by sender, contract, or message type
infra_tx_detailFull decoded transaction by hash

Knowledge Graph — Read (6)

ToolDescription
graph_searchSearch cyberlinks by particle CID or neuron address
graph_rankGet cyberank score for a particle
graph_neuronGet neuron profile and cyberlink count
graph_particleFetch particle content by CID from IPFS
graph_recent_linksGet the most recent cyberlinks
graph_statsTotal cyberlinks and active neurons

Knowledge Graph — Write (5)

ToolDescription
graph_create_cyberlinkCreate a single cyberlink between two CIDs
graph_create_cyberlinksCreate multiple cyberlinks in one transaction
graph_investmintConvert HYDROGEN into millivolt or milliampere
graph_pin_contentPin text content to IPFS and return the CID
graph_create_knowledgeCompound: pin content to IPFS then create cyberlinks

Economy (6)

ToolDescription
economy_balancesAll token balances for an address
economy_supplyTotal supply for a token denom
economy_mint_priceCurrent Volt and Ampere mint prices
economy_stakingDelegations, rewards, and unbonding for an address
economy_poolsLiquidity pool stats
economy_inflationCurrent inflation rate and minting parameters

Wallet (7)

ToolDescription
wallet_infoGet wallet address and all balances
wallet_sendSend tokens to an address
wallet_delegateDelegate tokens to a validator
wallet_undelegateUndelegate tokens from a validator
wallet_redelegateMove delegation between validators
wallet_claim_rewardsClaim staking rewards from a validator
wallet_voteVote on a governance proposal

Governance (4)

ToolDescription
gov_proposalsList proposals (active, passed, rejected, all)
gov_proposal_detailFull proposal details with vote tally
gov_validatorsActive validator set with commission and voting power
gov_paramsChain parameters

Lithium Mining — Read (21)

ToolDescription
li_block_contextCurrent block hash and data hash for mining
li_core_configToken denom, admin, paused status
li_burn_statsTotal LI burned
li_total_mintedTotal LI minted and supply cap
li_mine_stateFull mine state: config, window status, stats, emission
li_mine_configMax proof age, gas cost, window size, PID interval, min difficulty
li_window_statusSliding window: proof count, d_rate, base rate, alpha, beta
li_emissionEmission breakdown: mining, staking, referral
li_reward_estimateEstimate LI reward for a given difficulty
li_mine_statsAggregate: total proofs, rewards, unique miners
li_miner_statsPer-miner: proofs submitted, total rewards, last proof time
li_recent_proofsRecent proof submission transactions
li_stake_configUnbonding period, linked contracts
li_total_stakedTotal LI staked across all stakers
li_stake_infoStaking state for an address
li_staking_statsReserve, total staked, reward index
li_refer_configReferral contract config
li_referrer_ofWho referred a specific miner
li_referral_infoReferral rewards and count for a referrer
li_community_poolUnclaimed community pool balance
li_miner_tx_historyMiner's recent contract TX history

Lithium Mining — Write (5)

ToolDescription
li_submit_proofSubmit a mining proof with client-chosen difficulty
li_stakeStake LI tokens
li_unstakeUnstake LI tokens
li_claim_rewardsClaim LI staking rewards
li_claim_unbondingClaim matured unbonding LI tokens
li_claim_referral_rewardsClaim accumulated referral rewards

Lithium Mining — CPU Miner (1)

ToolDescription
li_mine_proofMine a proof using CPU (UniversalHash PoW), optionally auto-submit on-chain. Generates random 32-byte challenge locally, uses lithium-cli contract types for correct submit_proof message format.

Token Factory (6)

ToolDescription
token_createCreate a new token denom (costs ~10,000 BOOT)
token_set_metadataSet token name, symbol, description, exponent
token_mintMint tokens to an address
token_burnBurn tokens from an address
token_change_adminTransfer token admin to another address
token_list_createdList all denoms created by this wallet

Liquidity & Swap (7)

ToolDescription
swap_tokensSwap tokens with auto pool discovery and price calculation
swap_estimatePreview a swap: find pool, get price, estimate output
liquidity_create_poolCreate a Gravity DEX pool (costs ~1,000 BOOT)
liquidity_depositDeposit tokens into a pool
liquidity_withdrawWithdraw LP tokens from a pool
liquidity_swapSwap via pool with explicit pool ID and limit price
liquidity_pool_detailGet pool reserves, parameters, and batch info

CosmWasm Contracts (7)

ToolDescription
contract_executeExecute a contract message
contract_execute_multiExecute multiple contract messages atomically
wasm_uploadUpload .wasm bytecode to chain
wasm_instantiateInstantiate a contract from code ID
wasm_migrateMigrate a contract to new code
wasm_update_adminUpdate contract admin
wasm_clear_adminClear contract admin (irreversible)

Energy Grid (4)

ToolDescription
grid_create_routeCreate an energy route to another address
grid_edit_routeEdit route allocated value (millivolt/milliampere)
grid_delete_routeDelete an energy route
grid_list_routesList all energy routes from an address

IBC (2)

ToolDescription
ibc_transferIBC token transfer to another chain
ibc_channelsList IBC channels and their status

Agent workflows

With write tools enabled, an LLM agent can perform autonomous workflows:

  • Lithium mining: li_mine_proof(difficulty: 16, auto_submit: true) — single-tool mining with auto-submission
  • Manual mining: li_mine_stateli_mine_proofli_submit_proofli_stake
  • Token launch + market: token_createtoken_set_metadatatoken_mintliquidity_create_poolgraph_create_knowledge
  • Knowledge graph: graph_pin_contentgraph_create_cyberlinkgraph_searchgraph_rank
  • Governance: gov_proposalsgov_proposal_detailwallet_vote
  • DeFi: swap_estimateswap_tokensliquidity_deposit
  • Contract deployment: wasm_uploadwasm_instantiatecontract_execute

Dependencies

  • uhash-prover — UniversalHash CPU solver (feature-gated behind mining)
  • lithium-cli — Contract types and mainnet deployment addresses (lib-only, no heavy CLI deps)

Development

cd rust
cargo build --release
# Without mining (smaller binary):
cargo build --release --no-default-features

License

MIT

Keywords

mcp

FAQs

Package last updated on 12 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts