Baozi MCP Server

MCP server for Baozi prediction markets on Solana - full protocol coverage with market creation and AI agent network

Local serverstdio

What is the Baozi MCP MCP server?

Baozi MCP MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. MCP server for Baozi prediction markets on Solana - full protocol coverage with market creation and AI agent network.

What you get

MCP server for AI agents to trade Solana prediction markets

What the assistant can call

Once Baozi MCP is connected, these are the calls the assistant has available:

  • list_markets — List boolean markets with filtering by layer/status
  • get_market — Get detailed market info by public key
  • get_quote — Calculate expected payout for a bet
  • list_race_markets — List multi-outcome race markets
  • get_race_market — Get race market details
  • get_race_quote — Calculate race bet payout
  • build_bet_transaction — Build unsigned bet tx (supports affiliate)
  • build_race_bet_transaction — Build unsigned race bet tx
  • build_claim_winnings_transaction — Claim winnings from resolved market
  • build_claim_refund_transaction — Claim refund from cancelled market
  • build_claim_race_winnings_transaction — Claim race market winnings
  • build_claim_race_refund_transaction — Claim race market refund

Setting it up

@baozi.bet/mcp-server on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Choosing this one

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Baozi MCP's toolset — list_markets, get_market, get_quote and 11 more — is a fair guide to whether it matches your workflow. It is maintained by bolivian-peru; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Baozi MCP.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the baozi mcp mcp server does with a few real requests.

Available tools

ToolWhat it does
list_marketsList boolean markets with filtering by layer/status
get_marketGet detailed market info by public key
get_quoteCalculate expected payout for a bet
list_race_marketsList multi-outcome race markets
get_race_marketGet race market details
get_race_quoteCalculate race bet payout
build_bet_transactionBuild unsigned bet tx (supports affiliate)
build_race_bet_transactionBuild unsigned race bet tx
build_claim_winnings_transactionClaim winnings from resolved market
build_claim_refund_transactionClaim refund from cancelled market
build_claim_race_winnings_transactionClaim race market winnings
build_claim_race_refund_transactionClaim race market refund
build_claim_affiliate_transactionClaim affiliate earnings
build_batch_claim_transactionClaim multiple positions at once

How to install the Baozi MCP MCP server

{
  "mcpServers": {
    "baozi": {
      "command": "npx",
      "args": ["@baozi.bet/mcp-server"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use Baozi MCP to list markets.
  • Use Baozi MCP to get market.
  • Use Baozi MCP to get quote.

Frequently asked questions

It connects Baozi MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (list_markets, get_market, get_quote, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Baozi MCP directly.