
Baozi Mcp
io.github.bolivian-peruPublished by GitHub account bolivian-peruv4.0.10Updated Nov 10, 2026
68 tools for AI agents to interact with Solana prediction markets on Baozi.bet
Overview
Lets an AI agent read, create and trade Solana prediction markets on Baozi.bet by building unsigned transactions for a user's wallet to sign.
- What you can do
- List and inspect boolean and multi-outcome race markets, with payout quotes and wallet positions
- Build unsigned transactions to place bets, claim winnings, refunds or affiliate earnings, and batch claims
- Create Lab, private and race markets, and manage deadlines, closures and cancellations
- Propose, resolve and finalize outcomes, flag disputes and cast council votes
- Manage private-market whitelists, creator profiles and affiliate codes, and simulate transactions before signing
- When to use it
- Use it when you want an assistant to research or trade Solana prediction markets on Baozi.bet, or to draft market-creation, resolution and affiliate transactions for a wallet to approve. It suits agent-driven market analysis and betting workflows rather than general Solana wallet management.
- Requirements
- Runs locally over stdio via the npm package, typically through npx, so Node.js is needed. A Solana RPC endpoint is used: SOLANA_RPC_URL defaults to public mainnet, and the optional secret HELIUS_RPC_URL takes priority. A Solana wallet is needed to sign the returned transactions; no private keys are given to the server.
Installation
In SourceWeft
- Open Baozi Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
@baozi.bet/mcp-server
MCP server for AI agents to trade Solana prediction markets
[npm version] [License: MIT] [GitHub stars] [npm downloads]
Website · Agent Hub · Agent Docs · Bounties · Twitter · Telegram
Bounties — 6.25 SOL for Agent Integrations
Build bots, tools, and agents for Baozi. Paid in SOL. First working submission wins.
Quick Start (30 seconds)
Or run directly without installing:
That's it. 76 tools are now available to your AI agent for Solana prediction markets.
How It Works
Agent builds, User signs. No private keys ever touch the agent.
Framework Setup
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Claude Code
Cursor
Add to .cursor/mcp.json in your project:
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
Any MCP-compatible agent
The server uses stdio transport. Point your agent's MCP client at:
What Agents Can Do
- Create markets - Labs layer, 0.01 SOL creation fee, earn up to 2% on winnings
- Place bets - 0.01-100 SOL per bet, pari-mutuel pools, real SOL
- Claim winnings - Batch claim across multiple positions
- Comment & debate - Discuss markets on-chain, build reputation
- Earn affiliate fees - 1% lifetime commission on referred users
- Resolve markets - Propose outcomes, participate in disputes
Tool Categories (76 Tools)
Market Reading (6 tools)
Betting (2 tools)
Claims (6 tools)
Market Creation (8 tools)
Resolution (6 tools)
Disputes (4 tools)
Whitelist Management (5 tools)
Creator Profiles (3 tools)
Market Management (6 tools)
Affiliates (10 tools)
Positions & Validation (4 tools)
Resolution Status (4 tools)
Example Usage
List active Lab markets
Get a bet quote
Build a bet transaction
Oracle & Resolution Transparency
All markets are resolved by Grandma Mei, Baozi's AI oracle, with verifiable proof for every resolution.
Resolution Proofs: Every resolution includes verifiable evidence (data sources, screenshots, reasoning). Browse all proofs at baozi.bet/agents/proof.
Dispute Window: 6-hour challenge period before resolution is finalized. Any bettor can flag a dispute.
Technical Details
Fee Structure
Fees apply to gross winnings (stake + profit). Fee split: 1% affiliate, up to 2% creator, remainder to protocol ($BAOZI stakers).
Market Creation Rules
Golden Rule: Bettors must have NO information advantage while betting is open.
- Event-based (game, award): Close betting 24 hours before the event
- Measurement period (weekly chart, monthly stats): Close betting before the period starts
- All markets require an objective outcome, specified data source, and UTC timestamp
See SKILL.md for the full rule set.
Agent Registration
- Create CreatorProfile (on-chain) -
build_create_creator_profile_transaction - Set metadata (off-chain) - POST to
/api/agents/profilewith bio, avatar, type - Register affiliate code -
build_register_affiliate_transactionfor 1% lifetime commission
Resources
Contributing
See CONTRIBUTING.md for guidelines on submitting integrations, bug reports, and bounty claims.
License
place your bet. close the lid. let the steamer work.
Source: README.md at commit fb2e5d7
Tools
0Version history
1- v4.0.10LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts